nothing2323 / gladiatus-crazy-addon

Automatically exported from code.google.com/p/gladiatus-crazy-addon
0 stars 0 forks source link

addon not working on firefox 17 #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.use firefox 17.0

What is the expected output? What do you see instead?
auctions time isn't loading
fight simulation shows 0% each time

What version of GCA are you using? On what browser?
the newest beta 3 on firefox 17

Please provide any additional information below.

Original issue reported on code.google.com by szymon.k...@gmail.com on 23 Nov 2012 at 11:04

GoogleCodeExporter commented 8 years ago
For some reason it seems like the problem lays with the Greasemonkey version 
used to compile Crazy addon.

As the response from GM_xmlhttpRequest with method "GET" returns no response

Proposed fix:
The use of regular XMLHttpRequest on ajax gets seems to do the trick.

Original comment by Pav...@gmail.com on 25 Nov 2012 at 9:04

GoogleCodeExporter commented 8 years ago
@Pav  ... what exactly would need to be changed?
..
for my understanding it is a bug of Firefox not to process requests like in the 
previous versions
-> i tried every single firefox version since 4 --> only the new one fails
..
we downgraded to Firefox 16

Original comment by josef.kl...@gmail.com on 29 Nov 2012 at 8:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
@josef
Yes it's correct it's a bug with firefox 17 and how greasmonkey handles the:
    GM_xmlhttpRequest({
        method: "GET",
        url: '',
        onload: function(response){
        }
    });

If changed to a regular XMLHttpRequest() it seems to work.

            var xhr = new XMLHttpRequest();
        xhr.open("GET", url, true);
        xhr.onload = function(response){};
                xhr.send();

Or find what it is in the GM version of the function that hangs.

(on a side note it seems like the scriptish version of the same call still 
works) so might be worth to refactor the gm call that crazy uses into that one 
instead.

Original comment by Pav...@gmail.com on 30 Nov 2012 at 9:52

GoogleCodeExporter commented 8 years ago
There are quite many JavaScript problems with FF 17 version. Not only in this 
plugin.

Original comment by imants.h...@gmail.com on 30 Nov 2012 at 10:12