How to make the EoF not upside down

Discussion in 'The Edge of the Forum' started by Dionicio3, Apr 1, 2017.

  1. Dionicio3
    OP

    Dionicio3 Some Cool Skiddo

    Member
    3,145
    4,716
    Feb 26, 2017
    United States
    Hollister, CA
    Step one: Open you browser's js console
    Step two: Paste and run the following:
    Code:
    var lelelel = document.getElementsByTagName('body');
    for (var i = 0, l = lelelel.length; i < l; i++) {
      lelelel[i].style = 'transform: rotate(0deg) !important; -webkit-transform: rotate(0deg) !important; -moz-transform: rotate(0deg) !important; -o-transform: rotate(0deg) !important; -ms-transform: rotate(0deg) !important;'
    }
    Step three: Done!
     


  2. Piluvr

    Piluvr Resident Masturbator

    Member
    644
    353
    Jul 27, 2015
    United States
    Behind you
    WHAT THE FUCK
     
  3. Dionicio3
    OP

    Dionicio3 Some Cool Skiddo

    Member
    3,145
    4,716
    Feb 26, 2017
    United States
    Hollister, CA
    ?
     
  4. Piluvr

    Piluvr Resident Masturbator

    Member
    644
    353
    Jul 27, 2015
    United States
    Behind you
    Overreaction to the browser flip. Typed it upsidedown.
     
  5. Dionicio3
    OP

    Dionicio3 Some Cool Skiddo

    Member
    3,145
    4,716
    Feb 26, 2017
    United States
    Hollister, CA
    oh ok
     
  6. SonicCloud

    SonicCloud <3.

    Member
    863
    785
    Mar 29, 2016
    Mexico
    Somewhere
    you must be fun at parties huh?
     
  7. Dionicio3
    OP

    Dionicio3 Some Cool Skiddo

    Member
    3,145
    4,716
    Feb 26, 2017
    United States
    Hollister, CA
    I'm never invited to parties
     
    SonicCloud likes this.
  8. SonicCloud

    SonicCloud <3.

    Member
    863
    785
    Mar 29, 2016
    Mexico
    Somewhere
    Rip :'(
     
  9. Dionicio3
    OP

    Dionicio3 Some Cool Skiddo

    Member
    3,145
    4,716
    Feb 26, 2017
    United States
    Hollister, CA
    Eh, it's fine
     
  10. Ricken

    Ricken So long, and goodnite / So long, not goodnite

    Member
    2,221
    2,413
    Jan 19, 2016
    United States
    Shibuya, The small one from Vegas
    Bless
     
    Piluvr likes this.
  11. Dionicio3
    OP

    Dionicio3 Some Cool Skiddo

    Member
    3,145
    4,716
    Feb 26, 2017
    United States
    Hollister, CA
    Welcome
     
  12. keven3477

    keven3477 Fresh Prince of Lemonade

    Member
    880
    1,362
    Jul 12, 2012
    United States
    Somwhere you can never find.
    Wait what are you talking about? What do you mean by Eof not upside down anymore. It has to be upside down in order for it to not be upside-down afterwards.
     
  13. Dionicio3
    OP

    Dionicio3 Some Cool Skiddo

    Member
    3,145
    4,716
    Feb 26, 2017
    United States
    Hollister, CA
    ?
     
  14. Shadowfied

    Shadowfied GBAtemp Advanced Maniac

    Member
    1,696
    1,581
    Dec 6, 2014
    Why the fuck would you do a for loop when there's only one body element anyway?
     
  15. Dionicio3
    OP

    Dionicio3 Some Cool Skiddo

    Member
    3,145
    4,716
    Feb 26, 2017
    United States
    Hollister, CA
    The is actually multiple
     
  16. Minnow

    Minnow GBAtemp Fan

    Member
    462
    709
    Oct 5, 2015
    Canada
    How can there be multiple ``<body>`` tags? I've never seen a site with more than 1.

    My JS is rusty, but I believe the document.getelementswhatever function call just returns an array of the tag you specified. Accessing it at index 0 should suffice.
     
  17. Dionicio3
    OP

    Dionicio3 Some Cool Skiddo

    Member
    3,145
    4,716
    Feb 26, 2017
    United States
    Hollister, CA
    That's what I originally tried, didn't work
     
  18. Minnow

    Minnow GBAtemp Fan

    Member
    462
    709
    Oct 5, 2015
    Canada
    must've been something else.


    Code:
    var lelelel = document.getElementsByTagName('body');
    lelelel[0].style = 'transform: rotate(0deg) !important; -webkit-transform: rotate(0deg) !important; -moz-transform: rotate(0deg) !important; -o-transform: rotate(0deg) !important; -ms-transform: rotate(0deg) !important;'
    
    you sure?
     
  19. Dionicio3
    OP

    Dionicio3 Some Cool Skiddo

    Member
    3,145
    4,716
    Feb 26, 2017
    United States
    Hollister, CA
    Huh, wonder why I did not work the first time I did it. Oh well, even though my code had unnecessary parts to it, it worked, and that's all that mattered.
     
    Minnow likes this.
  20. Shadowfied

    Shadowfied GBAtemp Advanced Maniac

    Member
    1,696
    1,581
    Dec 6, 2014
    He's actually right, even though of course, if it's the initial body tag that's flipped, that will be enough to unflip. There are multiple bodies here cause the text box, for example, runs in it's own iframe.