random-user-agent
random-user-agent copied to clipboard
Many sites buggy when enabling option protect against detection based on Javascript
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
When I enable the option "Protect against detection based on Javascript", many sites are becoming buggy. For example, when logging into github, the menu button does not show the menu at all when clicking on the icon. Other sites do not allow to login at all, and so forth. I can turn this feature off and it works, but then the protection against Javascript based detection is not done, and hence the user-agent can still be retrieved by websites.
Are you sure that this feature is really only preventing the Javascript request about the user-agent and really this part only, and nothing else? It might be that it is when using several extensions that this problem occurs, but if everything else is left untouched and is a pass-through for Javascript, except that only user-agent detection request, any other extension should still work very well.
Steps to reproduce
- Enable the "Protect against detection based on Javascript" option of the extension.
- Login to github with your account
- click on the menu to show it.
That should show the issue. If not, then maybe it is only when some other extensions are also enabled.
Browser
Firefox
Extension version
4.1.1
Anything else?
Please tell once you have been able to reproduce the issue. If not then we will have to figure out what extension, or version or whatever is producing this bug. I use Firefox V128.0 and Windows 11. Also this error happens since a few days only, and I did not touch this parameter in between so probably this is new, either due to a new Firefox version or other component.
Could you please specify which sites are not working properly and attach some screencasts or other relevant details?
I use this extension daily on both Firefox and Chrome, including when working on GitHub and other sites, and I haven't encountered the issue you described. Could it possibly be conflicting with another extension?
Hello. Sorry for the late answer. Sure. The sites not working properly are many of them, almost 1 on 2, but only usually on sites where we have to login as a customer. This happens already with Github.com. As per your request, I made a video which shows on Github that the menu is not displayed at all when I click on it to display it. I clicked about 5 times on it in the video, and you will see that it is not displayed at all, nothing is shown: https://github.com/user-attachments/assets/68ce1df8-7976-4aab-a73e-60a11c45eeb6
Yes it is possible that this is a conflict with another extension. I will be trying to isolate the other extension that would be causing this failure. In any case, this happens only when I enable the "Protect against detection based on Javascript" option. This is 100% reproducible, and as soon as I disable this specific option, then all menus and sites are shown properly again, the issue disappears completely.
Thanks for any help.
Could you please temporarily disable all extensions except this one, and then enable them one by one to identify which one is causing the errors?
Yes. I tested this, and I figured out that this happens especially when the CanvasBlocker from KKapsner (Fingerprint protection) is enabled while Random User-Agent is also enabled. Also, turning on or off the privacy.resistFingerprinting Firefox parameter doesn't change anything.
As there are many options in this extension, I cannot tell if this is related to a specific option that I would have selected, which causes this issue to occur. Can you please try to reproduce this on your side?
Hi, I've had this problem on one of my forums and it's caused me to make multiple purchases, I haven't noticed this on other sites but I think it's problematic because I'm a Mac user and when I copy it always fails to copy on certain sites. Here's a video that's split into two videos because there's so much information involved.The first video is when I'm commenting and he doesn't refresh the page automatically but it's actually there or the js is asynchronous but when I disable the plugin that doesn't happen. https://github.com/user-attachments/assets/a4f02b01-aa74-482e-8deb-1a2e95e5337b
Hello @tarampampam , have you been able to reproduce his issue with the conditions I provided ? If not please tell and I will try to provide more configuration information to be able to reproduce it.
Thanks.