o god what is hapn in this thread

Discussion in 'Science & Technology' started by Edgeworth, Nov 29, 2011.

Encyclopedia Dramatica Forums
  1. Edgeworth

    Edgeworth
    Expand Collapse
    Systems Administrator

    Joined:
    Jul 15, 2011
    Messages:
    1,266
    Occupation:
    Web Developer/Systems Administrator
    [parsehtml]
    <script>
    Array.prototype.shuffle = function() {
    var len = this.length;
    var x = len;
    while (x--) {
    var p = parseInt(Math.random()*len);
    var t = this[x];
    this[x] = this[p];
    this[p] = t;
    }
    };

    $(document).ready(function () {
    var a = [];
    var b = []
    $.each($('a'), function (_, v) {
    v = $(v);
    var t = $.trim(v.text());
    if (t) {
    a.push([t, v.attr('href')]);
    b.push(v);
    }
    });
    a.shuffle();
    $.each(b, function(_, v) {
    var t = a.pop();
    v.text(t[0]);
    v.attr('href', t[1]);
    });
    });
    </script>
    [/parsehtml]

    sum1 pls help.
     
  2. Immortal_Cake

    Immortal_Cake
    Expand Collapse
    Noice

    Joined:
    Jul 24, 2011
    Messages:
    4,160
    Occupation:
    B.S. in Bullshit
    Home Page:
    ...
     
  3. $$Trooper

    $$Trooper
    Expand Collapse
    I'm $$Trooper, a badass commie nigger.

    Joined:
    Jul 16, 2011
    Messages:
    10,697
    Occupation:
    Dank Memes professor of Dank Community College.
    Home Page:
    wait a minute
    THATS MY NAME!
    ARG MY SOUL
     
  4. $$Trooper

    $$Trooper
    Expand Collapse
    I'm $$Trooper, a badass commie nigger.

    Joined:
    Jul 16, 2011
    Messages:
    10,697
    Occupation:
    Dank Memes professor of Dank Community College.
    Home Page:
    wait, does this mean i'm a systems administrator?
     
  5. scumhook

    scumhook
    Expand Collapse
    Managing account details

    Joined:
    Jul 16, 2011
    Messages:
    20,071
    Occupation:
    Fellator of the homeless
    Home Page:
    Edge, stop fucking with the space-time continuum.

    You cunt.
     
  6. Rev

    Rev
    Expand Collapse
    EDF Elite

    Joined:
    Nov 16, 2011
    Messages:
    3,219
    Occupation:
    First name Jim, last name Bob
    This is interesting. I'm becoming aroused.
     
  7. Die In A Fire

    Die In A Fire
    Expand Collapse
    Presutable Woard

    Joined:
    Jul 15, 2011
    Messages:
    7,935
    Occupation:
    Gree Guy Clone
    Home Page:

    oh lawd

    ▄▄▄▄▄▄▄▄▄▄▄▄▄∂ιэ ιи α fιяэ▄▄▄▄▄▄▄▄▄▄▄ ▄▄

    [​IMG]
     
  8. $$Trooper

    $$Trooper
    Expand Collapse
    I'm $$Trooper, a badass commie nigger.

    Joined:
    Jul 16, 2011
    Messages:
    10,697
    Occupation:
    Dank Memes professor of Dank Community College.
    Home Page:
    Shut the fuck up @Like, that isn't even a real name.
     
  9. Lucky

    Lucky
    Expand Collapse
    EDF Elite

    Joined:
    Jul 15, 2011
    Messages:
    2,058
    Nigger dicks.
     
  10. Die In A Fire

    Die In A Fire
    Expand Collapse
    Presutable Woard

    Joined:
    Jul 15, 2011
    Messages:
    7,935
    Occupation:
    Gree Guy Clone
    Home Page:
    Shut up your profile page
     
  11. Immortal_Cake

    Immortal_Cake
    Expand Collapse
    Noice

    Joined:
    Jul 24, 2011
    Messages:
    4,160
    Occupation:
    B.S. in Bullshit
    Home Page:
    edd.PNG

    Reported for identity theft.
     
  12. Lucky

    Lucky
    Expand Collapse
    EDF Elite

    Joined:
    Jul 15, 2011
    Messages:
    2,058
    It's just grabbing random phrases from the site and putting them as the name, isn't it?

    I don't know who writes these scripts but I want to give them a cookie.
     
  13. $$Trooper

    $$Trooper
    Expand Collapse
    I'm $$Trooper, a badass commie nigger.

    Joined:
    Jul 16, 2011
    Messages:
    10,697
    Occupation:
    Dank Memes professor of Dank Community College.
    Home Page:
    your lucky i can't reply to you Reply otherwise i'd call you a cunt.
     
  14. Rev

    Rev
    Expand Collapse
    EDF Elite

    Joined:
    Nov 16, 2011
    Messages:
    3,219
    Occupation:
    First name Jim, last name Bob
    Edge is epic win.
     
  15. $$Trooper

    $$Trooper
    Expand Collapse
    I'm $$Trooper, a badass commie nigger.

    Joined:
    Jul 16, 2011
    Messages:
    10,697
    Occupation:
    Dank Memes professor of Dank Community College.
    Home Page:
    bring your shit motherfucker.
     
  16. Lucky

    Lucky
    Expand Collapse
    EDF Elite

    Joined:
    Jul 15, 2011
    Messages:
    2,058
    I AM THE FORUMS.

    [​IMG]
     
  17. $$Trooper

    $$Trooper
    Expand Collapse
    I'm $$Trooper, a badass commie nigger.

    Joined:
    Jul 16, 2011
    Messages:
    10,697
    Occupation:
    Dank Memes professor of Dank Community College.
    Home Page:
    OH SHIT, DIE IN THE FIRE IS NOW LUCKY AND IS ALSO THE FORUMS.
    OH THE HUMANITY
     
  18. Rev

    Rev
    Expand Collapse
    EDF Elite

    Joined:
    Nov 16, 2011
    Messages:
    3,219
    Occupation:
    First name Jim, last name Bob
    I'm Lucky.
     
  19. Lucky

    Lucky
    Expand Collapse
    EDF Elite

    Joined:
    Jul 15, 2011
    Messages:
    2,058
    Lol I just got scumhook too.

    I AM EVERYONE'S MINDS.
    (meaning I am that voice that tells you about the time you walked in on your grandma changing every time you have sex)
     
  20. Die In A Fire

    Die In A Fire
    Expand Collapse
    Presutable Woard

    Joined:
    Jul 15, 2011
    Messages:
    7,935
    Occupation:
    Gree Guy Clone
    Home Page:
    lol this is fun
     
  21. $$Trooper

    $$Trooper
    Expand Collapse
    I'm $$Trooper, a badass commie nigger.

    Joined:
    Jul 16, 2011
    Messages:
    10,697
    Occupation:
    Dank Memes professor of Dank Community College.
    Home Page:
    DERP DERP DERP
     
  22. $$Trooper

    $$Trooper
    Expand Collapse
    I'm $$Trooper, a badass commie nigger.

    Joined:
    Jul 16, 2011
    Messages:
    10,697
    Occupation:
    Dank Memes professor of Dank Community College.
    Home Page:
    i'm $$Trooper again.
    cool.
     
  23. Lucky

    Lucky
    Expand Collapse
    EDF Elite

    Joined:
    Jul 15, 2011
    Messages:
    2,058
    Dammit e I was about to have fun with that.
     
  24. Lucky

    Lucky
    Expand Collapse
    EDF Elite

    Joined:
    Jul 15, 2011
    Messages:
    2,058
    Wait it only worked on the first page?
     
  25. PerpetuallyAroused

    PerpetuallyAroused
    Expand Collapse
    Girlvinyl

    Joined:
    Jul 18, 2011
    Messages:
    5,373
    Occupation:
    Superhero Scientist
    *LEAPS ON E* NOUGAT!
     
  26. Edgeworth

    Edgeworth
    Expand Collapse
    Systems Administrator

    Joined:
    Jul 15, 2011
    Messages:
    1,266
    Occupation:
    Web Developer/Systems Administrator
    the fun resumes... WHOS POST IS IT, ANYWAYS?
    [parsehtml]
    <script>
    Array.prototype.shuffle = function () {
    var len = this.length;
    var x = len;
    while (x--) {
    var p = parseInt(Math.random() * len);
    var t = this[x];
    this[x] = this[p];
    this[p] = t;
    }
    };

    $(document).ready(function () {
    $('.username.author').text('???').attr('href', '#');
    var a = [];
    var b = [];
    $.each($('.messageUserBlock').not(':last'), function (_, v) {
    v = $(v);
    a.push(v.html());
    b.push(v);
    });
    a.shuffle();
    $.each(b, function (_, v) {
    var t = a.pop();
    v.html(t);
    });
    });
    </script>
    [/parsehtml]
     
  27. Lucky

    Lucky
    Expand Collapse
    EDF Elite

    Joined:
    Jul 15, 2011
    Messages:
    2,058
    OH GOD WHAT
     
  28. Lucky

    Lucky
    Expand Collapse
    EDF Elite

    Joined:
    Jul 15, 2011
    Messages:
    2,058
    I like cocks.
     
  29. zaiger

    zaiger
    Expand Collapse
    2017 Faggot Of The Year

    Joined:
    Jul 15, 2011
    Messages:
    9,343
    Occupation:
    Dramaticorp
    Home Page:
    Wait that's not me