Put the code below into your Free Nodelet and you get an [anonymous post] button near the [create] button. Now you don't have to logout to make an anonymous post.

Please do not abuse this feature...

<a href="http://www.perlmonks.org/index.pl?node_id=492700">Free Nodele +t</a> <script type="text/javascript"> <!-- function anonpost (frm) { var act = frm.action; frm.action = (act.indexOf('.org') > -1) ? act.replace('.org', '.com') : act.replace('.com', '.org'); frm.target = 'anonifr'; var ifr = document.createElement('IFRAME'); ifr.name = 'anonifr'; ifr.src = frm.action+'node_id=109&op=logout'; document.body.appendChild(ifr); var elem=document.createElement('INPUT'); elem.type ='hidden'; elem.name ='op'; elem.value ='create'; frm.appendChild(elem); setTimeout('location.href = "'+act+'node_id=`parent_id`"', 1500); frm.submit(); } function ins_anon_btn () { var submits = document.getElementsByName('op'); for (var i = 0; i < submits.length; i++) { if (submits[i].type != 'submit' || submits[i].value != 'create') +continue; var elem=document.createElement('BUTTON'); elem.innerHTML ='anonymous post'; submits[i].parentNode.appendChild(elem); elem.onclick=new Function("anonpost(this.form);return false"); } } setTimeout('ins_anon_btn()',500); // --> </script>

Replies are listed 'Best First'.
Re: [Free Nodelet Hack] Anonymizer (also)
by tye (Sage) on May 04, 2009 at 16:13 UTC

    Go to the nodelet settings and turn on the Domain Nodelet or put [http://perlmonks.net/?node_id=`id`|Anony] in your Free Nodelet.

    - tye        

Re: [Free Nodelet Hack] Anonymizer
by Gavin (Bishop) on May 04, 2009 at 17:44 UTC
    Why on earth make it easier to cloak ones identity?
      Indeed.
      I can't think of any valid reason for somebody (with an existing user account) to post anonymously.
      As far as I can figure out, it is usually done to either:
      • cause mischief,
      • troll, or
      • dis-associate oneself with a particular comment or viewpoint.

      And I don't see how any of the above could be considered valid reasons, or encouraged/condoned.

      Perhaps I'm missing something?

      Cheers,
      Darren

        There is also: post something negative/semi-confidential about $work without implicating the work-place or revealing yourself; or ask something you really are supposed to know already without making yourself look like an idiot where your manager/rival can see it.

        I like being able to say work is a drag right now because XYZ without actually trashing my work-place or letting hackers know where they can find an exploit or something I describe; I recently described my last work-place as having a cookie exploit which could delete the production DB; if I'd done that under my real name, anyone could read my resume and destroy the site. So "anonymous" posting lets me both vent and be responsible. This is 90% of why I keep myself anonymous which I do behind a username because I like my investment here. I just like it with a side of privacy. :)

        That said, I also think catering to switching anonymous on and off is a mistake. I think it's nice that it's possible but it shouldn't be easy.

        A reply falls below the community's threshold of quality. You may see it by logging in.
        Sometimes the cost of associating oneself with a certain viewpoint is loss of employment. I could entirely understand someone distancing themselves from airing an unpopular viewpoint. If done responsibly, I see no problem with it. I still don't see that as so common a need that logging out and back in is a major pain from it. However, I refuse to blame a well-crafted tool for misuse of it by a person. Blame the person who misuses it, and not the maker of the tool.

        Or maybe you just don't believe in pseudonymity when anonymity will suffice.

        I find it interesting the three motivations you came up with seem to fall from the assumption of malice or jocular mendicity. Do you sell your straw men at a wholesale discount, or do I just pick them up as I need them?

Re: [Free Nodelet Hack] Anonymizer
by ysth (Canon) on May 05, 2009 at 09:14 UTC
      No. There is forced logout from alternate domain in the javascript code. See src of the iframe element created. Although it doesn't work if .net is your primary domain