Hi @all,

I just did the mistake of installing firefox 4, however I noticed that
two identical parts of my scripts do not work on different sites. The
idea of the scripts is to fetch some data using XM_xmlhttprequest and
then parse and enter them into a web form. Here's my code:

var id;
window.setTimeout(go, 1500);

function go()
{
  id = prompt("Bitte eine ID eingeben","");
  if(id == "")
    return;
  GM_xmlhttpRequest({
    method: 'GET',
    url: 'http://example.org/getprops.php?id=' + id,
    headers: {
      'User-Agent': 'Lol',
    },
    onload: doit});
}

Ok, so this works for one page, while exactly the same code does not
work for another.
a) The use of this window.setTimeout method works on Page a, not on
Page b
b) if I replace the setTimeout with a direct call for page b, go is
being executed, but the onload callback function
    is never being called. I tried altering names. This does work for
page a, not for b again

c) I took care that neither page a nor b has conflicting javascripts/
variables/functions.

Is this already a known bug, or did I just find it?
One Note aside: This did work with Firefox 3.6.15, and now as I'm back
to that version again, this script is working for both page a and b
again. Glad :-D

mfg 4nt4r3s

-- 
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.

Reply via email to