jumpcutter icon indicating copy to clipboard operation
jumpcutter copied to clipboard

Narrow down extension permissions

Open WofWca opened this issue 3 years ago • 2 comments

Currently it requires host permissions for all URLs. Would be cool if it had no access to any pages at all (if people are only using it for local files), then dynamically ask for more (or all websites). This could also solve #26. Maybe also need to add a way to open non-local files in the local-file-player, with a link to the video file. How it's done: https://extensionworkshop.com/documentation/develop/request-the-right-permissions/#request_permissions_at_runtime

WofWca avatar May 31 '22 16:05 WofWca

Workaround

To make sure that the extension can only read data on specific websites, or only when you click on the extension icon (or activate one of its shortcuts), follow the instructions in https://github.com/WofWca/jumpcutter/issues/26#issuecomment-2416512796.

WofWca avatar Aug 25 '25 06:08 WofWca

@DavidSM100 and me have played around with optional_permissions, optional_host_permissions and for us it acts quite unintuitively, the behavior between browsers is inconsistent. It's also not clear whether host permissions is required for dynamically registered content scripts.

WofWca avatar Aug 25 '25 06:08 WofWca