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

Place WooPay button inside of an iFrame to prevent unsanctioned alteration of the brand #10142

Open
pierorocca opened this issue Jan 13, 2025 · 0 comments
Labels
focus: woopay type: enhancement The issue is a request for an enhancement.

Comments

@pierorocca
Copy link
Contributor

I submitted a PR that fixes the issue, but it’s a bit fragile. Ultimately, the host site will always be able to tweak the button’s style. If we truly want to prevent the site from modifying the button, we should consider placing it inside an iframe or using Shadow DOM.

Originally posted by @asumaran in #9454

@pierorocca pierorocca added focus: woopay type: enhancement The issue is a request for an enhancement. labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: woopay type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant