Closed Bug 1600538 Opened 5 years ago Closed 4 years ago

eksisozluk.com - have to click double to bypass etp

Categories

(Core :: Privacy: Anti-Tracking, defect, P3)

70 Branch
Unspecified
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox87 --- fixed

People

(Reporter: karlcow, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [tp-shim-complex][tp-site-severe])

Links are only can be opened by clicking twice.

Happening only ETP is on, on Firefox nightly preview

Component: Protections UI → Privacy: Anti-Tracking
Product: Firefox → Core

There is a JS exception that is raised from this code from https://ekstat.com/js/ek$i-defer.js?v=vC1VbMn-3Qn5jk18aEwSjykWrddENxjK6NNNywAgiWM1:

typeof r[0].children[0].children[0].children[0] == 'undefined' && typeof e == 'undefined' && t.open(f, '_self')

r[0].children[0].children is an empty array here, presumably due to some elements missing from the DOM due to blocking.

This can be reproduced on desktop in strict mode and/or in a private window.

Blocks: tp-breakage
No longer blocks: etp-breakage
Component: Privacy: Anti-Tracking → Protections UI
Product: Core → Firefox
Component: Protections UI → Privacy: Anti-Tracking
Product: Firefox → Core
Priority: -- → P3

The links work if I allow these scripts to load:

https://www.googletagservices.com/tag/js/gpt.js
https://securepubads.g.doubleclick.net/gpt/pubads_impl_2020040702.js

The page is relying on the ads being loaded and shown, or at least for the ad scripts to inject some nodes. This is done when they make calls like this in their scripts:

top.googletag.display('div-gpt-ad-1586289900942-0');

And when I shim the googletag object completely enough so that it can accept their site's commands (mainly as no-ops aside from the display method actually adding the nodes they expect -- a single div will do), then I can click the links as expected. So we can likely handle these kinds of cases by shimming gpt.js (it appears that the second pubads_impl script can remain blocked with my minimal shim).

Blocks: tp-googleads
No longer blocks: tp-breakage
Whiteboard: [tp-shim-complex][tp-site-severe]

I can't reproduce the issue on my side, with ETP - Standard or Strict, I can single tap/click the links and be redirected accordingly.

Tested with:
Browser / Version: Firefox Nightly 210201 (🦎 87.0a1-20210129095945), Firefox Nightly 87.0a1 (2021-02-01)
Operating System: Samsung Galaxy S8 (Android 9) - 1440 x 2960 pixels, 18.5:9 ratio (~570 ppi density), Huawei P20 Lite (Android 8.0.0) - 1080 x 2280 pixels, 19:9 ratio (~432 ppi density), Windows 10 Pro

Karl does it still occur on your side?

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(kdubost)
Resolution: --- → WORKSFORME

It's working. Thanks.

Flags: needinfo?(kdubost)

(In reply to Thomas Wisniewski [:twisniewski] from comment #3)

The links work if I allow these scripts to load:

https://www.googletagservices.com/tag/js/gpt.js
https://securepubads.g.doubleclick.net/gpt/pubads_impl_2020040702.js

Shim was added in bug 1637329 and enabled in bug 1693386 for Firefox 87.

See Also: → 1713685
You need to log in before you can comment on or make changes to this bug.