Skip to content
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

collapse screen area of all blocked objects #12

Open
jsamuel opened this issue Dec 22, 2011 · 1 comment
Open

collapse screen area of all blocked objects #12

jsamuel opened this issue Dec 22, 2011 · 1 comment

Comments

@jsamuel
Copy link
Member

jsamuel commented Dec 22, 2011

imported trac ticket
created: 2009-06-21 17:29:41
reporter: Chris Buijs

Add an option to collapse the screen area of all blocked objects (similar to the feature in !AdBlock Plus). This would be for all types of objects, including images.

@jsamuel
Copy link
Member Author

jsamuel commented Dec 22, 2011

imported trac comment
created: 2011-02-16 10:45:13
author: eibwen

{{{AdBlock+}}} would be the reference here, but would this be as trivial as adding a class, eg _rp_shouldLoad_denied, which could be targeted with css, eg:

_pr_shouldLoad_denied {
display: none;
}

or:

_pr_shouldLoad_denied {
max-width: 0px;
max-height: 0px;
}

Breakage is likely expected here, as the end user is opting to arbitrarily modify the page -- and dynamically at that, as policies are changed. This would make using image placholders impossible, but it seems to have a valid use case.

For the general case, the above should be easy enough -- this mostly already happens when the menu is populated; however, tags like {{{}}} get a little tricky, as they may or may not represent an actual prior request (or even a request at all). However, this is probably just another instance where not trying to guess what requests happened after the fact would be useful...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant