April 15th, 2008
Posted in Real-Life | No Comments »
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:
- Centered
- Tiled
- Centered Tiled
- Centered Maxpect
- Maxpect Tiled
- Scaled
- Centered Autofit
- Scale & Crop
Posted in Programming | No Comments »
August 4th, 2007
…wait, what?
Posted in Anime | No Comments »
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.
Tags: 4chan, ads, hide threads, sage
Posted in 4chan, Programming | 4 Comments »
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 »
Posted in Python, X-Chat | 2 Comments »