Hacker News new | ask | show | jobs
by cookiengineer 2057 days ago
This can be fixed by overriding valueOf() and toString() on the prototype. Just return another native function, like JSON.stringify ;)
1 comments

Sadly there are still things you cant programmatically override/proxy, like storagemanager

    await navigator.storage.estimate()