I am using chrome.tabs.executeScript function, which is trying to invoke an action on a tab that was opened with dataUrl.
I get an error in the from executeScript function
Unchecked runtime.lastError: Cannot access contents of url "data:text/html;base64,<base64string>.". Extension manifest must request permission to access this host.
My permission include"permissions": [
"tabs",
"debugger",
"webNavigation",
"cookies",
"<all_urls>",
"data:/*",
"activeTab",
"matchAboutBlank",
"http://*/*",
"https://*/*",
"background",
"desktopCapture",
"chrome://favicon/",
"pageCapture",
"storage",
"notifications",
"downloads",
"downloads.shelf"
]
what do I need to change for it to work? I cannot set the extension to MV3.
Is this a bug?