Jump to content

Rot13 Bookmarklet


as77

Recommended Posts

Posted

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.

Posted

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)?

Posted (edited)
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
Posted
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 :(

Posted (edited)

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
Posted

BTW I do have a popup blocker (the Google toolbar) but it doesn't block the ROT13 popup window of the bookmarklet, so that is not a problem.

Posted

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).

Posted

Just what I like simple and work very well. This also works in Apple Safari, just drag and drop to the bookmark bar before it will work. I like it and would like to mirror it on own site. (full credits to as77 of course)

Posted

Yes, please mirror it and enter the link here because my site isn't going to be there forever. The best solution would be to insert the bookmarklet here in the forum as a link but unfortunately the forum engine mangles the code.

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...