manaba-enhanced icon indicating copy to clipboard operation
manaba-enhanced copied to clipboard

use `host_permissions` for site origins

Open yudukikun5120 opened this issue 2 years ago • 0 comments

Declaration of site origins in the host_permissions field is preferable.

https://github.com/mkobayashime/manaba-enhanced/blob/47b935a22579dad243f7533cd41cd16f15b96325/src/manifest.ts#L22-L28

I'm afraid to say that we need to upgrade the manifest to v3 since this might work only in manifest v3 or higher.

Refs

  • https://developer.chrome.com/docs/extensions/mv3/declare_permissions/
  • https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/host_permissions

yudukikun5120 avatar Oct 31 '22 16:10 yudukikun5120