Closed drhouse closed 1 year ago
Unfortunately I didn't find a way for extensions to modify other extensions’ pages.
The activeTab
permission does not include chrome-extension://
urls and they cannot be manually added to the manifest file :(
We'll have to wait for this: https://code.google.com/p/chromium/issues/detail?id=153245
@bfred-it
I just checked out the chromium issue you linked to, and someone posted this a few months after your comment:
Jan 11 2016 I think it's fixed now a few months/years ago: https://chromium.googlesource.com/chromium/src/+/92e1442120f561f9344bae80b3bd97d2f7d956cb%5E%21/#F0
I'm not too familiar w/ Chrome Extensions, but was wondering if that changes anything regarding this issue.
I tried again and the error is now very specific when running executeScript
on the tab:
Error: Cannot access a chrome-extension:// URL of different extension
I write a lot of userscripts for Tampermonkey and just discovered GhostText. I thought it would be neat if I could click the 'new script' button in there, then use GhostText to switch and start writing in Sublime right away. I imagine it would involve changing some permissions in the manifest file. Currently, there's a kind of Tampermonkey workaround where you can include a local file as a '@require', but this other way would be more convenient.