Closed Kyuuhachi closed 5 years ago
As of 2/2019, firefox-quantum-userchromejs appears to no longer work.
Really? I have a WIP plugin which depends heavily on this functionality, so that could be bad. I'll investigate later.
Nope, works fine for me (with FF 65, on Arch).
I had no issues at all, so that's pretty weird.
On Sat, Feb 2, 2019, 18:53 pm64 <notifications@github.com wrote:
@Caagr98 https://github.com/Caagr98, please let me know if you find differently. I tried for some time but was constantly thwarted by FF security.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nuchi/firefox-quantum-userchromejs/issues/8#issuecomment-459984896, or mute the thread https://github.com/notifications/unsubscribe-auth/ABebNkSUicwQyyorZ3G9uMKJDFDs3-Lrks5vJdCqgaJpZM4Y9WUB .
I'm baffled. I tried testing by adding an alert("foo") to userChrome.js, which caused a security error to display in the console. Then I tried logging a message to the console, which also failed. Maybe I just need to read up on this a little more. Thank you for this encouraging information.
works for me on version 66 beta. please open a new issue
@Caagr98 — fixed in the latest commit. Thanks for the report and the fix suggestion.
It seems a recent FF version changed
loadSubScript
so it uses a cache, which makes modifying userChrome.js a bit inconvenient. TheloadSubScript
line should be changed toServices.scriptloader.loadSubScriptWithOptions(makeRelativePathURI("userChrome.js"), {target: window, ignoreCache: true});
, but I'm too lazy to make a proper pull request.