navigator.vendor
Posted: Sun May 24, 2020 9:42 am
Hi everyone
How could we override window.navigator.vendor /appName / etc ?
How could we override window.navigator.vendor /appName / etc ?
The forum for BriskBard users and CEF4Delphi / WebView4Delphi / WebUI4Delphi / WebUI4CSharp developers
http://www.briskbard.com/forum/
Code: Select all
Object.defineProperty(navigator, "platform", {value: "asd", configurable: false, writable: false,})
This works, but how do I make it visible to sites?Object.defineProperty(navigator, "platform", {value: "asd", configurable: false, writable: false,});
console.log( navigator.platform ); // asd