Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

4chan UserJS script (for Opera)

Name: FyberOptic 2006-05-31 22:27

The 4chan extension for Firefox has a few nice things to offer, and I've found myself using that browser to peruse 4chan at times, even though my primary browser is Opera.  Unfortuantely, nobody seems to have ever written any enhancements for it (that I've ever found), so I decided to write one myself!

http://www.fybertech.com/userjs/fychan.js

This mostly implements the feature I prefer most; loading a full thread right inside the page, instead of loading a seperate page to see the omitted posts.  Just in the time I've been testing it, I've already been finding it pretty useful.

In any case, this is a UserJS script for anyone not in the know.  It's Opera's version of an extension language.  I've found myself using it a lot lately, not just to add features to websites, but to fix other ones that won't work properly in Opera.  It's great.

If you don't know how to install a UserJS script, it's simple.  You can either read the elaborate explantion at http://userjs.org/help/installation , or just:  Go to Tools, Options, Preferences, then the Advanced tab, pick the Content section, click Javascript Options.  In the "My Javascript files" blank, put like "c:\userjs" (minus the quotes), then create that folder on your computer, and copy the script inside.  You'll probably want to right-click/save-as to get the script onto your computer, mind you.

Anyway, if anyone wants to mess around with it and see if they can find any  problems, feel free.  I'm also welcome to suggestions of things to add.  Hope some folks find it useful!

Name: FyberOptic 2008-02-11 11:31

WHY HELLO THAR

I didn't really want to release a new version yet, since it's just not completely ready to be honest.  But it's been ages since I released anything to the public, and now that 4chan has changed its addressing method to have cb-ws and cb-nws in the urls, the inline image expansion is broken.  And if you use that feature as much as I do, you'd be aggravated with it too, so I wanted to release a fix.

Therefore, I'm not updating the old one, and am just going to release a beta of the new features instead.  With the image expansion problem fixed as well of course.

1.0.6 beta - http://www.fybertech.com/userjs/fychan.js



NEW FEATURES INCLUDE:

- Topic-return after posting.  This feature has been in testing for a while, because it would occasionally have issues.  I THINK it should be okay now.  After you post in a topic, a dialog will pop up asking you if you want to return to it.  If you pick cancel or hit escape or whatever, it'll just return to the index as usual.

- I changed the text along what I used to call the "ID bar", which is the bar along the top of each topic.  People were confused and apparently didn't even realize thread expansion was a feature, because they weren't reading the instructions.  But now it's plainly obvious what you can do, because it's labeled appropriately.

- Added Quick Reply.  THIS IS EXTREMELY NEW.  It's not even thoroughly tested in every section.  I had to add a "close" button to the window that pops up just so that I could release this version.  So yeah, you click Quick Reply in the bar along the top of each topic, and a little window pops up that lets you fill in the particulars.  I haven't had any problems with it yet personally, so I hope it's actually working fine, and just needs some visual updatery.

- Fixed inline image expansion to work with new address scheme (cb-nws).

- There's Next/Prev buttons on the right of the topic bar now, which lets you jump up and down the page to other topics.  This is listed as being in v1.0.5, but that version was never released to the public, and then I went to adding some bigger features, and went on to 1.0.6.  So that's why you'll notice that extra version number in the version history.



Again, I point out that this is a BETA.  If there's a problem, post about it here, or email me, whatever.  If you have suggestions/comments, feel free to do the same for that matter.  I'm partially counting on some of this stuff to be field tested, instead of my normal slow method of just using it myself until I notice something isn't right.  Which isn't exactly the best way to do it, because I'm sure some of you are much bigger contributors to 4chan than me, and would notice things I don't.

Also, the documentation isn't updated, aside from the version history, so it'll still refer to stuff like the "ID bar", which as mentioned above, is just the bar above each topic, which I will hereby declare as the "topic bar" from now on I suppose.

In any case, hope you guys like the new stuff!


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List