Skip to content

Use tag names in cosmetic filter candidates where it makes senseΒ #2046

@gorhill

Description

@gorhill

Description

Source post on Reddit:

u/gorhill4 would it be maybe possible to let picker suggest unique/non-common element names (so either make an inclusion list, such as :is(header, footer) or an exclusion one :not(:is(div, span, a, img, p))) over id/class?
Or if not circumvent the attributes, just suggest the element name in the prefix e.g. footer._2i5Ko.t6659, which could help users make a correct choice?

So essentially make use of the tag name when it makes sense, maybe when it involves tag names with a very specific semantic (as opposed to div for example).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions