The regexp has to remove ,id or id, in read and unread. GM_setValue(\'unreadids\', unreadids.replace(new RegExp(\'(\'+id+\',)|(,\'+id+\')\', \'i\'),\'\'));
On Firefox, I click Tools, Addons, Extensions, Greasemonkey, Options, select my user script, click Edit, change the source code, click save, reload one of the included pages, but the script is the unc
How can I click 开发者_Python百科in a image/function with javascript? Something like: document.getElementById(\"check-in-banner\").click();
Is there a good way to store an extensive amount of data when using Greasemonkey开发者_如何学编程 for when GM_setValue just doesn\'t cut it?Well here are the options:
开发者_JS百科var xhReq = new XMLHttpRequest(); xhReq.open(\"GET\", linksRaw, false); xhReq.send(null);
I\'m totally new to GreaseMonkey, but I\'m trying to make a little script. // ==UserScript== // @requirehttp://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
I just want my GM script to do a window.alert(foo) where foo is equal to a local 开发者_Python百科javascript variable within the page.
Ok, I\'m a bit of a n00b when it comes to JS (I\'m not the greatest programmer) so please be gentle - specially if my questions been asked already somewhere and I\'m too stupid to find the right answe
I load jquery into 开发者_如何学运维my greasemonkey script and when the user clicks the start button the script makes a bunch of ajax calls. I then empty body and append data. When i click on somethin
if i compile a greasemonkey script into an xpi, then can that xpi access to local file to read and write files from hard开发者_开发问答 disk???