Optionally inject Content Script
You cannot run code on a site without the appropriate permissions. Fortunately, you can add the host permissions to optional_permissions in the manifest file to declare them optional and still allow the extension to use them. In response to a user gesture, you can use chrome.permission.request to request additional permissions. This API can only be … Read more