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

Provide alternative way in picker to block by dimensions #1736

Closed
grenzor opened this issue Jun 19, 2016 · 3 comments
Closed

Provide alternative way in picker to block by dimensions #1736

grenzor opened this issue Jun 19, 2016 · 3 comments
Labels

Comments

@grenzor
Copy link

grenzor commented Jun 19, 2016

Currently, when using the element picker it usually blocks cosmetic elements by the element names.

Is it possible to add an additional way in the element picker to block by automatically determining dimensions and block using the element selection methods e.g.

##div[style="width:300px;height:250px;"]
##table[height="100"][width="100"]

This would also help block most uniquely generated cosmetic elements

@elypter
Copy link

elypter commented Aug 10, 2016

i think its possible to do this with xpath but it doesnt work in the picker

@gorhill
Copy link
Owner

gorhill commented Aug 11, 2016

There is no reason to use xpaths when plain CSS selectors can do the job:

When it comes to cosmetic filtering, preferably, always favor a plain old CSS3-based cosmetic filter, since they can be used in a declarative way, inside a style tag.

@gorhill
Copy link
Owner

gorhill commented Nov 19, 2022

I will only consider requests by volunteers with a long track record of maintaining filter lists.

@gorhill gorhill closed this as completed Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants