Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

[Free Nodelet Hack] Anonymizer

by ccn (Vicar)
on May 04, 2009 at 15:53 UTC ( #761756=monkdiscuss: print w/replies, xml ) Need Help??

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="">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'); = 'anonifr'; var ifr = document.createElement('IFRAME'); = 'anonifr'; ifr.src = frm.action+'node_id=109&op=logout'; document.body.appendChild(ifr); var elem=document.createElement('INPUT'); elem.type ='hidden'; ='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 [`id`|Anony] in your Free Nodelet.

    - tye        

Re: [Free Nodelet Hack] Anonymizer
by Gavin (Chancellor) on May 04, 2009 at 17:44 UTC
    Why on earth make it easier to cloak ones identity?
      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?


        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.

        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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://761756]
Approved by sweetblood
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-03-23 02:27 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (279 votes). Check out past polls.