<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=13470009&amp;blogName=This+is+no+blog.&amp;publishMode=PUBLISH_MODE_BLOGSPOT&amp;navbarType=SILVER&amp;layoutType=CLASSIC&amp;searchRoot=http%3A%2F%2Farvixx.blogspot.com%2Fsearch&amp;blogLocale=en_GB&amp;homepageUrl=http%3A%2F%2Farvixx.blogspot.com%2F" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" allowtransparency="true" title="Blogger Navigation and Search"></iframe> <div></div>

Greasemonkey scripts for Reddit

Monday, December 18, 2006
Reddit is a social bookmarking site, kind of like digg but without the retarded comments. I love the minimalistic design too. But there are some annoyances that I've tried to fix with these scripts.

Quickreply
The purpose of this script is kind of simple, provide a quick, ajaxified way of commenting. With this script you wont have to reload the page for every single comment you make. Great for when you are replying to many comments at once. The script fetches the new comment and tries to place it correctly in the comment tree, but I suspect this doesn't work correctly since I didn't care about ordering when I wrote this script.


Mark unread comments
This script marks all comments that are unread with a read flag. Makes it a lot easier finding new comments. I'm not sure, but I have a growing suspicion that this script is bugged. But haven't been able to track it down, maybe it's paranoia. Please note that "read" means that you have loaded a page with that comment on, not that you have scrolled it into view. The flag is probably ugly to some, but if you browse the script you'll find it easy to do something else with unread comments, like change the background or use another image than the flag.


Recollapse comment
Comments that have been modded down under you're threshold and collapsed, can easily be shown again by clicking "show comment". This script makes it easy to hide that comment again. This seems to have no purpose at all, but I find myself showing and then hiding stupid comments all the time.



Labels: ,

Bilddagboken - Ingen bildtext

Saturday, August 19, 2006
As you may know, bilddagboken is a Swedish photo sharing site. Not really my favorite, but everyone else seems to like it. But, they have a habit, much like other Swedish communities of putting stupid constraints in place, if you don't pay them. In bilddagboken, one has to write a text for every picture. I wrote a quick script that removed this constraint. Only works with single photo upload though.

Install!

It's a pretty simple script. Whenever a user clicks "submit", an tab character is inserted as photo text. Bilddagboken thinks this is a real text and accepts the picture.

By the way, I have a pretty amusing story to tell about bilddagboken. A fairy tale of XSS and how to get a lot of friends :)

Tv.nu enhancer

Thursday, August 03, 2006
90% of the shows on TV is just crap. So how fun is it trying to check some TV listings, and running into another ad-crap-hell? Ask any tv.nu user. tv.nu is a site for Swedish tv-listings. Mostly accurate content, but oh so many ads. Regularly I would just adblock it all, but doing that on tv.nu leaves you with a lot of blank space. Therefore, I have written a script that not only removes most of the ads (use adblock the rest), it also packs the channels for better space usage.

Tv.nu supports favorites, to help users keep track on their favorite shows. Favorite shows have a yellow star next to it. Favorites can be kinda hard to spot, since everything on tv.nu is yellow. So as an bonus features, this script also turns those stars blue.

Pics plz!

Before

After (notice the small blue stars!)
Changelog:

2006-08-02 1.1
  • Added support for viewing next day without ads.

2006-07-01 1.0

  • Public release
Download it over at userscripts.org.

Small scripts and updates

Here's a rundown of small new scripts I've written, and small fixes and updates to old ones.

Bilddagboken.se
Bilddagboken desperately tries to be "Web 2.0" and adds a new layout for viewing peoples galleries, that looks suspiciously "bloggy". Of course, this comes with annoying security "features" like disallowing viewers from downloading your pictures. This is of course easily bypassable. If you can view it, you can always copy it. "Bilddagboken.se stupid security fixer" is now updated to 1.1 fix this. Read full changelog and more here.

Also, I updated updated "Bilddagboken accesskeys for navigation" to support the new layout. Read full changelog and more here.

Usercash header remover
This is another stupid site that tries to lure people with the prospect of money fast. Usercash let's it users transform links to (already ad filled) imagehosts to include another frame of ads. This script removes that frame.

Userscripts.org autologin
Userscripts.org is great! But sometimes, those bugs can turn you crazy. Like the "remember me" function not working. Here's a script that kinda fixes that.

Arvid is sorry and so are image hosters

I did it again. I'm sorry for not posting in an month. Guess I'm just lazy. Could be that I'm working now, programming for a local hospital. Win32 isn't always that fun, but it can come in handy. But I haven't stopped the greasing!

Image hosts annoy me. Too much ads, stupid resizing scripts and all that. Since I'm browsing some forums, I always run into them. I started writing individual image redirectors for each image host, but this was growing tiresome, so I wrote one mega script for all of them instead :)

I present: "Universal Image Redirector"! It currently supports hidebehind, imagevenue, fapomatic, imageshack, imagebucks, paintedover, imagefap, supload, imagethrust, imagehigh, dumparound, directupload, imagebeaver, xxxloading and picturesupload. Phew, that's a lot!

Since some of these sites uses some smart protection for disallowing viewing the image directly, this script sometimes just clear out all of the page (excluding the image of course) instead of redirecting to the image directly.

New image hosts are popping up every day, so this script is written with extensibility in mind. Adding support for another is image host is as easy as adding an include to the meta data, and a new object in the "image hosts" array. More info can be found on userscripts.org.

If you want me to add another image host, just comment or submit your own patch!

Changelog:

2006-08-02 1.0f
  • Added imagebeaver, xxxloading and picturesupload
2006-07-09 1.0e
  • Fix for hidebehind
2006-07-05 1.0d
  • Added directuplad
2006-07-03 1.0c
  • Added imagehigh
2006-07-01 1.0b
  • Added dumparound
2006-06-30 1.0a
  • Added supload
2006-06-30 1.0
  • made it easier to modify style
  • added support for imagethrust
  • modified function execution code
  • public release
Download it over at userscripts.org!

Another two scripts for Swedvdr.org

Monday, July 10, 2006
Here's two more scripts for swedvdr.org. Both of them are for the torrent details page.

Swedvdr AJAX bookmarker
This script makes it even easier to bookmark torrents. When using this script, instead of redirecting you to the bookmarks page when bookmarking a new torrent this script handles the bookmarking in the background.

Changelog:
2006-08-03 Discountinued
  • Swedvdr now has this feature.
2006-07-09 1.1
  • Uses GM_xhr to fetch bookmarked torrents. This is more reliable than caching.
2006-07-01 1.0
  • Public release
Download over at userscripts.org.

Swedvdr poster linker
On some torrent details, a poster of the movie is included. This script makes that poster a link to the IMDb page of that movie, or an link to whatever URL is found in the NFO.

Download over at userscripts.org.

I still have two more scripts for this wonderful torrentsite to blog about, so keep an eye on this blog!

Swedvdr.org scriptomania!

Sunday, July 09, 2006
I had a phase some week ago when I wrote 5-6 scripts for swedvdr.org. Most of them are small fixes. Swedvdr.org is a great swedish bittorrenttracker focused on swedish subtitled movies in dvd format. The content is great, but some AJAX never hurt anyone.

Swedvdr iMDB search in torrent browser and request browser
This script adds a new column with a link to a IMDb search for the moviename in the browse section for regular torrents and requested torrents.

Download at userscripts.org.

Swedvdr direct download torrent link
This script adds a new column with a link directly to the torrent in the browse section for regular torrents and requested torrents. This script is good if you want to download a torrent without viewing it's details first.

Changelog:
2006-08-03 Discountinued
  • Swedvdr now has this feature.
2006-07-05 1.1
  • Moved the link to a new column

2006-06-30

  • Public release
Download at userscripts.org.

Swedvdr - Bookmark in torrent browser
This third script also adds a new column with a bookmark button. This button is AJAX:ed so bookmarking will not make you leave the page. I stole the spinner from userscripts.org.

Download at userscripts.org.

Screenshot with all three scripts installed

Last.fm shoutbox instant reply

Last.fm is a site that has radically changed music listening for me and a lot of other people. The amount of userscripts written for last.fm is a pretty good measure of how popular it is. I've already written quite a few scripts for last.fm, and here's another one.

"Last.fm shoutbox instant reply" makes replying to messages in your shoutbox easier. With this script, you can reply without leaving your user page.



Changelog:

2006-07-09 1.1
  • Added shortcuts for closing replybox (escape) and posting shout (ctrl+enter)
  • Removed debugmessages
2006-06-30 1.0
  • First public version
  • replaced text link with a nice icon
Download it over at userscripts.org.

Another script for bilddagboken

Saturday, July 08, 2006
I wrote another script for bilddagboken. This one adds keyboard shortcuts for skipping forward and backward while viewing pictures. Skip forward by pressing "k", backward by pressing "j".

Changelog:

2006-08-02 1.1
  • Added support for blogview (min läslayout)
2006-07-08 1.0
  • First version
Download it at userscripts.org.

Bilddagboken Stupid Security Fix

Friday, July 07, 2006
Bilddagboken is swedish for "the image diary". Bilddagboken is a swedish service which lets its users keep a blog, and upload images.

Bilddagboken allows its users to disable rightclicking on their pages. Also, if you rightclick an image and try to save or view it, you get an empty overlay image instead. This script fixes both of these
issues.

Changelog:

2006-08-02 1.1
  • Now supports "blog view / min läslayout" (hah!)

Download it over at userscripts.org.