I rewrote my extension to WebExtensions for Firefox and Google Chrome, and it works fine for HTTP/HTTPS. However, it no longer works on URLs with the view-source:
scheme. (These URLs are the HTML source code of web pages shown by CTRL+U.)
Firefox 57 gives this error
Error: Missing host permission for the tab
Google Chrome 62 does apparently nothing.
There is no documentation about the view-source scheme. Is there a way to enable the extension for view-source?
<all_urls>
, so it seems this is a limitation of the extension system and not an issue of the extension – Burress