Error: Cannot access contents of url "chrome-extension://jffaiidojfhflballoapgofphkadiono/newTab.html#/". Extension manifest must request permission to access this host.

15 views
Skip to first unread message

arpit agrawal

unread,
9:49 AM (3 hours ago) 9:49 AM
to Chromium Extensions

Screenshot 2024-07-17 at 1.01.57 PM.png

woxxom

unread,
10:28 AM (2 hours ago) 10:28 AM
to Chromium Extensions, arpit agrawal
Sounds like you're trying chrome.scripting.executeScript on your own extension's tab. It doesn't work in Chrome, intentionally so, because content script injection is only for websites. For your own page you can use messaging or embed small data as a URL parameter/hash when creating the page.
Reply all
Reply to author
Forward
0 new messages