Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manifest V3 draft #96

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

marcustyphoon
Copy link
Contributor

Worked through most of the pain points for cross-browser MV3. Took about two hours, apparently.

Notable notes, off the top of my head:

  • webextension-polyfill is kind of a pain to load and it's equivalent to a oneliner now
  • see comments in upgrade to Manifest V3 #93 (comment) about optional_host_permissions key replacing optional_permissions key
  • in Firefox, users can enable <all_urls> themselves in extension settings; in Chrome they can't. it is, as far as I can tell, literally impossible unless the extension calls browser.permissions.request. this is stupid.

@marcustyphoon
Copy link
Contributor Author

Ugh.

To enable support for non-latest operating systems in Chrome, one needs to use different manifest files per-browser (as Filtering+ does); Chrome pre-121 will not load manifests with cross-platform background scripts (see https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/background#browser_support). This would otherwise work in Chrome 102, which can be installed on Macs from 2008 and Windows 7 devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant