CanvasBlocker
CanvasBlocker copied to clipboard
More granular control over the APIs whitelisting
I'd like to suggest a more granular control over the whitelisting feature. Instead of allowing a whole API, it would be nice to whitelist only specific values. For example, if a site requires userAgent and getBoundingClientRect to work properly, it would be nice to allow only these two values, instead of the whole Navigator and DOMRect APIs. This way you don't need to allow access to unnecessary values.
Came here to suggest this!
Seems partly related to #538
I have to check how complicated this would be to implement. But I like the idea.