Comments (6)
I've identified the issue. It seems the document.write function call is being run before the extension gets a chance to modify anything.
I'll update the UI on the profile tab.
from chameleon.
The execution of the document.write function call happens almost immediately after the async call that gets the injection script data. I've experimented with a small delay (would have been horrible hack) but it rarely worked. I've refactored some code to reduce the execution time for the async call but it's not enough.
The best solution I can come up with is to default all the variables being modified to an empty value before the injection script spoofs them. This generally shouldn't be an issue for normal websites since there's usually a few resources being loaded giving the extension enough time to build and execute the injection script.
from chameleon.
If I understand well, the website can have the real UA if it load fast enough.
I found another one : http://pgl.yoyo.org/http/browser-headers.php . Here, the OS is spoofed, but not the browser.
Thank for your work.
from chameleon.
Where do you see the OS on that page? Chameleon doesn't have any issues with spoofing the header values that are returned.
from chameleon.
I've changed it so that the default value is Chrome on Windows 10. An empty useragent could break some sites like Discord. Sadly, the user won't be able to change this because it goes back to the root issue. I just realized that I can read the settings in the content script but the code won't block so it won't change anything.
from chameleon.
@945fc41467 v0.6.7 should fix this issue.
from chameleon.
Related Issues (20)
- Inconvenience when using it together with a VPN and Youtube. HOT 6
- Can you make it assign a different user agent for each Firefox Container (if installed)? HOT 2
- Custom User agent strings HOT 1
- Question: Where's The Check List For about:config Options? HOT 5
- ip rang per line HOT 1
- TypeError: navigator.plugins is not iterable HOT 2
- Audio data = unique at https://amiunique.org HOT 2
- Twitter.com poll vote gets undo if Chameleon is enabled HOT 2
- Preferences got deleted when addon updated HOT 5
- Fingerprint Resisting Fail HOT 1
- Can we add feature of custom User Agent ? HOT 1
- Bing ai captcha problem HOT 2
- [Feature request] Periodically change timezone based on IP
- How to install in Google Chrome HOT 1
- Replace X-Forwarded-For/Via by Forwarded Standard HOT 1
- [Feature request] Referer options:For in-page resources (images, videos, js, css etc.), allow trimmed referer HOT 1
- Protect Window name interferes with basic javascript variables HOT 2
- Mouseover/hover hints in the popup menu HOT 3
- Whitelisting with default profile does not disable options HOT 4
- Can make gpu spoof HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chameleon.