Am 29.08.2011 08:44, schrieb applepie4:
Im not working on a FB game FYI.
It is an auto-login script to claim in-game freebies.
I am using the site's domain name in the @include. I dont know what else to
include since it works across several pages including domain/sub-domain.
Unless i learn to use AJAX. Or just use a more specific trigger?
Time to read up on AjAX and DOM
Common ways to delay / customize the execution of a function:
hello = function () {
document.title="Hello World";
}
+ one of these methodes (one per line):
window.addEventListener("load", hello, false); // Waits for all
contents, not only for DOM content to be loaded before the function is
called
GM_registerMenuCommand("Say hello", hello); // Puts a clickable item
"Say hello" into the Greasemonkey menu to execute the function manually
setTimeout(hello, 5000); // Waits five seconds before it calls the
function
Chris
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.