Iframes run snippets always in their top window
Both latest and current stable ABP are affected.
How to reproduce
- Go to https://webreflection.github.io/eyeo/frames/
webreflection.github.io#$#hide-if-contains hidden spanfilter
- Optionally add
webreflection.github.io#$#log okfilter too
- Refresh the page to see filters in action
<span>hidden</span> element is removed only from the main page, but not within its iframes.
Each snippet is run 3 times (see 3
ok logs count) yet targeting always the same main page/window/document.
Each iframe should run snippets within its own
document, so that there should be still 3
ok logs, but each document should also not show the
<span>hidden</span> element in its own body.