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 2009-03-08 18:36

Bampu

Name: Anonymous 2009-03-08 19:45

>>77
- This is good. You should try and e-mail moot
+ This is good. You should try to e-mail moot

Name: Anonymous 2009-03-08 19:49

Can u make fire fox version plz

Name: Anonymous 2009-03-08 19:50

>>83
( ≖‿≖)

Name: Anonymous 2009-03-08 20:06

>>82
Whoops! Thanks for the correction. :-)

Name: Anonymous 2009-03-09 4:53

>>85
( ≖‿≖)

Name: Anonymous 2009-03-09 19:10

[b][u]t[/sup][/sup][/sup][/sup][/u][/b]e[/sub]st[/sup]te[/sup]Sttest[/sup][/sup]te[/sup][/sup]s[/sup]t[sub][sub][sub][sub]tes[/sup][/sup][/sup][/sup]t[i][o][u][sup]t[/u][/o][/i][sup][sup]e[/sub][/sub][i][u][sup][sub]s[/sup][/sup][/u][/i]tte[/sup]sttest[/sup][/sup][/sup][i][sup]t[/i]e[u][sup][sup][sup][sub]s[/sup][/u][sup][sup][sup][sub]t[/sup][/sup][/sup]t[/sup][/sup]est[/sup][/sup][/sup]

Name: Anonymous 2009-03-09 19:12

testtesttesttesttEsttesttesttesttesttest

Name: FyberOptic 2009-03-18 18:49

Howdy folks. Another Fychan udpate!

The biggest thing people have asked for lately is the ability to hide threads. The other comments I've gotten in the past have regarded how it looks. Well I took care of both! Of course, if you still don't like how it looks, then what's a guy to do. But I think it looks a lot slicker than it did.

Anyway, there's various other more minor improvements, such as to Quick Reply. Read the Version History section of the .js file for more info.

http://fychan.fybertech.com/


Some of these additions are hot off the press, so hopefully I've knocked all the bugs out. Just let me know as usual if you find anything.

Name: Anonymous 2009-03-18 18:52

>>77
Also I meant to reply here and never remembered it again.

Anyway, thanks for helping pass the word.  I did email moot once before and mentioned it when emailing about something else, though not directly to ask him to put the script up.  I'm not sure if they'd consider it and/or Opera big enough to put on their page as of yet.  I figure word of mouth is cool for now.

Name: Anonymous 2009-03-18 22:53

Will this work in [insert alternate browser here]?

Name: FyberOptic 2009-03-18 22:56

>>91
I'm afraid not. FyChan is mainly built using Opera's specialized UserJS interface. However, alternatives do exist if you are using the FireFox web browser.

Name: Anonymous 2009-03-19 1:04

>>92
It would have been funnier if you had copied the response for that question from the website.

Also you are capitalizing things strangely, I think you are a FAKERRRRRR. 

Never really thought about it, but I guess it'd suck to actually need an identifier on 4chan when it's so easy to pretend to be somebody else.  Tripcodes crackable too.  Shit sucks.  Good thing I never make anything worthwhile.

Anydamnway, script is awesome.  Hiding shit on /b/ makes my life easier when I don't have to worry about needing to explain why there are horse cocks on the screen to my roommate.

Name: Anonymous 2009-03-19 1:49

Hey FyberOptic, how about re-working your script so that it doesn't fuck up all other 4chan userscripts that happen to use document.addEventListener instead of window.opera.addEventListener and depend on other event listeners being installed (your script removes those listeners by cloning most nodes)? I'm tired of working around these issues because people demand ``Does it work with fychan?''. Oh, and maybe also work on performance issues that regularly pop up.

Name: FyberOptic 2009-03-19 6:35

>>94
Hi, thanks for you're interest in the FyChan Opera UserJS script. Fychan is a UserJS extension for the Opera web browser, to give the popular image board 4chan an extended set of features for easier browsing. If you would like more information about  FyChan, please visit my website at http://fychan.fybertech.com/

Name: Anonymous 2009-03-19 7:29

>>95
I take that as a ``no''. Well, nobody can claim I didn't try.

Name: FyberOptic 2009-03-19 16:41

>>92
>>95
Guys, you're not helping.


>>94
Dude, the proper way to write an Opera UserJS script is using the window.opera interface, especially since I'm catching the AfterEvent.DOMContentLoaded event, because I want the page to update with the Fychan appearance as soon as possible.  Any other method would likely result in Fychan not taking control until after the entire page loaded (including images), which sucks.  Trust me, I've been writing this script long enough to know what is the most efficient method of applying itself to the page, based around how terrible the website loads sometimes.

I actually have multiple 4chan-related scripts which I wrote and use, providing features I may implement into Fychan one day, and others that are strictly for myself.  These scripts perform just fine with one another, and they all use the exact same window.opera interface and event to trigger.  So the problem isn't with Fychan.

If you're using document.addEventListener, then it sounds more like you're trying to adapt Greasemonkey scripts or something.  I don't use or test against them.  Opera has a certain degree of support for Greasemonkey, but not complete support.  If your scripts are not working, it's a problem in Opera's handling of them or in your code.

In a nutshell, Fychan is fine, implementation and performance-wise.  Aint changing it.  Sorry your script doesn't work right.


If anyone else has further direct comments or questions, just do it via the website, cause it's too easy for people to get confused when people pretend to be me.

Name: Anonymous 2009-03-19 18:21

>>97
maybe you should put a forum on the fychan website instead of dealing with trip or name faggotry if people are copying you

I have another 4chan script I use from a buddy to hide these new porn ads, and while I don't know what the fuck you were talking about with the programming stuff, it works fine.  >>94 must not know how to write shit.

Name: FyberOptic 2009-03-19 18:52

>>98
I actually do have a forum setup on my website, though nobody really uses it. Maybe I should just install phpbb and be done with it

Name: FyberOptic 2009-03-19 19:12

Oh, and I suck cocks.

Name: FyberOptic 2009-03-19 19:12

>>97
I'm working on a way to comment on the fychan site as we speak, actually.


>>99
lol dude, people who know me would definitely know this is fake.  I don't use phpbb for anything.  Good try that time though.

Anyway fellows, I will no longer post here under this name, or make any direct replies as me, just so you know.  As I said, if you want to know something in particular, click the button on the website, or wait until I get the comments thing going.  If it's just a general question, you can still post here if you really want and maybe someone can help (possibly myself, but you probably won't know it!).  I may still announce new versions here, but we'll see.  The comments thing should be up on the site within a week depending on how much time I get.

Okay for reals, anyone else posting as me is definitely not me now!

Name: FyberOptic 2009-03-19 19:22

HAHAHA DISREGARD THAT, I DO NOT ACTUALLY SUCK COCKS.
Not that I do not enjoy them. But it's only an aesthetic thing, not physical, you know?

Name: FyberOptic 2009-03-19 19:23

>>101
Just a final word as well, my website is http://fychan.fybertech.com/ so feel free to bookmark this page.
There is a paypal link on the bottom for donations
Thank you

Name: FyberOptic 2009-03-19 19:31

Okay, enough is enough man.
This is the real FyberOptic, feel free to leave your comments and questions here and I will answer them. Please disregard >>99-103

Name: FyberOptic !T/fybEryy2 2009-03-19 19:47

No, I am the real FyberOptic.  Please stop fagging up this thread.

Name: FyberOptic 2009-03-19 19:50

By the way, before I leave, I'll just mention that you're welcome to use my script even if you don't make a donation using the link found on http://fychan.fybertech.com/

Name: Anonymous 2009-03-19 19:55

Name: FyberOptic 2009-03-19 20:45

Remember that donations of any amount help pay for server costs and are always appreciated!
http://fychan.fybertech.com/

Name: FyberOptic 2009-03-19 21:16

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="margin: 0pt; padding: 0.2em;">
<input name="cmd" value="_s-xclick" type="hidden">
<input name="hosted_button_id" value="3788721" type="hidden">
<input src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" type="image">
<img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" height="1" width="1">
</form>

Name: Anonymous 2009-03-19 21:19

>>109
EXPERT

Name: sage 2009-03-19 21:25

ITT, rabid furryfox users.

I'll wait for the Chrome version.

Name: FyberOptic 2009-03-19 21:54

By the way, since Opera has very little marketshare, I encourage you to make a donation to support Opera extensions. You'll find the link on http://fychan.fybertech.com/

Name: Anonymous 2009-03-20 1:40

>>97
It seems you do not really know what you are talking about. The `proper' way to catch any event is document.addEventListener. Normally, you'd hook DOMContentLoaded. The window.opera interface is provided so that you can load your script before or after other scripts you wish to patch/overwrite. Not just for any arbitraty change to the document.
In any case, claiming your script is zomgoptimized is just one fat lie. It's slow as fuck, mainly due to you inserting and swapping around a metric fuckton of nodes, triggering repaints/reflows every so often.

Oh well, I'm not bothering anymore. Learn to Javascript/DOM. And do visit http://dev.opera.com/articles/ and look up Javascript performance issues.

Name: sage 2009-03-22 15:33

>>113
itt butthurt fags with scripts nobody has ever heard of or wants

Name: Anonymous 2009-03-22 22:32

this is why we can't have nice things.

all other opera 4chan scripts that have come and gone are trash.  like that fucking backwash shit that keeps getting whored lately.  and that other one which tried to expand threads but broke everything, then everybody was a faggot to him and he left.  thats it, seriously.

i dont know a lot about coding but I know that this script not only fucking works great but it's the only one out there.  and it isn't slow for me, whatever the fuck "slow" is.  maybe people should upgrade their shit computers instead of trying to look smart.

some of you people just boil my piss.  it's not often anybody around this cesspool gives anything to the community worth a damn.  so how about we don't fuck it up


tl;dr - stfu faggots or make your own

Name: Anonymous 2009-03-26 20:19

This shit is great and has helped me stop using firefox entirely for years now. Much love to the fag that made it, you're the kind of contributor that makes 4chan worth visiting still.

Name: Anonymous 2009-03-27 2:04

>>115
Why do you even post here? It's not like your posts holds any substanc- oh, I see now.

Name: Anonymous 2009-03-27 5:12

Why hasn't moot added this to 4chan tools?

Name: Anonymous 2009-03-27 6:07

>>118
moot@4chan.org e-mail him (politely) and suggest that he should include it.

Name: FrozenV 2009-03-27 7:16

>>116
You know, it's usually not polite to thank someone by calling them ``fag.''
Put your manners back in /prog/, I'm very disappoint in you.

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