My first Greasemonkey script, enjoy!
[release][highlight]UnAustralianPunch[/highlight]
[url]http://userscripts.org/scripts/show/95197[/url]
[b]Tired of scrolling all the way down or pressing END to see subforums? This is for you![/b]
Reverts subforum placement back on top of page instead of bottom.
Tested and working on Chrome and Firefox.
[/release]
[media]http://i56.tinypic.com/elb6t1.png[/media]
Wrench.
Nice
works perfect, thanks
Works with Opera 11
Avira flags the image up as malware, just thought I'd let you know,
Awesome, cheers.
Faceraper has this too.
where are the zing ratings over the title
Awesome! I was looking for a script to do this!
Haha UnAustralian, I get it. I am smart.
im ok being miserable as heck scrolling to the bottom of the page, or even taking the time to go the main page, and spending that delicate amount of energy clicking "In the News"
[QUOTE=ChaosUnleash;27612845]Avira flags the image up as malware, just thought I'd let you know,[/QUOTE]
Alright, I changed the image host.
[QUOTE=ZombieWaffle;27612915]Faceraper has this too.[/QUOTE]
Really? Damn, I thought I was the first :saddowns:
[QUOTE=raBBish;27613068]Alright, I changed the image host.
Really? Damn, I thought I was the first :saddowns:[/QUOTE]
Nope, you were not.
Oh my god, thank you so much! The little change bugged me a bit. Now FP is back to its former glory!
Also, look up document.evaluate, it will make things less complicated.
[QUOTE=Arctic-Zone;27613773]Oh my god, thank you so much! The little change bugged me a bit. Now FP is back to its former glory![/QUOTE]
you sound like we rooled back to 2006-2007
Brilliant. Thanks mate.
Thanks for this. Small change that bugged me :v:
[QUOTE=gerbile5;27613960]you sound like we rooled back to 2006-2007[/QUOTE]
Well, I said little change. Not big change.
For what purpose was this done in the first place? Compwhizii just likes changing random shit and making the forums less convenient or what?
This is amazing.
I will not download this for the following reasons.
1. I'm not lazy.
2. I don't need to rush to forums to make a new thread quickly before everyone else in a dick race
3. I can scroll down and not be lazy.
Thank ya!
Cool script but godawful code:
[code]
document.getElementsByClassName = function(cl) {
var retnode = [];
var myclass = new RegExp('\\b'+cl+'\\b');
var elem = this.getElementsByTagName('*');
for (var i = 0; i < elem.length; i++) {
var classes = elem[i].className;
if (myclass.test(classes)) retnode.push(elem[i]);
}
return retnode;
};
var forums = document.getElementsByClassName("forums");
if (forums.length > 0)
{
var forumDiv = forums[0];
var oldPlace = document.getElementById("above_threadlist");
var parent = document.getElementById("content_pad");
if (forumDiv && oldPlace && parent)
{
parent.insertBefore(forumDiv, oldPlace)
}
}
[/code]
This part: "var elem = this.getElementsByTagName('*');" will return every single fucking element in the document, which makes this script slower than it needs to be.
From the title I thought it was an addon to ignore/block all the Australian users...
By the way, I don't know why you reimplemented getElementsByClassName, it's in [url=https://developer.mozilla.org/En/DOM/Document.getElementsByClassName]Firefox 3+[/url] and Chrome.
[QUOTE=mr apple;27620934]I will not download this for the following reasons.
1. I'm not lazy.
2. I don't need to rush to forums to make a new thread quickly before everyone else in a dick race
3. I can scroll down and not be lazy.[/QUOTE]
It's for the sake of convienence.
"I don't want to buy a car, I can walk where I need to go"
Sorry, you need to Log In to post a reply to this thread.