I have Herped the Derps.

You may have noticed the HERP DERP checkbox above my blog comments, here. It may make things more tolerable. If you are so moved, you can also herp all the derps on your own WordPress blog.

You're welcome.

Previously.

Tags: , , , ,

19 Responses:

  1. HS says:

    I noticed a few days ago that clicking on some comment text would toggle between the text and 'herp derp'. I assumed it was some kind of in-joke. I guess you were just testing your plugin.

    • jwz says:

      Yeah, I wrote it a few days ago, but it takes a couple days for a new plugin to get approved in the WordPress SVN repository. When it's Derpy, clicking on a comment toggles back and forth.

      A side effect of Derpiness is that links in de-Derped comments become unclickable, and I'm not entirely sure how to fix that, but I also don't care that much.

      • David M.A. says:

        Hmm. If I uncheck the HERP DERP box after checking it, clicking on comments still DERPs them.

      • Louis says:

        Apparently this is due to "p.onclick = herpclerk;". It catches clicks of the child "a" element and returns false, preventing the browser to open the link.

        in herpclerk(e), you could do a check whether e.target is a P-element or an A-element (or any other), and only do the conversion back to herp derp if it's a P-element.

        • jwz says:

          No, that won't work. Theories without working code are ignored.

          • Louis says:

            Works, tested on Chrome and Opera:

            function herpclerk(e) {
            var p = e.target;
            if (p.tagName == 'P') {
            derp (p.parentNode, p.herp != p.innerHTML);
            return false;
            }
            return true;
            }

  2. badc0ffee says:

    Looks like all-caps words turn in to HERP or DERP, including I. That works for "LALA I CAN'T HEAR YOU" but not "I have Herped the Derps".

  3. Malachi Kenney says:

    Herp derp derp herp. Derp herp herp. Derp, derp herp derp. Derp herp: HERP.

  4. I am pleased to see that click-to-derp works fine in Firefox for Android.

  5. Pavel Lishin says:

    Now to make an extension that does this for Youtube comments...

  6. Mark says:

    Pray I do not herp them further.

    • k3ninho says:

      You don't fear derp, you welcome it. Your herp derp must be more severe.