0

By using following declarativeNetRequest request, one extension can block network requests from websites in tabs.

[
  {
    "id": 1,
    "priority": 1,
    "action": { "type": "block" },
    "condition": {
      "urlFilter": "*",
      "resourceTypes": ["main_frame", "sub_frame"]
  }
}]

But other Chrome extensions can still ignore this and access network.

Is there way to create Extension which would have "Super-powers" to block whole network communication ?

Jurosh
  • 6,984
  • 7
  • 40
  • 51
  • No. You can use [ExtensionSettings](https://support.google.com/chrome/a/answer/9867568) policy's runtime_blocked_hosts with id `*` to accomplish that. – wOxxOm Feb 21 '23 at 17:36

0 Answers0