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
884 stars 142 forks source link

How to avoid Cloudflare? #211

Open Devious3901 opened 1 month ago

Devious3901 commented 1 month ago

Hello, I've been using the extension in chrome for a very long time, but every time I can't bypass cloudflare, and I found out that I need to disable the user agent of the switcher, and then I'm allowed to go to the site, but the site detects my default user agent. How to fix it? (changing the user agent does not help)

https://imgur.com/a/3OstniB

wangyan-life commented 1 month ago

I had the same problem, my approach was to blacklist sites that used cloudflare authentication, but that was so stupid I couldn't think of a better way...

billygachi commented 2 weeks ago

Is adding challenges.cloudflare.com to the disable spoofing section not good enough? The site should at most only be able to see anonymised user stats on their CF dashboard

ray-lothian commented 1 week ago

CF uses same-origin address .../cdn-cgi/challenge-platform/... for human verification. The new release 0.6.0.1 seems to pass the cloudflare for me. Wait for it and report back.

Devious3901 commented 1 week ago

CF uses same-origin address .../cdn-cgi/challenge-platform/... for human verification. The new release 0.6.0.1 seems to pass the cloudflare for me. Wait for it and report back.

Hey, i have 0.6.0 versionm how can i skip cloudflare? What and where i need to paste on Options tab?

ray-lothian commented 1 week ago

Try the attached version so that we can debug.

Disable the original extension. Open "chrome://extensions/" in a browser tab, turn the developer mode on and drop the extracted dir into the view.

useragent-switcher.zip

Devious3901 commented 1 week ago

Try the attached version so that we can debug.

Disable the original extension. Open "chrome://extensions/" in a browser tab, turn the developer mode on and drop the extracted dir into the view.

useragent-switcher.zip

ok, but what about Chrome Web Store release? Is there any way to do it through the official release, I just have a lot of profiles in the browser, and it will take a lot of time to install and test, in a separate profile https://chromewebstore.google.com/detail/user-agent-switcher-and-m/bhchdcejhohfmigjafbampogmaanbfkg

ray-lothian commented 1 week ago

@Devious3901, The dev version has the default preferences.

Devious3901 commented 1 week ago

@Devious3901, The dev version has the default preferences.

https://imgur.com/a/v9V1DuC still cant do that I created a new profile in Brave, and set a random user agent, but the result is the same, I used a clean IP and VPN/ Is there any settings specifically for the "Options tab" so that I can avoid cloudflare through them? Because every time I do a reset in the extension, then F5. and then enable the desired profile again.

ray-lothian commented 1 week ago

On brave, if i use a recent Firefox UserAgent, I can pass CF with no problem.

used a clean IP and VPN

I am not able to test this. Brave's VPN is not free.

ray-lothian commented 1 week ago

@Devious3901 does this human verification loop?

Devious3901 commented 1 week ago

@Devious3901 does this human verification loop? yes I mean, when I go to the site, this captcha starts, and when I press F5, it appears again. Only after I open the user agent and refresh the page can I get past the captcha, and the site will let me through