logoalt Hacker News

tyingq10/11/20241 replyview on HN

> onBeforeRequest was removed because it is a massive spyware and malware vector.

Yet you can still inject js right into the page. You just can't stop a page that was going to load from loading. They could have taken away the onBeforeRequest redirect capability and left just the onBeforeRequest cancel capability.

Not sure I've heard of any spyware/malware depending on just that cancel capability.


Replies

kuhsaft10/11/2024

That uses a different manifest permission.

https://developer.chrome.com/blog/crx-scripting-api#breaking...

show 1 reply