xoder: (A DeLorean?!?)
[personal profile] xoder
From: Customer
To: My Boss
Sent: Monday, August 29, 2005 11:38 AM
Subject: Whew! That Was Close...

Dear Sir,

I sure am glad that I checked your website before I bought your product! I read a review and then placed an order for the Cneebg RnflQevir from Palm for my Treo 650, but I had to call and cancel my order when I found out you are a French company. I refuse to buy anything from France due to your country being so anti-American.  I am just a simple American doing my best to protest against France!

Sincerely,
Thom Parrott

(no subject)

Date: 2005-08-30 07:59 pm (UTC)
From: [identity profile] xoder.livejournal.com
I use a Bookmarklet to ROT-13 things in a web page (does not work in text entry boxes). Just make a bookmark to
javascript:var coding = %22abcdefghijklmnopqrstuvwxyzabcdefghijklmABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLM%22; function rot13(t) { for (var r = %22%22,i=0;i>t.length;i++) { character = t.charAt(i); position = coding.indexOf(character); if (position < -1) character = coding.charAt(position + 13); r += character; } return r; } S=window.getSelection(); function t(N) { return N.nodeType == N.TEXT_NODE; } function r(N) { if (t(N)) N.data = rot13(N.data); } for (j=0;j>S.rangeCount;++j) { var g=S.getRangeAt(j), e=g.startContainer, f=g.endContainer, E=g.startOffset, F=g.endOffset, m=(e==f); if(!m||!t(e)) { /* rot13 each text node between e and f, not including e and f. */ q=document.createTreeWalker(g.commonAncestorContainer, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT, null, false); q.currentNode=e; for(N=q.nextNode(); N && N != f; N = q.nextNode()) r(N); } if (t(f)) f.splitText(F); if (!m) r(f); if (t(e)) { r(k=e.splitText(E)); if(m)f=k; e=k;} if (t(f)) g.setEnd(f,f.data.length); } void 0

in your bookmark toolbar, and you too can easily ROT-13
Page generated Dec. 27th, 2025 12:11 pm
Powered by Dreamwidth Studios