Chorme Extension

Hello guys im trying to develop a extension to just a block the websites that i put the link, but this doesn´t work i dont know why, if someone can help thanks https://codepen.io/andresantos2460/pen/dyxZJEm
5 Replies
Doksuri
Doksuri3mo ago
how funny... i'm working on the same extension i used to have one with the MV2... but i'm trying to re do-it in MV3 what i read, is that you need to declare "declarativeNetRequest" permission in order to change them with JS but i can't manage to maker it work :/
Jochem
Jochem3mo ago
I thought the whole point of v3 was that extensions couldn't block access to individual sites?
Doksuri
Doksuri3mo ago
what i understood, is that it would be more difficult for devs to manage it, and esea for google to kill scripts
ἔρως
ἔρως3mo ago
from my understanding, the v3 almost completely prevents this type of blocking there are better solutions for this, like using the hosts file or using pihole in my opinion, those are better time investments

Did you find this page helpful?