-
Notifications
You must be signed in to change notification settings - Fork 304
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
Cannot install from URLs that end with .user.css in Stylus for Firefox(v57) (works ok in Stylus for Chrome) #258
Comments
In order for Stylus to recognize that it's a If you want to install automatically you need to access the file through Rawgit or a similar service that serves the file with the proper mime-type (as In the previous links, replace |
Thank you very much for the quick answer! So, I just installed them. It's just strange that in Stylus for Chrome, those initial |
The policies behind Chrome and Firefox's behavior differ. Chrome is built in such a way that it is more aggressive in what it assumes the user wants. This works ok sometimes (like this case) and in other cases backfires and causes problems. Firefox prefers standardized behavior and consistency, which also has its ups and downs. In any case, there is a solution that works for both in this situation and I'll be updating the wiki to make sure this is clear in the future. Thanks for using |
When @eight04 developed the user.css installer, it was made to work with Also, please check the console of the background page. Click the following link seen on the chrome://extensions/ page. |
@Mottie works in Chrome fine, just not in Firefox. |
Ahhh derp, I guess I should learn to read... LOL |
I'm pretty sure it is a CSP bug in Firefox. No content script can be injected into those pages. |
For those who randomly found this issue: Stylus added a workaround for |
First of all, I'm so glad I've found Stylus, it's so much better than Stylish!
Thanks to all for your awesome work!
Just one thing:
in the v1.1.4.3 changelog (and in documentation and #134 ), i've read that:
Unfortunately, all .user.css files I tried in Stylus 1.1.6.1 for Firefox (GitHub/gist raw URLs),
only display the CSS code.
Example URLs I've tried:
https://raw.githubusercontent.com/Mottie/Darker-Medium/master/darker-medium.user.css
https://gist.githubusercontent.com/eight04/1b9edeb170d9f8bbabfb06dc6627f8f7/raw/foo.user.css
(In Stylus 1.1.6.1 for Chrome 62, with default settings as well, they all install ok.)
The text was updated successfully, but these errors were encountered: