Edit whatever text on any webpage you want

Discussion in 'The Edge of the Forum' started by Xuphor, May 14, 2011.

  1. Xuphor
    OP

    Xuphor I have lied to all of you. I am deeply sorry.

    Banned
    1,681
    957
    Jul 14, 2007
    United States
    USA
    Very simple trick.
    This lets you edit any text on any webpage at all on your computer only (so it's harmless).
    This can be nice for pranking friends at your house, changing online report card grades, etc.

    Just copy and paste this into your URL bar on the webpage you want to edit:
    Code:
    java script:document.body.contentEditable='true'; document.designMode='on'; void 0
    and have fun.

    EDIT: GBATemp keeps auto adding a space between java and script, and it's not letting me remove it. There is NOT supposed to be a space there, so delete that space before pressing enter.
     
  2. sergster1

    sergster1 GBAtemp Fan

    Member
    472
    34
    Sep 12, 2009
    United States
    New York
    Make pics swirl around
    CODEjava script:R=0; x1=.1;
    y1=.05; x2=.25;
    y2=.24; x3=1.6;
    y3=.24; x4=300;
    y4=200; x5=300;
    y5=200;
    DI=document.getElementsByTagName("img");
    DIL=DI.length; function A(){for(i=0; i-DIL;
    i++){DIS=DI[ i ].style;
    DIS.position='absolute';
    DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px";
    DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5);
    void(0);
    Earthquake:
    CODEjava script:function flood(n) {if (self.moveBy) {for (i = 200; i > 0;i--){for (j = n; j > 0; j--) {self.moveBy(1,i); self.moveBy(i,0);self.moveBy(0,-i); self.moveBy(-i,0); } } }}flood(6);
    { var inp = "D-X !msagro na dah tsuj resworb rouY"; var outp = ""; for (i = 0; i <= inp.length; i++) {outp =inp.charAt (i) + outp ; } alert(outp) ;}
    ; reverse
    Calculator:
    CODEjava script: alert();
     
  3. Xuphor
    OP

    Xuphor I have lied to all of you. I am deeply sorry.

    Banned
    1,681
    957
    Jul 14, 2007
    United States
    USA
    1 - Why does GBATemp add that unremovable space in javascript? It's pretty annoying
    2 - That "Earthquake" Says your browser had an orgasm......
     
  4. Recorderdude

    Recorderdude Musician, Animator, Buffoon.

    Member
    1,392
    30
    Jun 19, 2010
    United States
    OH THE POSSIBILITIES.

    Remember when Kotaku showed the 3DS case with an M3 real in it?

    [​IMG]
     
  5. Linkiboy

    Linkiboy GBAtemp Testing Area

    Member
    4,888
    37
    May 14, 2006
    United States
    It was a former exploit probably. If that space wasn't there, it could be read by the browser as a script and execute from the webpage by itself
     
  6. Rydian

    Rydian Resident Furvertâ„¢

    Member
    27,883
    8,108
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    Yeah, user-inserted javascript is a hack waiting to happen, you'll find many sites don't even let you post any out of fear.
     
  7. Sausage Head

    Sausage Head Lord Sausage LXIX

    Member
    1,677
    19
    Oct 28, 2010
    Netherlands
    alanjohn check ur pm
    OLD AND BORING
     
  8. ProtoKun7

    ProtoKun7 GBAtemp Time Lord Regenerations: 3

    Global Moderator
    7,514
    1,555
    Jan 3, 2009
    Gallifrey
    I'm sure I saw a thread months ago mentioning that javascript already.
    Secondly, you wouldn't believe how old this is.

    I do that all the time.

    [​IMG
		<input type=