Use the Greasemonkey tag if you are using Firefox or the Tampermonkey extension for Chrome. For all other userscripts, please use the "userscripts" tag. Greasemonkey is a Firefox add-on that allows you to enhance the way select web-pages work, by running javascript (with enhanced privileges) on ...
0
votes
0answers
10 views
Aceess Javascript object through Userscript
I'm trying to change the variable (_editor.userKeyOrMousePressed) in a page's external script using a userscript. But i am not able to access that variable.
The Code in Page's Externel Script:
...
0
votes
0answers
12 views
Greasemonkey renaming texts from array only works once
just discovered greasemonkey and played a bit.
I tested this line to change text content of a website
document.body.innerHTML= document.body.innerHTML.replace("someone","funny");
and it worked just ...
0
votes
1answer
11 views
URL changing Script for amazon not working
Im trying to write a little greasemonkey script that allows me to change the url with a little select box in the bottom right. I want to be able to switch between the different amazon markets (by ...
-2
votes
1answer
33 views
How to find a string before another string in a webpage using javascript?
I have this string in a webpage:
28M by Somerandomguy
How can I assign the 28 to a variable using Greasemonkey(javescript)
-1
votes
0answers
22 views
Grease monkey not installing on firefox 21 on android [closed]
I can't find anyone with this problem of not being able to install greasemonkey since installing Firefox version 21 on my android. My ultimate goal is to combine my fitness pal logging with weight ...
0
votes
0answers
16 views
Change rangetype in last.fm with Greasemonkey
I'm trying to change the last.fm layout or more precisely the default music-library image-display on main page. My aim is setting them to '1month' for every user. I tried several stuff but it all ...
0
votes
1answer
46 views
JavaScript Injection using Firefox Mobile
I would like to inject JavaScript into a website on a mobile browser (in this case on android). However, most mobile browsers do not seem to support any kind of plug-ins (except for Firefox, correct ...
1
vote
2answers
73 views
Click many links, in one page, with a Greasemonkey script?
I'm admin at 3 websites and my job is to delete unwanted items, usually clicking each item labeled "delete". I want to automate the process. Tried to use some automation programs (Macro recorders) ...
0
votes
1answer
20 views
Use Greasemonkey to change row format based on one cell's contents?
I have a table full of cells that look like this:
<tr class="dataRow odd">
<td class="actionColumn"> someAction </td>
<th class=" dataCell booleanColumn" scope="row">
...
0
votes
0answers
17 views
Greasemonkey, NoScript, and calling setTimeout() from blocked pages
is there a way an alternative to settimeout() if current page is blocked by noscript? Because it doesn't work if current page is blocked by noscript with greasemonkey.
Now I can just ask users to ...
0
votes
1answer
60 views
Injecting a document.write call from a Greasemonkey script causes nothing to load
The following injection works perfectly in Chrome, however in the latest Firefox (version 21), the documents stays "Connecting..." forever and not even its elements like <img> loads. (But if you ...
0
votes
1answer
16 views
Modernizr / Yepnope returns “n is undefined” error when used in GreaseMonkey
When yepnope (which comes by default bundled in Modernizr) is used on a GreaseMonkey userscript that @runs-at document-start, the whole userscript fails with the error "n is undefined", which means ...
2
votes
2answers
50 views
Accessing Javascript private variables with Greasemonkey
function Foo1() {
var bar = 'test';
}
AFAIK, it is impossible to access the variable bar from global scope, unless one writes a privileged function to do so, such as
function Foo2() {
var ...
1
vote
1answer
45 views
Greasemonkey to save specific data on the web page, to a database, has access errors?
I'm trying to extend the usability of a photo-gallery site using Greasemonkey.
The site has a thumbnail for each photo gallery and when you click those thumbnails, they open their own gallery pages.
...
0
votes
0answers
58 views
How to use ajax to post form data with non-UTF8 url-encoded string
I'm writing a greasemonkey script to add some features to one webpage(so clearly I can't change the code of the server side).
This is a really old website which only receives GBK encoded string. For ...