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

Pages: 1-

Search Accelerator script for google

Name: FrozenVoid 2010-08-14 6:29

// ==UserScript==
// @name           SearchAccel
// @namespace      Google
// @include        http://www.google.*
// ==/UserScript==
//(c)FrozenVoid ~Creative Commons license: by-nc-sa
//Alternative to bloated and crappy "Accelerator Scripts" from userScripts and the like
//keys 0-9 pick result from google and load it in new tab.
function tag(x) unsafeWindow.document.getElementsByTagName('a');
var links=tag('a');var llen=links.length;var startL=0;var jumps=[]
for(i=0;i<llen;i++){
if (links[i].getAttribute('class')=='l' && startL!=10){ links[i].innerHTML+="["+startL+"]";jumps[startL]=links[i].href;startL++;}}
unsafeWindow.addEventListener('keydown',keydown,false  );
function keydown(evt){
if(!evt.altKey && !evt.shiftKey && !evt.ctrlKey){
if(evt.keyCode==48){GM_openInTab(jumps[0]);}
if(evt.keyCode==49){GM_openInTab(jumps[1]);}
if(evt.keyCode==50){GM_openInTab(jumps[2]);}
if(evt.keyCode==51){GM_openInTab(jumps[3]);}
if(evt.keyCode==52){GM_openInTab(jumps[4]);}
if(evt.keyCode==53){GM_openInTab(jumps[5]);}
if(evt.keyCode==54){GM_openInTab(jumps[6]);}
if(evt.keyCode==55){GM_openInTab(jumps[7]);}
if(evt.keyCode==56){GM_openInTab(jumps[8]);}
if(evt.keyCode==57){GM_openInTab(jumps[9]);}
}}

Name: Anonymous 2010-08-14 8:02

Terrible!

Name: Anonymous 2010-08-14 10:05

Creative Commons licenses should not be used for software. We strongly encourage you to use one of the very good software licenses which are already available. We recommend considering licenses made available by the Free Software Foundation or listed at the Open Source Initiative. Unlike our licenses, which do not make mention of source or object code, these existing licenses were designed specifically for use with software.

Creative Commons has “wrapped” some free software/open source licenses with a human-readable "Commons Deed" and machine-readable metadata. You may use these "wrapped" software licenses to take advantage of the Creative Commons human-readable document as well as the machine-readable metadata while still licensing your work under an established software license. It is important to note that CC has not altered these software licenses in any way, but has simply bundled human- and machine-readable explanations of the licenses along with the original license text.

Name: Anonymous 2010-08-20 16:40

// ==UserScript==
// @name           RedditAccel
// @namespace      Reddit
// @include        http://www.reddit.com/r/*
// ==/UserScript==
/*
Copyrights are raping your freedom.
*/
function id(x) unsafeWindow.document.getElementById(x);
function tag(x) unsafeWindow.document.getElementsByTagName('a');
var links=tag('a');var llen=links.length;var startL=0;var jumps=[]
linknames=['0','1','2','3','4','5','6','7','8','9','q','w','e','r','s','t','y','u','i','o','p','a','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m']
linlen=linknames.length;
for(i=0;i<llen;i++){
if (links[i].getAttribute('class')=='comments' && linknames[startL]){ links[i].innerHTML+="["+linknames[startL]+"]";jumps[startL]=links[i].href;startL++;}}
unsafeWindow.addEventListener('keydown',keydown,false  );
function keydown(evt){
if(document.activeElement.name!="q" && !evt.altKey && !evt.shiftKey && !evt.ctrlKey){
for(n=0;n<linlen;n++){
if(String.fromCharCode(evt.keyCode) == linknames[n].toUpperCase()){GM_openInTab(jumps[n]);}}}}

Name: Anonymous 2010-08-20 16:56

// ==UserScript==
// @name           RedditAccel
// @namespace      Reddit
// @include        http://www.reddit.com/r/*
// ==/UserScript==
//Accel for Site Links (instead of comments)
function id(x) unsafeWindow.document.getElementById(x);
function tag(x) unsafeWindow.document.getElementsByTagName('a');
var links=tag('a');var llen=links.length;var startL=0;var jumps=[]
linknames=['0','1','2','3','4','5','6','7','8','9','q','w','e','r','s','t','y','u','i','o','p','a','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m']
linlen=linknames.length;
for(i=0;i<llen;i++){
if (links[i].getAttribute('class')=='title ' && linknames[startL]){ links[i].innerHTML+="["+linknames[startL]+"]";jumps[startL]=links[i].href;startL++;}}
unsafeWindow.addEventListener('keydown',keydown,false  );
function keydown(evt){
if(document.activeElement.name!="q" && !evt.altKey && !evt.shiftKey && !evt.ctrlKey){
for(n=0;n<linlen;n++){
if(String.fromCharCode(evt.keyCode) == linknames[n].toUpperCase()){GM_openInTab(jumps[n]);}}}}

Name: Anonymous 2010-08-20 17:41

// ==UserScript==
// @name           ProgAccel
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
//Prog Accellerator
function id(x) unsafeWindow.document.getElementById(x);
function tag(x) unsafeWindow.document.getElementsByTagName('a');
var links=tag('a');var startL=0;var jumps=[]
//needs 2 more chars..
linknames=("1234567890qwertyuiopasdfghjkl;zxcvbnm ").toUpperCase().split("")
for(i=0;i<links.length;i++){
if (links[i].getAttribute('href') && links[i].getAttribute('href').toString().search(/read\/.+\d+/gi)!=-1 && linknames[startL]){
links[i].innerHTML="["+linknames[startL]+"]  "+links[i].innerHTML
jumps[startL]=links[i].href.replace(/\d+\-$/,'');startL++;}}
unsafeWindow.addEventListener('keydown',keydown,false  );
function keydown(evt){{window.title=evt.keyCode ;}
if(document.activeElement.name){
if(document.activeElement.name.toString().search(/com|meiru|kotehan/)!=-1){return}}
if(  !evt.altKey && !evt.shiftKey && !evt.ctrlKey){
for(n=0;n<linknames.length;n++){
if(String.fromCharCode(evt.keyCode) == linknames[n]){GM_openInTab(jumps[n]);}
}}}

Name: Anonymous 2013-09-01 14:04


 You fail because you're stupid

Name: Anonymous 2013-09-01 15:35


Beat Yasaka's Ordeal (試練 means trail and also ordeal, but it is funny how the official translation is different for both).

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