Skip to content

Image regex? #198

Description

@djay

Is your feature request related to a problem? Please describe.
I'm working on contributing many changes to better detect CMS and one of the best ways I'm finding is using image urls.
I'm finding this means many similar dom selectors for all the different places img urls can be such as background styles, meta content, srcsets, etc etc.
I suspect it would be more efficient to run and to write with an enhancement to the schema and have an imageSrc list similar to scriptSrc.

However this would of course break compatibility which might be against the goals?

Describe the solution you'd like

"imageSrc": [
   "/media"
}

Describe alternatives you've considered

Additional context

Activity

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

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