UserAgent-Switcher icon indicating copy to clipboard operation
UserAgent-Switcher copied to clipboard

Cloudflare infinity loop

Open ghost opened this issue 4 years ago • 9 comments

Hey, I've noticed that if you try to access a cloudflare protected site (DDoS Protection Mode) that you'll get stuck on the redirection site forever.

Sites for testing are like: spigotmc.org forum.wii-homebrew.com

and much more.

OS: Windows Browser: Firefox 92.0 (64-Bit) Addon Version: 0.4.7.1

ghost avatar Sep 12 '21 09:09 ghost

Some agent settings causes loops with cloudflare. Not sure why. Pick a different one and try again.

Sada-Mio avatar Sep 18 '21 20:09 Sada-Mio

The only solution I've found - is to reset the user agent and leave it real, not spoofed. The sites, which you would like to spoof (for example, google thinks I'm using Chrome, not Firefox), I added the relevant setup in custom mode of addon's settings.

giving-sesame avatar Dec 16 '21 08:12 giving-sesame

Is there any work around like making UserAgent Switcher disable automatically on Cloudflare checks?

PenguThePenguin avatar Dec 24 '22 15:12 PenguThePenguin

anyone have any idea? Im sick of disabling it on cloudflare checks?

PenguThePenguin avatar Feb 20 '23 17:02 PenguThePenguin

anyone has any idea how to solve this problem

beh-10257 avatar May 09 '23 11:05 beh-10257

Start your browser with --user-agent="THE_UA_USED_IN_THIS_EXTENSION". This way, the UA matches all possible tests, and you can pass the security check of Cloudflare.

ray-lothian avatar May 09 '23 11:05 ray-lothian

I tried librewolf --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5666.197 Safari/537.36" yeah that didn't work at least for https://alternativeto.net/

beh-10257 avatar May 09 '23 11:05 beh-10257

On FF, go to "about:config" and create a new preference called general.useragent.override. Set the type to string and set the custom user-agent there.

ray-lothian avatar May 09 '23 12:05 ray-lothian

and yeah that didn't work at least in librewolf

beh-10257 avatar May 10 '23 21:05 beh-10257