1. Xuphor

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

    Joined:
    Jul 14, 2007
    Messages:
    1,681
    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

    sergster1 GBAtemp Fan
    Member

    Joined:
    Sep 12, 2009
    Messages:
    472
    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 Xuphor I have lied to all of you. I am deeply sorry.
    Banned

    Joined:
    Jul 14, 2007
    Messages:
    1,681
    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

    Recorderdude Musician, Animator, Buffoon.
    Member

    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

    Linkiboy GBAtemp Testing Area
    Member

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

    Rydian Resident Furvert™
    Member

    Joined:
    Feb 4, 2010
    Messages:
    27,880
    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

    Sausage Head Lord Sausage LXIX
    Member

    Joined:
    Oct 28, 2010
    Messages:
    1,675
    Country:
    Netherlands
    OLD AND BORING
     
  8. ProtoKun7

    ProtoKun7 GBAtemp Time Lord Regenerations: 4
    Former Staff

    Joined:
    Jan 3, 2009
    Messages:
    7,527
    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.

     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - whatever, webpage,