-
Notifications
You must be signed in to change notification settings - Fork 86
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
Installing user styles from different sources & Style metadata #165
Comments
Users can currently install from other sources in these ways:
So basically the missing portion to achieve what you want is some way to more easily add a site to extensions.stylish.install.allowedDomains. I would also to give some thought as to how to prevent abuse of this feature. For example, there's nothing currently stopping a site from opening infinite prompts until the user installs. |
I'm not interested in doing it the Greasemonkey way. I would consider a change that made it easier for sites to get into extensions.stylish.install.allowedDomains, but this would have to be paired with protections to prevent abuse. |
We could use options.xul. |
Sad to see this closed. I prefer to keep my scripts and styles on gist.github.com. While it works perfectly for Greasemonkey scripts, some extra clicks are required for styles.
If this would require some changes done on GitHub side for example, I do not think it's possible. |
Just commenting to add there doesn't seem to be a way to add stylesheets from sources other than userstyles.org for Stylish on the Android version of Firefox (at least with the user.css I've tried hosted on Github), nor is adding them manually possible with that version of the addon, so this suggestion to include a pop-up notification would be very much appreciated in that case. Edit: I should also mention that there is no Manage or 'Install from URL' option in the Stylish version on FF for Android for me (using the latest version), only Disable and Uninstall. So per the workarounds @JasonBarnabe listed the only one that would apparently work here is creating a compatible web page with the appropriate Javascript and adding the page to the about:config whitelist. |
I see no documentation about this and I have few suggestions about it.
I think this is a must-have feature for the freedom of users.
A user should be able to install styles from other sources.
Example:
└► This dialog is only shown once and shown when it is required
└► Domains can be removed/set/added from User Styles tab in about:addons
Metadata is required to differentiate user styles
There should be two userstyle files. First one is .user.css, containing the style content and "==UserStyle==" block.
Second, .meta.css is a just a CSS file containing only "==UserStyle==" block. This file is used for version checking. Downloading this file will help the network and it will use less resources.
Example "==UserStyle" block (this should be placed at the beginning of a file)
I should be able to install any style by simply linking to it from any site.
(A user can install a style from a.com when browsing b.com)
Greasemonkey install dialog is a good example for this.
http://forum.userstyles.org/discussion/comment/9774 is a related thread about it from 4 years ago.
The text was updated successfully, but these errors were encountered: