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

Require referrerpolicy="no-referrer" on images? #78

Open
alltom opened this issue Dec 28, 2018 · 1 comment
Open

Require referrerpolicy="no-referrer" on images? #78

alltom opened this issue Dec 28, 2018 · 1 comment

Comments

@alltom
Copy link

alltom commented Dec 28, 2018

I'd like bluemonday to add referrerpolicy="no-referrer" to all img tags, but I don't see a way to do that with the current API. Maybe we could get an API like RequireReferrerPolicyOnImages(policy ReferrerPolicy)?

The referrerpolicy attribute is experimental but has decent support.

@grafana-dee
Copy link
Contributor

A good proposal, I'll get something done for this soon.

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

2 participants