¡@

Home 

2014/10/16 ¤W¤È 12:10:01

jquery Programming Glossary: userscript

How can I detect AJAX node insertion without using DOM mutation events?

http://stackoverflow.com/questions/10664669/how-can-i-detect-ajax-node-insertion-without-using-dom-mutation-events

and be done with it. It's very easy to use. For example UserScript @name Highlight good comments @include http SOME_SITE @require.. https gist.github.com raw 2625891 waitForKeyElements.js UserScript function highlightGoodComments jNode if beer i.test jNode.text..

How to get an AJAX get-request to wait for the page to be rendered before returning a response?

http://stackoverflow.com/questions/11486256/how-to-get-an-ajax-get-request-to-wait-for-the-page-to-be-rendered-before-return

then inserts the payload data to complete the mash up. UserScript @name _Cross site AJAX scrape demo @include http fiddle.jshell.net.. raw 2625891 waitForKeyElements.js @grant GM_addStyle UserScript if fiddle .jshell .net i.test location.host console.log Master..

jQuery in Greasemonkey 1.0 conflicts with websites using jQuery

http://stackoverflow.com/questions/12146445/jquery-in-greasemonkey-1-0-conflicts-with-websites-using-jquery

Block to end with the following lines @grant GM_addStyle UserScript The @grant directive is needed to work around a design change..

Choosing and activating the right controls on an AJAX-driven site

http://stackoverflow.com/questions/15048223/choosing-and-activating-the-right-controls-on-an-ajax-driven-site

page HTML but I don't know how to do that. Please help. UserScript @name _Nike auto buy script @include http @require http ajax.googleapis.com.. raw 2625891 waitForKeyElements.js @grant GM_addStyle UserScript The @grant directive is needed to work around a design change.. of operations. The resulting complete working script is UserScript @name _Nike auto buy shoes script @include http store.nike.com..

Greasemonkey @require jQuery not working “Component not available”

http://stackoverflow.com/questions/2077714/greasemonkey-require-jquery-not-working-component-not-available

tried that method with this require statement inside my UserScript tags @require http ajax.googleapis.com ajax libs jquery 1 jquery.min.js.. it as required files are only loaded on installation. Code UserScript @name My Script @namespace http www.google.com @description.. http ajax.googleapis.com ajax libs jquery 1 jquery.min.js UserScript GM_log Hello I have Greasemonkey 0.8.20091209.4 installed on..

How can I use jQuery in Greasemonkey scripts in Google Chrome?

http://stackoverflow.com/questions/2246901/how-can-i-use-jquery-in-greasemonkey-scripts-in-google-chrome

blog index.cfm 2010 6 14 using jquery with a user script UserScript @name jQuery For Chrome A Cross Browser Example @namespace jQueryForChromeExample.. on how to use jQuery in a userscript on Google Chrome. UserScript a function that loads jQuery and calls a callback function when..

Using Greasemonkey and jQuery to intercept JSON/AJAX data from a page, and process it

http://stackoverflow.com/questions/6092754/using-greasemonkey-and-jquery-to-intercept-json-ajax-data-from-a-page-and-proce

it all together the following should get you started. UserScript @name _Fun with JSON @include http www.trada.net @require http.. ajax.googleapis.com ajax libs jquery 1.5.1 jquery.min.js UserScript Create a cell for transmitting the date from page scope to GM..

Greasemonkey Jquery Script to Click Links

http://stackoverflow.com/questions/6466856/greasemonkey-jquery-script-to-click-links

javascript so be easy on me. Here is what I have so far. UserScript @name load all page comments @require http ajax.googleapis.com.. jquery.min.js @namespace none @include http www.reddit.com UserScript setInterval function window.alert Hello World a contains 'load..

jQuery.getJSON inside a greasemonkey user script

http://stackoverflow.com/questions/1647519/jquery-getjson-inside-a-greasemonkey-user-script

jQuery XHR bridge . If you @require that script in your userscript then all .get and .getJSON and .post etc. jQuery calls will..

How can I use jQuery in Greasemonkey scripts in Google Chrome?

http://stackoverflow.com/questions/2246901/how-can-i-use-jquery-in-greasemonkey-scripts-in-google-chrome

in this matter jquery google chrome greasemonkey require userscripts share improve this question From http erikvold.com blog.. Erik Vergobbi Vold Tyler G. Hicks Wright @description This userscript is meant to be an example on how to use jQuery in a userscript.. is meant to be an example on how to use jQuery in a userscript on Google Chrome. UserScript a function that loads jQuery and..

jsonp comet hanging request causes ugly “loading” status on browsers

http://stackoverflow.com/questions/3744488/jsonp-comet-hanging-request-causes-ugly-loading-status-on-browsers

3.0 It's not a complete list but it's every browser with userscript support I could find to test. I've already taken the time to..

Detect Visited Link In Chrome

http://stackoverflow.com/questions/5394099/detect-visited-link-in-chrome

Visited Link In Chrome I am using a userscript for Chrome and Firefox and I am checking for links that have..

jQuery - detecting the operating system and operating system version

http://stackoverflow.com/questions/8774560/jquery-detecting-the-operating-system-and-operating-system-version

system and operating system version I have been writing a userscript for the past few months for my company and have just designed.. are based all around the world and very few have heard of userscripts let alone used them so this frontend is meant to cut down the.. example for IE6 you must use Trixie I believe to install userscripts and this is supported on Win XP only. IE7 is supported on Win..

How can I detect AJAX node insertion without using DOM mutation events?

http://stackoverflow.com/questions/10664669/how-can-i-detect-ajax-node-insertion-without-using-dom-mutation-events

low cost. I recommend you use the waitForKeyElements utility and be done with it. It's very easy to use. For example UserScript @name Highlight good comments @include http SOME_SITE @require http ajax.googleapis.com ajax libs jquery 1.7.2 jquery.min.js.. ajax libs jquery 1.7.2 jquery.min.js @require https gist.github.com raw 2625891 waitForKeyElements.js UserScript function highlightGoodComments jNode if beer i.test jNode.text jNode.css background yellow waitForKeyElements #userBlather..

How to get an AJAX get-request to wait for the page to be rendered before returning a response?

http://stackoverflow.com/questions/11486256/how-to-get-an-ajax-get-request-to-wait-for-the-page-to-be-rendered-before-return

running on the target master page. The target page's script then inserts the payload data to complete the mash up. UserScript @name _Cross site AJAX scrape demo @include http fiddle.jshell.net 9ttvF show @include http jsbin.com ahacab @require http.. libs jquery 1.8.3 jquery.min.js @require https gist.github.com raw 2625891 waitForKeyElements.js @grant GM_addStyle UserScript if fiddle .jshell .net i.test location.host console.log Master page start... Inform the user. #plainResults .before ' div..

jQuery in Greasemonkey 1.0 conflicts with websites using jQuery

http://stackoverflow.com/questions/12146445/jquery-in-greasemonkey-1-0-conflicts-with-websites-using-jquery

a @grant value other than none . Edit your Metadata Block to end with the following lines @grant GM_addStyle UserScript The @grant directive is needed to work around a design change introduced in GM 1.0 It restores the sandbox. The sandbox..

Choosing and activating the right controls on an AJAX-driven site

http://stackoverflow.com/questions/15048223/choosing-and-activating-the-right-controls-on-an-ajax-driven-site

my cart. I'm told that I need to match the code to the actual page HTML but I don't know how to do that. Please help. UserScript @name _Nike auto buy script @include http @require http ajax.googleapis.com ajax libs jquery 1.7.2 jquery.min.js @require.. libs jquery 1.7.2 jquery.min.js @require https gist.github.com raw 2625891 waitForKeyElements.js @grant GM_addStyle UserScript The @grant directive is needed to work around a design change introduced in GM 1.0. It restores the sandbox. var okayToClickAddtoCart.. to the key nodes and to sequence through the proper order of operations. The resulting complete working script is UserScript @name _Nike auto buy shoes script @include http store.nike.com @include https store.nike.com @require http ajax.googleapis.com..

Greasemonkey @require jQuery not working “Component not available”

http://stackoverflow.com/questions/2077714/greasemonkey-require-jquery-not-working-component-not-available

on here about loading jQuery in a Greasemonkey. Having tried that method with this require statement inside my UserScript tags @require http ajax.googleapis.com ajax libs jquery 1 jquery.min.js I still get the following error message in Firefox's.. @require for jQuery and saved my js file before installing it as required files are only loaded on installation. Code UserScript @name My Script @namespace http www.google.com @description My test script @include http www.google.com @require http ajax.googleapis.com.. My test script @include http www.google.com @require http ajax.googleapis.com ajax libs jquery 1 jquery.min.js UserScript GM_log Hello I have Greasemonkey 0.8.20091209.4 installed on Firefox 3.5.7 on my Macbook Pro Leopard 10.5.8 . I've cleared..

How can I use jQuery in Greasemonkey scripts in Google Chrome?

http://stackoverflow.com/questions/2246901/how-can-i-use-jquery-in-greasemonkey-scripts-in-google-chrome

share improve this question From http erikvold.com blog index.cfm 2010 6 14 using jquery with a user script UserScript @name jQuery For Chrome A Cross Browser Example @namespace jQueryForChromeExample @include @author Erik Vergobbi Vold Tyler.. Wright @description This userscript is meant to be an example on how to use jQuery in a userscript on Google Chrome. UserScript a function that loads jQuery and calls a callback function when jQuery has finished loading function addJQuery callback..

Using Greasemonkey and jQuery to intercept JSON/AJAX data from a page, and process it

http://stackoverflow.com/questions/6092754/using-greasemonkey-and-jquery-to-intercept-json-ajax-data-from-a-page-and-proce

just a matter of using my other brilliant D answer . Putting it all together the following should get you started. UserScript @name _Fun with JSON @include http www.trada.net @require http ajax.googleapis.com ajax libs jquery 1.5.1 jquery.min.js.. _Fun with JSON @include http www.trada.net @require http ajax.googleapis.com ajax libs jquery 1.5.1 jquery.min.js UserScript Create a cell for transmitting the date from page scope to GM scope. 'body' . prepend ' div id LatestJSON_Data div ' var..

Greasemonkey Jquery Script to Click Links

http://stackoverflow.com/questions/6466856/greasemonkey-jquery-script-to-click-links

do my first greasemonkey script. I'm fairly new to jquery and javascript so be easy on me. Here is what I have so far. UserScript @name load all page comments @require http ajax.googleapis.com ajax libs jquery 1.5.1 jquery.min.js @namespace none @include.. @require http ajax.googleapis.com ajax libs jquery 1.5.1 jquery.min.js @namespace none @include http www.reddit.com UserScript setInterval function window.alert Hello World a contains 'load more comments' .click 10000 The goal here is to click on..

jQuery.getJSON inside a greasemonkey user script

http://stackoverflow.com/questions/1647519/jquery-getjson-inside-a-greasemonkey-user-script

written a library that will do just that the Greasemonkey jQuery XHR bridge . If you @require that script in your userscript then all .get and .getJSON and .post etc. jQuery calls will work cross site without relying on techniques like JSONP. So..

How can I use jQuery in Greasemonkey scripts in Google Chrome?

http://stackoverflow.com/questions/2246901/how-can-i-use-jquery-in-greasemonkey-scripts-in-google-chrome

script under Google Chrome. Does anybody have some advice in this matter jquery google chrome greasemonkey require userscripts share improve this question From http erikvold.com blog index.cfm 2010 6 14 using jquery with a user script UserScript.. Example @namespace jQueryForChromeExample @include @author Erik Vergobbi Vold Tyler G. Hicks Wright @description This userscript is meant to be an example on how to use jQuery in a userscript on Google Chrome. UserScript a function that loads jQuery.. Vergobbi Vold Tyler G. Hicks Wright @description This userscript is meant to be an example on how to use jQuery in a userscript on Google Chrome. UserScript a function that loads jQuery and calls a callback function when jQuery has finished loading..

jsonp comet hanging request causes ugly “loading” status on browsers

http://stackoverflow.com/questions/3744488/jsonp-comet-hanging-request-causes-ugly-loading-status-on-browsers

to fail old Mozilla based Flock Based on Gecko 1.9.0 Firefox 3.0 It's not a complete list but it's every browser with userscript support I could find to test. I've already taken the time to cite my sources on the CORS wikipedia page if you want them...

Detect Visited Link In Chrome

http://stackoverflow.com/questions/5394099/detect-visited-link-in-chrome

Visited Link In Chrome I am using a userscript for Chrome and Firefox and I am checking for links that have been visited by the user. I have a color blue a visited color..

jQuery - detecting the operating system and operating system version

http://stackoverflow.com/questions/8774560/jquery-detecting-the-operating-system-and-operating-system-version

detecting the operating system and operating system version I have been writing a userscript for the past few months for my company and have just designed the main site for it with installation instructions our employees.. site for it with installation instructions our employees are based all around the world and very few have heard of userscripts let alone used them so this frontend is meant to cut down the time I spend supporting the script . What I would like to.. than the rest or simply not display irrelevant sections. For example for IE6 you must use Trixie I believe to install userscripts and this is supported on Win XP only. IE7 is supported on Win XP IE8 is supported on Win XP Win 7 and IE9 is supported..