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

Image regex? #198

Open
djay opened this issue Nov 6, 2024 · 0 comments
Open

Image regex? #198

djay opened this issue Nov 6, 2024 · 0 comments

Comments

@djay
Copy link

djay commented Nov 6, 2024

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

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

No branches or pull requests

1 participant