Edit whatever text on any webpage you want

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

May 14, 2011
  1. Xuphor
    OP

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

    Joined:
    Jul 14, 2007
    Messages:
    1,681
    Location:
    USA
    Country:
    United States
    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

    Member sergster1 GBAtemp Fan

    Joined:
    Sep 12, 2009
    Messages:
    472
    Location:
    New York
    Country:
    United States
    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

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

    Joined:
    Jul 14, 2007
    Messages:
    1,681
    Location:
    USA
    Country:
    United States
    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

    Member Recorderdude Musician, Animator, Buffoon.

    Joined:
    Jun 19, 2010
    Messages:
    1,392
    Country:
    United States
    OH THE POSSIBILITIES.

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

    [​IMG]
     
  5. Linkiboy

    Member Linkiboy GBAtemp Testing Area

    Joined:
    May 14, 2006
    Messages:
    4,888
    Country:
    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

    Member Rydian Resident Furvertâ„¢

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    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

    Banned Sausage Head Lord Sausage LXIX

    Joined:
    Oct 28, 2010
    Messages:
    1,677
    Location:
    alanjohn check ur pm
    Country:
    Netherlands
    OLD AND BORING
     
  8. ProtoKun7

    Global Moderator ProtoKun7 GBAtemp Time Lord Regenerations: 3

    Joined:
    Jan 3, 2009
    Messages:
    7,481
    Location:
    Gallifrey
    Country:
    United Kingdom
    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=
     

Share This Page