Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You actually got me an idea. It should be pretty easy to block many of those with a simple Tampermonkey script. Gotta check over the weekend. In JS you can't generally override host objects, but you can generally modify the functions they expose.

@include *

@run-at document-start

navigator.something.someMethod = () => {} // noop

https://www.tampermonkey.net/documentation.php



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: