Should host website be able to capture MonetizationEvent from iframes?
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 607
- Forks
- 166
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 7
Description
If a document contains <iframe allow="monetization">, should window.addEventListener('monetization') include events from iframes? event.target could be relevant iframe in this case.
In other words, should a website be able to know how much money is being sent to the embeds on the page Event bubbling doesn't allow this, but perhaps window should include events from all browsing contexts on the page?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the stated interaction between an iframe with allow="monetization", window.addEventListener('monetization'), event.target, and event bubbling. Done means reaching and documenting a clear specification decision about whether the host receives MonetizationEvent events from embedded browsing contexts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- payments, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100