I am having the same problem, one script I have runs xmlhttpRequests
from a basecamp.hq page and it works fine, another from facebook and
it no longer works with firefox 4, I made a sample script to show it:

// ==UserScript==
// @name           xmlhttpRequest
// @namespace      none.com
// @description    xmlhttpRequest
// @version        0.0
// @include        http://www.facebook.com/*
// ==/UserScript==

alert("About to send xmlhttpRequest")

GM_xmlhttpRequest({
  method: "GET",
  url: "http://www.facebook.com/profile.php";,
  onload: function(response) {
        alert("success");
  }
});


When I run this from firefox 3.6 the page loads, sends the first alert
twice, then the second alert twice (due to a iframe I think).  In
firefox 4 it sends the first alert once and then the page does not
load.  I'm not sure if its something that needs to be fixed on firefox
4 or if it can be fixed from greasemonkey's side.


On Mar 22, 5:22 pm, Anthony Lieuallen <[email protected]> wrote:
> On 03/22/11 17:17, 4nt4r3s wrote:
>
> > Ok, so this works for one page, while exactly the same code does not
> > work for another.
>
> Can you provide the exact URLs for these pages, and the exact/entire
> script (preferably also via URL)?  Otherwise all we could do is guess.

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