question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't work on Firefox 59 on a Mac

See original GitHub issue

This addon doesn’t seem to work on Firefox 59 on MacOS. Attached you can find a screenshot with the console output on Firefox and on Chrome. You can see in the screenshot that the request is blocked on firefox and works on Chrome.

I disabled Cors on Chrome running it with this command:

"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"  --disable-web-security --user-data-dir=/Users/mac/chromeprof  --allow-running-insecure-content --allow-file-access-from-files

cors-firefox-chrome

I modified the file cors-everywhere-html this way:

var xhr = new XMLHttpRequest();
            xhr.open("get", "http://google.com", true);
            xhr.withCredentials = true;
            xhr.onreadystatechange = function(r) {
                document.getElementById("response").innerHTML +=
                    "<hr />readyState: "+r.target.readyState+
                    "<br />status: "+r.target.status;
                    
                    if (this.readyState == 4 && this.status == 200) {
                        console.log(this.responseText);
                        console.log(this)
                        console.log(r)
                      }
            }
            xhr.send();

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Medtrackcommented, Mar 22, 2018

Ok. I found the issue!!! My fault. Thank you very much for your job! Sorry for the inconvenience. The problem was that I have the Duckduckgo Privacy Essentials addon and it looks like that plugin blocks this one. I can disable that plugin and it works. captura de pantalla 2018-03-22 a las 9 49 56

0reactions
Medtrackcommented, Mar 22, 2018

It keeps failing on my computer. The button is in the top bar and enabled. There’s a message in the console in Spanish. It says this: "Request from another origin blocked: the same origin policy disallows reading the remote resource in … ".

It’s version 17.7.16.1852 from firefox addon page. If I have time, I will try to debug later. pantallazo

Read more comments on GitHub >

github_iconTop Results From Across the Web

I have MAC 10.9.5. My Firefox 59.0 will not go to a few ...
I have a MAC 10.9.5. TOday firefox stopped loading a couple favorite sites. So I managed to figure how to update it to...
Read more >
cannot run firefox 59.01 on Mac OS 10.13.3
Try to start Firefox in Safe Mode to see if that works. Mac: hold down the Options key while starting Firefox; Windows: hold...
Read more >
Firefox 59.0 System Requirements
Firefox System Requirements. Firefox 59.0. Windows. Operating Systems (32-bit and 64-bit). Windows 7; Windows 8; Windows 10. Recommended Hardware.
Read more >
Firefox won't respond on my Mac.
Open the Firefox Disk Image file and drag the Firefox application to the Applications folder on your hard drive. You shouldn't double-click the ......
Read more >
Firefox 59 will not show up in Windows 10?
Using your file browser, open the Programs Folder on your computer. Windows: C:\Program Files C:\Program Files (x86). Mac: Open the " ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found