This just in…

April 15th, 2008

Piracy helps stop global warming

Scripting wallpaper changes, Part 2: KDE

September 20th, 2007

Looking at the Windows wallpaper changer way down the archives, scripting a wallpaper change in KDE is quite simple in comparison:

dcop kdesktop KBackgroundIface setWallpaper /path/to/file 7

The integer after the file path is the tiling mode, and mapped one-to-one to the choices in the KDE wallpaper selection dialog, meaning that the following options are available:

  1. Centered
  2. Tiled
  3. Centered Tiled
  4. Centered Maxpect
  5. Maxpect Tiled
  6. Scaled
  7. Centered Autofit
  8. Scale & Crop

Oh God Louise is hot!

August 4th, 2007

…wait, what?

Louise Louise

Opera UserJS: 4chan ‘enhancements’

April 20th, 2007

My feeble attempts to get to know the more in-depth aspects of JavaScript.

It adds some more advanced functionality like buttons to delete/report posts without having to go to the bottom of the page. With the current version it is also possible to `hide’ threads, a feature from the 4chan extension for Firefox that is sorely missed by Opera users.

Download: 4chan.js, 02/06/09

Has to be placed into your Opera UserJS directory, which can be set up under Preferences > Advanced > Content > JavaScript Options.

Full list of features

  • Kills any iframes (you know who you are)
  • Also kills any <embed> tags to prevent, for example, background sound caused by Flash objects.
  • `Fixes’ quoting, that is, the comment box now properly advances to a new line after clicking on a post id. Also note that you can CTRL-click post ids to prevent the window from jumping up to the comment box.
  • Adds buttons to delete, report and hide posts/threads.
  • Also adds noko and sage boxes next to the e-Mail text control.

Notes on compatibility with fychan.js

The buttons to delete, report and hide posts do not work with fychan. Might or might not work on a fix for this in the future.

X-Chat plugin: AniDB Search

March 23rd, 2007

More useless plugins for X-Chat: AniDBSearch, triggered by channel text starting with .anidb, looks up the search string on AniDB and prints the corresponding AniDB entry url, or the search url if multiple results matching the search string were found. Nothing too fancy. Can also be triggered by typing /anidb.

PS: No AniDB API calls. Just HTTP fetch and some regexps.

Current: AniDBSearch 2.2

Read the rest of this entry »