How to make the code non-global??
How to make the code non-global?? It keeps saying "Style code looks unintentionally global". Smh.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
https://github.com/stylish-userstyles/stylish/wiki/Preventing-global-styles
When importing styles to userstyles.org its important to add a @moz-document at the top of your style. This will indicate what site the style needs to apply on. Not adding this will make it global meaning it will apply on all sites.
Example, If you want to add a style for google
Example, if you want to add separate styles for the different domains
it's important to add the style for each domain with an extra bracket }
Example
If there is anything else or need help with getting your code polished.
Don't be afraid to contact me.
Discord :
Trigstur#5919
Twitter :
CasualTrig