The website eco99fm.maariv.co.il is blank with ETP set to Strict
Categories
(Core :: Privacy: Anti-Tracking, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: ctanase, Assigned: twisniewski)
References
(Blocks 1 open bug, )
Details
Attachments
(2 files, 1 obsolete file)
Environment:
Operating system: Android 11
Firefox version: Firefox Nightly Mobile 104.0a1 (GV: 104.0a1-20220630095519)
Preconditions:
ETP set to STRICT
Clean profile
Steps to reproduce:
- Go to https://eco99fm.maariv.co.il
- Observe the page
Expected Behavior:
The website loads correctly.
Actual Behavior:
The website is blank, contains no content/elements.
Notes:
- Screenshot provided
- Not reproducible on Chrome
- Not reproducible on Desktop
- Not reproducible with Standard ETP
- The results are the same in Private Window
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
The content is pushed off the page for me in responsive design mode unless I make the window large enough.
That's because on small window sizes (such as on a mobile screen) their page first forces the user to view an ad that is being blocked (they must dismiss the ad before the page resizes to a mobile layout).
Indeed, an error is visible in the console, which reveals that this piece of code is failing, as there are no child nodes for the ad:
onLoad() {
const t = this.adRef.nativeElement.children;
this.showDialog = t.item(0).hasChildNodes(),
this.showCloseButton = t.item(0).hasChildNodes()
}
I see that SmartBlock shims are kicking in, so we may be able to adjust those to work with this site.
Assignee | ||
Comment 3•2 years ago
|
||
Ah, this sites passes not an element id, but a slot, to the display
function of GPT. I've been wondering how long it would be before I saw this in the wild. This can be easily fixed in the shim, and I've got a patch in the works, but unfortunately the site is also simply broken. Their above code doesn't wait until after they've defined and displayed their ads, and so it will randomly happen that you're left on a page with endless ads you can't escape until you reload (or you'll get a black page until you reload, if the ads are blocked). There's not much I can do about that; I'd be surprised if it somehow doesn't also happen in other browsers.
Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Pushed by twisniewski@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/11a79b51deeb update the SmartBlock GPT shim to accept elements and slots as the parameter for display, and return already-defined slot when attempting to re-use the same id in defineSlot; r=ksenia,webcompat-reviewers
Comment 6•2 years ago
|
||
bugherder |
Description
•