chromedotfiles icon indicating copy to clipboard operation
chromedotfiles copied to clipboard

Support manifest v3

Open tomorrowkey opened this issue 3 years ago • 1 comments

What will be change in this PR

  • Update manifest file
    • Change manifest version from v2 to v3
    • Remove the url pattern permissions from the permission attribute and add <all_urls> permission to access any urls
    • Add scripting permission to call chrome.scripting API
    • Register the background script as service worker
  • Update background script
    • Use chrome.scripting API due to deprecation of previous API
  • Update example css selector to works fine

What does not changed by this PR

  • Chrome extension version
    • Please change the version if you want

Referenced documents

tomorrowkey avatar Mar 11 '22 00:03 tomorrowkey

@matthewhadley please review this 😉

tomorrowkey avatar Jun 28 '22 04:06 tomorrowkey