-
Notifications
You must be signed in to change notification settings - Fork 306
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
question: css selector matching based on content (RegEx) #1091
Comments
Nope. Next time you should probably post this question on Stackoverflow since this has nothing to do with stylus extension. Also, I don't understand why not just use |
Nope, CSS doesn't have |
@tophf If it doesn't work with CSS Stylus should support XPath/JQuery, because it is very important for many websites. |
No, it shouldn't. Our extension injects pure CSS to ensure high performance, which is impossible to do with jQuery/xpath as we would have to observe the entire DOM using MutationObserver and apply each selector via JS to retain the cascade order, not just the non-standard selectors. |
That can be enabled on per-site basis. |
That's not what our extension is about. We won't support technologies that add huge overhead to pages. There are other extensions that support JS injection so try suggesting the idea to their authors. |
Currently only CSS is almost unusable as most advanced sites use dynamic obfuscation. You should reconsider better usability for your plugin. Maybe merging with other JS injection plugins. But of course this is big deal, so I'm not insisting. |
No, you'll have to make an extension or a userscript. Our eventual goal is to remove all JS content scripts and switch to a pure CSS method of injection when it's developed by browser, similarly to chrome.userScripts API. |
the goal is to force default font settings globally without setting
browser.display.use_document_fonts
to '0' (fingerprinting issues when combined with RFP), so i'm trying to this with css and that's not working spectacularly well, so is something like this possible? ...The text was updated successfully, but these errors were encountered: