-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Override CSS style #430
Comments
Stylish? |
Not with uBlock. What you ask is really best accomplished with Stylish. |
You don't need to use any extension to do that on Firefox: http://superuser.com/a/319322/33758 |
I do know about other extensions, but it should be part of the ad-block as it's not to re-style the page, but really just to hide ads. Enabling back ads for example, should not apply those styles. Why not have it part of uBlock? |
You can enable ads back, if you know what you're doing, by disabling certain filters (cosmetic and/or network based). |
My point is that users may want to enable/disable ads and uBlock should completely hide them when it can, not just leave a blank rectangle. In some cases this would be possible only by having some CSS filter or CSS override (when uBlock is enabled for that particular site). |
You would have to make that yourself as it would be difficult to go through every single website with ads and do that. Thats why you should either use Stylish or userContent.css. Integrating Stylish or something similar to uBlock would make it heavier and not many people would want that to be honest. |
Sites that have a sidebar for ads, sometimes it's not enough to just set
display: none
on the sidebar to get back the space taken by it. For example it may havebody { padding-right: 300px; }
. Of course another extension could handle styling for a given website, but it should really go hand in hand with the blocking of ads (enabled and disabled together).Is there a way to write custom CSS that should be injected for given websites?
The text was updated successfully, but these errors were encountered: