Jump to content

Rot13 Bookmarklet


as77

Recommended Posts

I wrote a bookmarklet that decodes ROT13-encoded text. Select the text in the browser and click on the bookmarklet, a window pops up showing the decoded text. Text in brackets will not be decoded.

 

See this page for more info and the bookmarklet itself.

 

If you find it useful, send your registration fee to... nah, I'm just kidding.

 

Ah, it works in Internet Explorer. Didn't try it with other browsers but chances are it doesn't work with any other browser.

Link to comment
I wrote a bookmarklet that decodes ROT13-encoded text. Select the text in the browser and click on the bookmarklet, a window pops up showing the decoded text. Text in brackets will not be decoded.

 

See this page for more info and the bookmarklet itself.

 

If you find it useful, send your registration fee to... nah, I'm just kidding.

 

Ah, it works in Internet Explorer. Didn't try it with other browsers but chances are it doesn't work with any other browser.

desn't work in Mozilla and I don't have popup blockers

 

those that do will keep it from working also.

 

here is one that has been around awile and works in all browsers -

 

http://www.rot13.com/

Edited by CompuCash
Link to comment
One thing that Prime Suspect brought up about the ROT13 bookmarklet is whether it respects the bracketed text (and doesn't *encode* it)...haven't tested your bookmarklet, but if it doesn't, do you think it'd be possible to add it (so I don't have to)?

Well, read my opening post again :(

Link to comment

OK, I have a working version for Firefox now. I'm going to add it to the page tonight. For those who are impatient, just replace

document.selection.createRange().text

by

window.getSelection().toString()

and you get the Firefox version.

Edited by as77
Link to comment

I'm a dink. Thanks for pointing out the bracketed text feature. I tried it in IE...works great. Most pop-up blockers recognize when you specifically call for a new window due to a click and when the page contains code that requests a new window (mileage may vary depending on which blocker obviously).

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...