Alters attempts at fingerprinting your screen resolution to 1920x1080. Only tested in FIrefox.
< 脚本Screen Resolution Spoof的反馈
Cool, glad it works for you, Matthew!
I generally do not recommend this approach nowadays as it's quite easy for fingerprinters to know that you're spoofing these properties. Fingerprinters will use other techniques not derived from javascript screen props nowadays. See browserleaks.com/javascript for a test. Click on the "More" button under "Screen Resolution" and check the div.clientWidth and div.clientHeight for an example.
If you were to use this script, I would ensure the div.clientWidth and div.clientHeight are the same as it would be in your spoofed scenario. So basically the only way this would make sense is if you have like a rather, large screen resolution like 4K and you want to use your browser resized to 1920x1080 or another common size like 1600x900.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Hey, I was trying to do this in a chrome extension for a couple hours unsuccessfully, your code sent me in the right direction, I really appreciate you posting this, thank you. Excellent work, works great on Chrome as well