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

the "Use caching to improve performance" switch does not (always) work #208

Open ajay-gh opened 2 months ago

ajay-gh commented 2 months ago

Using version 0.5.0 on FF 124 for macos, in custom mode. No later version seems available.

There is a growing number of website that check whether the UA string changes between first and later page loads or clicks. This is partly done in order tell bots (and other wrong-doers) from human users. Once a change is detected, the page may not load, or not load with all services, or log-in is refused. Typical examples of such pages are using cloudflair services in the background.

The obvious solution is using the switch "Use caching to improve performance", turn it on, so that the once selected UA value is maintained as long as the page is in use.

In the last couple of months there are more and more pages where this approach does not work any more. How do I know ?

What I expect ? ... is to see that the UA string hasn't changed (this would indicate it works as expected). What I do see instead ? ... is that the UA string has changed on pages where the problem occurs.

Seem that either the caching switch does not work as explained on the options page OR that cloudflair and co. have found a way around this. As soon as I disable the add-on on such pages, the pages load correctly, but this exposes my original UA string and helps them track me.

I would appreciate any comment, will happily provide more details, and otherwise hope for a fix.