New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow scripts to execute on the file:
protocol
#2780
Allow scripts to execute on the file:
protocol
#2780
Conversation
0aa57c6
to
e6bcbe1
Compare
In #2782 I mentioned that I didn't recall how I stumbled upon the error. Well, I figured it out. It was when I was working on this pull request. I found that out as I was going over the tests that I had I've rebased this pull on to #2782. As well as pushed the tests. |
I checked out this branch and installed this script:
But I don't see the log message. This switches to |
Interesting. At the moment I don't have access to newer versions of FF to test, but it worked on RHEL6 FF 52.5.1. And if I'm remembering correctly it should have worked on elementaryOS (Ubuntu based) FF 57.? (although it may have been on nightly and therefore FF 59.?). I don't recall testing on my Windows. |
I'm testing on Ubuntu, FF 59. |
I have an addon where I use I overcame the problem by adding Note: However ............... It says here as well the API doesn't allow injection to file at all (unless manually allowed by the user) :( https://stackoverflow.com/questions/34250957/google-chrome-chromium-event-filter-local-file-hostname |
Weird. I just double checked on elementaryOS FF 57 + 59, both worked. Also tested on Windows 59, worked as well. I could start up a Ubuntu VM and see if it's just that platform (which is again, weird). I tested by typing the path into the URL and by running |
e6bcbe1
to
cef4720
Compare
Is there a beta to test? |
cef4720
to
3a01c63
Compare
Nothing has been pushed to AMO. You can always check out my branch and manually install from file or load temporary add-on. |
I grabbed an Ubuntu VM (nothing to install an actual copy on at the moment) and see no problems. After I enabled GM (since it's currently off by default), I performed the same tests as above, drag+drop, URI navigation, and |
3a01c63
to
43d7cfb
Compare
Tried to test again and I agree that it works. Wonder what I did wrong before. |
#2693