javascript Programming Glossary: gm_xmlhttprequest
Why is window (and unsafeWindow) not the same from a userscript as from a <script> tag? http://stackoverflow.com/questions/10824697/why-is-window-and-unsafewindow-not-the-same-from-a-userscript-as-from-a-scrip cross domain provided by the GM_ functions especially GM_xmlhttpRequest . Note that currently Chrome only supports GM_addStyle GM_xmlhttpRequest.. . Note that currently Chrome only supports GM_addStyle GM_xmlhttpRequest GM_log and GM_openInTab fully natively. Tampermonkey supports..
How to use GM_xmlhttpRequest in Injected Code? http://stackoverflow.com/questions/11377191/how-to-use-gm-xmlhttprequest-in-injected-code to use GM_xmlhttpRequest in Injected Code I am writing a userscript that is injected.. Chrome. Here is the section of code I can't get to work. GM_xmlhttpRequest method POST url http localhost 7777 data testing123 headers.. versus @include can kill the Cross domain ability of GM_xmlhttpRequest Bug function InjectDemoCode body .prepend ' button id gmCommDemo..
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 image I have tried a synchronous Ajax request as well as GM_xmlhttpRequest to no avail. This is the problematic progress bar of Site 2.. the resource page's javascript and or AJAX requests. Use GM_xmlhttpRequest to directly fetch just the payload data instead of trying to..
I have to refresh the page for my Greasemonkey script to run? http://stackoverflow.com/questions/14024120/i-have-to-refresh-the-page-for-my-greasemonkey-script-to-run '_blank' mydiv.appendChild a function updateCheck try GM_xmlhttpRequest method 'GET' url 'http camzilla.net downloads jobAids.user.js..
jQuery.getJSON inside a greasemonkey user script http://stackoverflow.com/questions/1647519/jquery-getjson-inside-a-greasemonkey-user-script improve this question Wouldn't it be nice if jQuery used GM_xmlhttpRequest internally so that you could have all the convenience of the..
Greasemonkey, overriding website functions http://stackoverflow.com/questions/4064035/greasemonkey-overriding-website-functions If you don't use any GM function like GM_setValue or GM_xmlhttpRequest I recommend you to do the following var script document.createElement..
GreaseMonkey script to auto login using HTTP authentication http://stackoverflow.com/questions/49158/greasemonkey-script-to-auto-login-using-http-authentication where you can send GET POST requests to the server called GM_xmlhttpRequest http diveintogreasemonkey.org api gm_xmlhttprequest.html So.. var base64string Base64.encode username password GM_xmlhttpRequest method 'GET' url 'http foo.com trac login' headers 'User agent'..
How to get data with JavaScript from another server? http://stackoverflow.com/questions/578095/how-to-get-data-with-javascript-from-another-server on a server . Note one way is using Greasemonkey and its GM_xmlhttpRequest. javascript share improve this question You should check..
Downloading an image using XMLHttpRequest in a userscript http://stackoverflow.com/questions/8778863/downloading-an-image-using-xmlhttprequest-in-a-userscript domain but since this is a userscript Chrome now supports GM_xmlhttpRequest in userscripts only. Something like this should work note that.. like this should work note that it is asynchronous GM_xmlhttpRequest method 'GET' url 'https fbcdn photos a.akamaihd.net hphotos.. ' p ' reader.readAsDataURL blob Unfortunately GM_xmlhttpRequest does not yet support setting responseType . So for GM script..
|