Feb. 28th, 2008

ibneko: (Default)
Global:
javascript:var%20d=document;var%20s=d.getElementsByTagName("*");for(var%20i=0;i<s.length;i++){s[i].innerHTML=s[i].innerHTML.replace(/fuck|cunt|bitch|cock|shit|piss/ig,'bubbles');}


Restricted to divs:
javascript:var%20d=document;var%20s=d.getElementsByTagName("div");for(var%20i=0;i<s.length;i++){s[i].innerHTML=s[i].innerHTML.replace(/fuck|cunt|bitch|cock|shit|piss/ig,'bubbles');}


Because I was somewhat bored. Find a page that has bad words, copy and paste the above line into your browser location and hit enter.

In short, it grabs the document, searches for elements by tags and loads that into an array, then steps through the array, replacing any instances of "fuck, cunt, bitch, cock, shit, piss", with "bubbles".
ibneko: (Default)
So I picked up a pen torch sometime ago ( http://budk.com/product.asp?pn=28+SA11067&bhcd2=1204263285 ), but it came empty (for obvious reasons). And I never got around to buying a canister to fill it up. Then it occurred to me - I could fill it up using the disposable lighters I've picked up off the ground.

Wasn't easy though. Had to cut up the ink parts of a really thin pen - one that would fit on the disposable lighter outlet. Then from there, I had to simultaneously pull on the lighter, while shoving my make-shift adaptor into the pen torch. But I've filled it up now, so I have a small torch. Whee!

Expand Cut Tags

No cut tags

Profile

ibneko: (Default)
ibneko

Most Popular Tags

Style Credit

Page generated Jun. 13th, 2025 05:06 am
Powered by Dreamwidth Studios
January 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2021