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: Anonymous 2006-12-25 6:29

>>36
When was the last time you (yes you) donated?
One week ago, fucking loser. I have a job and I give the cash I earn to those who deserve it and provide me with useful crap.

Advertisment is NOT useful crap, it's just annoying crap, that's why I block it.

Name: Anonymous 2006-12-25 7:32

I wrote a script to click the ads for me

Name: Anonymous 2006-12-25 18:08

>>41
Ah, okay. Good for you. Really! I wonder what percentage of visitors you make up?

>>40
How do you buy something you don't know about? What do you think the no.1 rationalization of Madison Avenue and the entire Marketing profession is?

Ads are not just about buying or clickthrough, they're about eyeballs. All those beer and car ads on TV aren't there to get you to run out of the door _right now_.

Name: Anonymous 2006-12-25 23:38 (sage)

How do you buy something you don't know about?
if i don't know about it, i don't need it and can't want it.
What do you think the no.1 rationalization of Madison Avenue and the entire Marketing profession is?
who cares what a bunch of faggots think? i'm not a faggot, you're probably not a faggot, why should we buy what faggots tell us to buy?
Ads are not just about buying or clickthrough, they're about eyeballs. All those beer and car ads on TV aren't there to get you to run out of the door _right now_.
all those beer and car ads are only there to give me time to go do something useful without missing the shows i want to watch.

Name: Anonymous 2006-12-27 9:47

important news, idiots:

it doesn't matter if you buy stuff from the ads

it matters if you see them/click on them, so 4chan gets $$$$

Name: Anonymous 2006-12-27 13:48

>>45
and that's why I use AdBlock, I don't want 4chan to get money.

Name: Anonymous 2006-12-27 15:41 (sage)

>>46
Why are you posting here then?

Name: Anonymous 2006-12-29 0:35

How about you fags don't clutter up the Opera script topic with your pissing over ads?

Name: Anonymous 2006-12-29 1:29

>>47
Nice try Adolf, I post here to answer the questions and it's still a free country last time I checked. What's the link between "not giving money" and "not posting"? There is ... none.

>>48
http://www.opera.com/

Name: FyberOptic 2007-04-25 1:26 ID:6b2jrYMa

I upgraded this script a bit as I've been wanting a couple of certain features, so hopefully you guys will find them useful as well.  Download link same as above.

New stuff:

- Inline image expansion.  Like in the Firefox extension, clicking a thumbnail will load the image right in the page.  You can turn this off with a setting in the UserJS file if you prefer, but clicking the filename or middle-clicking the thumb will open it in a new window like always.  Initially I disabled interstitial ads for this to work correctly, but then I rewrote how it worked so that it would still function properly while keeping ads intact.  I haven't noticed any problems from having done so, but if it acts up, just let me know.

- Added an "All Images" command to the thread ID bar.  Clicking this lets you open all images in a thread at once.  If you try to open more than 15 (by default), it'll ask you to confirm.  I did kind of a last minute fix so that this would work on reply pages as well, so hopefully I didn't break anything.  Note that this WON'T WORK if you have popup blocking enabled for 4chan.  You can disable that explicitly for 4chan by right-clicking the page and picking "Edit site preferences", then preferably selecting "Open pop-ups in background".  You may have to do this once for each of 4chan's servers that you visit (zip, img, orz, etc).

- Added a minor fix so that it would load the default stylesheet, since for whatever reason, it wasn't working in Opera.

Name: Anonymous 2007-04-25 9:24 ID:U94sIik1

>>50

But is it Touring-complete?

Name: Anonymous 2007-04-25 11:30 ID:LfBXQdpw

>>51
Ducks are Touring complete. They move across a (theoretically) infinite
river in either direction. They have memory. In each step, they can
catch fish, take a dump, or quack.

Name: Anonymous 2007-04-25 12:36 ID:U94sIik1

>>52

When I see a bird that walks like a duck and swims like a duck and quacks like a duck, I call that bird a duck.

Name: Anonymous 2007-04-25 13:03 ID:LXb9ZE8p

>>53
When I see a man that quacks like a duck, I call that man a queer.

Name: Anonymous 2007-04-25 14:11 ID:ZLsmjOrf

Thanks for the update. Is a thread watcher planned?

Name: Anonymous 2007-04-25 14:15 ID:ZLsmjOrf

oh, and a quick reply too

Name: Anonymous 2007-04-25 14:48 ID:pBWsFYX2

And a cock polisher

Name: Anonymous 2007-04-26 5:59 ID:bfO/VI33

>>32
So true

Name: Anonymous 2007-04-26 6:14 ID:5FME3xai

Name: Anonymous 2007-04-28 19:35 ID:y2QtEpuS

it still lacks the javascript to see a truncated comment

Name: Anonymous 2007-04-29 16:21 ID:Acnj0RyG

>>2
read the fucking code, dumbass

Name: Anonymous 2007-06-03 20:27 ID:RMobN6Ro

Bump

Name: Anonymous 2007-07-09 6:01 ID:Heaven

Join #bbcode on Rizon (irc.rizon.net) for EXPERT BBCODER discussion

#b b c o d e

Name: Anonymous 2007-07-09 6:02 ID:Heaven

Join #bbcode on Rizon (irc.rizon.net) for EXPERT BBCODER discussion

# B B C O D E

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!

Name: Anonymous 2008-02-11 11:34

stfu namefag

Name: Anonymous 2008-02-11 11:41

>>66
stfu faggot

>>65
awesome, i was wanting a quick reply.  i'll test it out.

Name: Anonymous 2008-02-11 12:49

Yeah...erm... where do I place this file/how do I use this file?

Name: Anonymous 2008-02-11 12:56

>>68
Holy shit try reading it. There's a paragraph at the very top that says what to do.

Name: Anonymous 2008-02-11 14:54

if this works right i'll love it, opera is the only browser i use and i love it

Name: Anonymous 2008-02-11 15:01

so far i likey but what the hell does All Images do? it just opens the first image in the thread for me in a new tab, what's the point?

Name: Anonymous 2008-02-11 15:06

>>71

Look at the instructions in the file, or see >>50

Name: Anonymous 2008-02-11 18:33

Very nice. Is there a chance there could be something for text boards to? Like the ability to inline entire threads from the thread list, and quick post

Name: FyberOptic 2009-03-07 18:48

Hey guys, been a while since I made any public updates to the Fychan UserJS script for Opera, but I finally got back on track. I even made a page specifically for it, so that people can find it and see what it's all about easier.

http://fychan.fybertech.com/

For those that have been using it for a while, you might be interested to know that I finally added a simple thread watcher. I've been asked for that many a time, so that was the priority feature this time.

Name: Anonymous 2009-03-07 18:59

>>1

HAY RETARD I DIDNT SEE UR POST (NAMEFAG) BUT FIREFOX SCRIPTS WILL WORK IN OPERA

Name: Anonymous 2009-03-07 19:11

>>75
..what?  /b/ is that way.


>>74
Thread watcher seems to work good so far.  I like that it's so noticeable as to which I've marked when I scroll through a section.

I'd like to see a little more details in the actual thread list, but you did say it was a basic thing for now, so I'll shut up.

Good work.  Glad to see you're still working on it.

Name: Anonymous 2009-03-07 20:14

>>74
This is good. You should try and e-mail moot to see if you can get him to include your script on 4chan's tools page (http://www.4chan.org/tools/) along side of DamageInc's Firefox extension. There's plenty of Opera users who could really benefit from having an extension of their own and it would be nice for all who ask about acquiring a similar script for Opera to be directed to 4chan's official tools page.

I also let the Opera users in this thread on /comp/ http://dis.4chan.org/read/comp/1203116978 know about your script since they kept on bugging Damage to make a version of his extension for Opera.

Name: Anonymous 2009-03-07 23:37

>>74
Wow, this is great. Just the features I need. I'd say it's better than the firefox plugin.

Name: HMA FAN 2009-03-08 0:21

Cool script bro.

Name: Anonymous 2009-03-08 8:17

>>75
Some do, some don't. Most are horribly broken to begin with, but I don't expect anything better from Firefox users.

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