Closed Bug 1643941 Opened 6 years ago Closed 6 years ago

Obligation to click twice (nothing to do with a double click) on the links

Categories

(Firefox :: Untriaged, defect)

68 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: pp, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Firefox 77.0.1 64 bits French under W10
Site https://assiste.com
In some cases, a click on a link (internal to this site) doesn't do anything. Obligation to click a second time to go to the page.

Actual results:

Ask my moderators to verify. Same with Firefox under Linux. The problem does not occur under other browsers.

Expected results:

1 click on a link.

UA spoofing seems to fix the issue. I.e., set general.useragent.override to "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36".
So, this seems the website issue.

The page loads https://notifpush.com/scripts/nadz-sdk.js.
And "click" event is attached to document.

        if (navigator.userAgent.toLowerCase().indexOf('firefox') > - 1) {
          var e = 0;
          document.addEventListener('click', function (t) {
            if (e < 1) {
              t.preventDefault();
              startWPN();
              e++
            }
          })
        } else {
          startWPN()
        }

I don't understand why the website is doing this :(

general.useragent.override created, but nothing changes.
I will see with the third party that I suspect to launch this .js and would get back to you.
Thank you

Blocking notifications should just block notifications, not the display of the page. And why does a second click allow, then, to display the same page blocked just before?
Authorizing a site to send notifications does not change anything.

Aside from the technical problem encountered and confirmed, the notifications may be advertisements, but what we're looking for is to block the underlying tracking. Systematically blocking notifications consists of intervening / interfering ex officio, on your own, in the economic model of websites, which is, probably, legally intrusive. The number of websites that have become purchasable due to the destruction of their business models, or their outright disappearances, is unsupportable. It seems to me that this is exactly the opposite of the approach of the Mozilla Foundation.
http://assiste.forum.free.fr/viewtopic.php?f=116&t=35560

The third party seems to have modified / corrected its Firefox support. The problem no longer seems to occur.

Can be closed.
Thanks.

Hi PP,
Thanks for your reply, I will close this as Resolved WFM based on your comment.
Please feel free to reopen it if you can still reproduce this.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.