[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Blocking JS function navigator.platform
From: |
Richmond |
Subject: |
Blocking JS function navigator.platform |
Date: |
Sat, 3 Dec 2022 11:57:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.14 |
Is it possible to get librejs to block the javascript function
navigator.platform?
It might be out of scope, but it is being used to prevent a website working
with linux.
This is from chromium console but shows the function(s) are being used.
"Audit usage of navigator.userAgent, navigator.appVersion, and
navigator.platform A page or script is accessing at least one of
navigator.userAgent, navigator.appVersion, and
navigator.platform. Starting in Chrome 101, the amount of information
available in the User Agent string will be reduced. To fix this issue,
replace the usage of navigator.userAgent, navigator.appVersion, and
navigator.platform with feature detection, progressive enhancement, or
migrate to navigator.userAgentData. Note that for performance reasons,
only the first access to one of the properties is shown.
"
- Blocking JS function navigator.platform,
Richmond <=