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
934 stars 144 forks source link

UserAgent-Switcher does not seem to work for later requests. #58

Closed ndsvw closed 4 years ago

ndsvw commented 4 years ago

My goal is using the Chrome Browser but pretending to use the Firefox...

So I open the GitHub-page of this extension (https://github.com/ray-lothian/UserAgent-Switcher). The request of the main site is done via the fake-user-agent (Firefox)... But all the later requests (for loading images, json files, js files, etc) seem to have the original user agent..

When I go to https://github.com/ray-lothian/UserAgent-Switcher and open the Developer tolls / Network and refresh the site, I can see all the sub-requests:

Bildschirmfoto 2019-11-18 um 23 59 10

If I choose the favicon-request for example, it tells me "Provisional headers are shown" and that the user agent is my real user agent:

Bildschirmfoto 2019-11-18 um 23 59 41

Is this a Chrome-related (Chrome is not able to handle faked user agents correctly) or does this extension not work (for me)?

ray-lothian commented 4 years ago

This request is a cached request. You cannot rely on what is shown for "Provisional headers"