Stoppt die 
Vorratsdatenspeicherung! Jetzt klicken & handeln!

I tried out Mozillas ”Ubiquity” today, and I like it. It’s still very very rough around the edges, but the general directing in which they are going seems to be a good one.

I played around with it a bit and eventually wrote a script to let me look up words in a German<>English dictionary. It’s pretty useful when you’re writing an email, blog post or comment and can’t remember the translation of a specific word.

Check out the source code or hit the jump for an ubiquity install link.

If you like my stuff, have a look at Jonas’ ubiquity commands too, he helped me understand jQuery enough to write this one!

You might have noticed the awesome box over there in the sidebar on the right.

Now you, too, can have Othar Tryggvassens status right on your web page, with this little code snippet below. Copypaste in, place image file into fitting directory, apply CSS however preferred, and put the actual script in an external file and/or at the very bottom of your page for better loading times.

(Related news: Girl Genius is still the most awesome comic ever, since it has adventure, romance, MAD SCIENCE and zeppelins. Check it out, now.)

<!-- Othar status -->
<div id="othar_container"  class="sidebar_box"><h4 id="othar">Othar Tryggvassen Status</h4>
<a href="http://twitter.com/Othar"><img alt="Othar" src="othar.jpg" class="othar"/></a>
</div>

<script type="text/javascript">
    function otharstatus(feed) {
        var span = document.createElement('span')
        span.appendChild(document.createTextNode(feed.value.items[0].content))
        document.getElementById('othar_container').appendChild(span)
    }

    var d_head = document.getElementsByTagName("head")[0];
    var newScript = document.createElement('script');
    newScript.type = 'text/javascript';
    newScript.src = 'http://pipes.yahoo.com/pipes/pipe.run?_id=sHMyTsRF3BGBQrz_dLq02Q&_render=json&_callback=otharstatus';
    d_head.appendChild(newScript);
</script>

Image file used here: [Get it]

I’ve had time to clean up my folders a little, and I guess it’s time to publish some code I have not previously mentioned on here.

First up, we have rot13ajax.pl, which is the worst piece of AJAX abuse I could come up with. A little quote from the script:

Dynamically loading javascript which dynamically loads rot13’d javascript, which is decoded and then dynamically loads rot13’d html, decodes it and inserts it into the document FTW.

So there. You can see it in action and view the source here: Rot13AJAX.

Second, the unicodeificator, basically a web version of debians “uniencode” script. Ιt аⅼⅼоwѕ уօυ tо ‟υɳⅰсօԁеⅰfу‟ tеⅹt, ⅼіkе tҺіѕ ѕеɳtеɳсе. Source and usable script for downloading.

Third, an a bit hackish backup script, for backing up web sites. It’s here for sake of completeness, altough I would not really recommend using it much.

Number four, a script for getting a list of all the IP adresses of the proxies on samair.ru, which is useful for creating lists for mass-banning.

Finally, there is the Super Amazing Wikifier, which is a script to convert saved html pages, specifically those of from site called wikichan, to wiki syntax. It’s useful if your wiki site just accidentally got deleted and you are trying to recreate it from google cache and web.archive.org ;). The Super Amazing Wikifiers source is here, note that you might have to install some perl modules from CPAN to make it work.

For when you want to view an image filtered by the Mature Content Filter on deviantART, but don’t feel like registering just to do that.

Just drag the bookmarklet to your bookmarks, and then when you’re on a page with a blocked image (The full image, not the thumbnail — a page like this for example.), click on it.

DA filter workaround