![]() |
|
Greasemonkey script help - Printable Version +- kanji koohii FORUM (http://forum.koohii.com) +-- Forum: Learning Japanese (http://forum.koohii.com/forum-4.html) +--- Forum: Learning resources (http://forum.koohii.com/forum-9.html) +--- Thread: Greasemonkey script help (/thread-8013.html) |
Greasemonkey script help - CapnCrunch - 2012-07-04 I'm looking for a way to get greasemonkey to execute the script once a specific key is pressed. For example, a web page would load normally, then after the user presses the defined key, the script would run a specified function. I've tested the function and it works, but only when the page has loaded. The script doesn't have any effect when changes are made to the page after it has loaded. I figure that if the script would wait for the a keypress, the user could press the key after all changes have been made to the page. Any ideas? Greasemonkey script help - netsplitter - 2012-07-04 It probably needs to be inside a document.onready. Without seeing the script, there isn't much I can suggest. |