BrowserWorks / Waterfox-Classic

The Waterfox Classic repository, for legacy systems and customisation.
https://classic.waterfox.net
Mozilla Public License 2.0
183 stars 31 forks source link

Cloudflare #219

Open Waltraute opened 2 months ago

Waltraute commented 2 months ago

Waterfox Classic cannot display the many sites that favour 'proving you are human' with Cloudflare. It can't seem to load the silly little tickbox and gets stuck.

To Reproduce

  1. Go to '...' Any site that protects itself from visitors with Cloudflare
  2. Wait

Expected behavior To enter and browse the site

Desktop (please complete the following information):

Additional context Like all other users I hope that someone will be able to take on updating Waterfox Classic. I increasingly have to transfer tabs to Chromium but I still value those XUL add-ons and it remains my default browser. Fixing the Cloudflare incompatibility would make more difference than anything.

reallyuniquename commented 2 months ago

No way to even debug this properly and Cloudflare requires too many new API to pass a browser "check". I doubt anyone would fix this. If you absolutely need to access Cloudflare protected page on a legacy browser you can pass verification on your Chromium and then copy cookies and clone useragent string. That would give you a few days of peace.

EternityEngine commented 2 months ago

It seems to be primarily a JavaScript issue, since that's the kind of errors coming up in the browser console. For example, if I try to access a fanfiction on fanfiction.net:

Unable to check <input pattern='.*.(?i)(png|jpe?g|gif|bmp).{0,10}'> because the pattern is not a valid regexp: invalid regexp group  30
Error: Message: TypeError: se.attachShadow is not a function - URL: https://challenges.cloudflare.com/turnstile/v0/g/ec4b873d446c/api.js?onload=Jeuhg1&render=explicit - Line: 1 - Column: 29378 - Error object: {}  v1:1:50883
    Error self-hosted:1012:17
    fi https://www.fanfiction.net/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1:1:50883
    fi self-hosted:985:17
    fb/</</< https://www.fanfiction.net/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1:1:25332
    fb/< https://www.fanfiction.net/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1:1:25522
    fb https://www.fanfiction.net/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1:1:25552
    fb self-hosted:1037:17
TypeError: se.attachShadow is not a function[Learn More]  api.js:1:29378
    T https://challenges.cloudflare.com/turnstile/v0/g/ec4b873d446c/api.js:1:29378
    fh https://www.fanfiction.net/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1:1:53411
    fh self-hosted:985:17
    fb/</</< https://www.fanfiction.net/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1:1:25332
    fb/< https://www.fanfiction.net/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1:1:25522
    fb https://www.fanfiction.net/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1:1:25552
    fb self-hosted:1027:17
    <anonymous> https://challenges.cloudflare.com/turnstile/v0/g/ec4b873d446c/api.js:1:46348

I sometimes get other JavaScript errors, but I'm not exactly sure how they're triggered.

Edit: Just managed to fix it with the Polly+ add-on recommended for fixing Github here. Just needs dom.webcomponents.enabled;true selected.