ray-lothian / UserAgent-Switcher

A User-Agent spoofer browser extension that is highly configurable
https://webextension.org/listing/useragent-switcher.html
Mozilla Public License 2.0
949 stars 145 forks source link

Cloudflare infinity loop #135

Open ghost opened 3 years ago

ghost commented 3 years ago

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

Sada-Mio commented 3 years ago

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

giving-sesame commented 2 years ago

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.

PenguThePenguin commented 1 year ago

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

PenguThePenguin commented 1 year ago

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

beh-10257 commented 1 year ago

anyone has any idea how to solve this problem

ray-lothian commented 1 year ago

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.

beh-10257 commented 1 year ago

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/

ray-lothian commented 1 year ago

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.

beh-10257 commented 1 year ago

and yeah that didn't work at least in librewolf