I have 2 related questions on MV3 chrome.declarativeNetRequest:
1. On MV2, when i was blocking a domain i could run a chrome.tabs.remove(
tab.id) to remove the page as well.
On MV3 i don't know where to trigger a callback to the chrome.declarativeNetRequest
2. How do i specify to show a local html page when a rule blocks a domain ? Should i specify "redirect" instead of "block" ? or is there a method where i can keep the rule as "block" and then show a local page ?
Thanks !