this post was submitted on 02 Dec 2023
461 points (98.1% liked)

Technology

59428 readers
3166 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] tigerjerusalem@lemmy.world 20 points 11 months ago* (last edited 11 months ago) (4 children)

Can someone clarify why browsers other than the ones that are Chrome based are forced to adopt Manifest v3? What happens if the don't, are they blocked from the web or something?

[–] ShittyKopper@lemmy.blahaj.zone 45 points 11 months ago* (last edited 11 months ago) (1 children)

They aren't forced to do anything. Manifest v3 is just a part of the WebExtensions API (which is not a standard and is really just "whatever Chrome does except we find/replace'd the word chrome to browser") which both Safari and Firefox chose to implement in order to make porting of Chrome extensions easier.

Before that, Firefox had a much more powerful extension system that allowed extensions quite a lot of access to browser internals, but that turned out to be a maintenance nightmare so they walled those APIs off (not a coincidence that Firefox started getting massive performance improvements after that, and extensions stopped breaking every other release) and decided to go the WebExtensions route. I have no clue what Safari was up to but I think they implemented it after.

If they don't implement Manifest v3, extensions that want to work across multiple browsers need to support both the older Manifest v2 and the later Manifest v3, which would be a burden not many extension authors would want to bother with, which would make them just say "yeah we're not supporting anything outside Chrome". Firefox avoids this problem by extending the v3 API to allow for the functionality necessary for powerful ad blocking Google removed in v3 (webRequestBlocking) while also implementing the new thing (declarativeNetRequest) side by side, so extensions that want to take advantage of the powerful features on Firefox can do so, while Chrome extensions that are fine with the less powerful alternative can still be ported over relatively easily.

Firefox does have it's fair share of extensions on top of the WebExtension API already (sidebar support for one), so adding one more isn't too big of a deal.

[–] ripcord@kbin.social 6 points 11 months ago

Very, very good summary. Thank you.

[–] grue@lemmy.world 22 points 11 months ago

Can someone clarify why browsers other than the ones that are Chrome based are forced to adopt Manifest v3?

See, that's the thing: pretty much every browser except Firefox is Chrome-based. When people talk about browsers being forced to accept manifest v3, they're talking about all the Chrome-based browsers other than Chrome.

[–] sir_reginald@lemmy.world 7 points 11 months ago (1 children)

why browsers other than the ones that are Chrome based are forced to adopt Manifest v3?

Then the only browser left is Firefox. Edge, Opera, Brave, Vivaldi and a long etc are all Chromium based.

There is also Safari, but Safari does not support WebExtensions in the first place so it does not apply here.

[–] AProfessional@lemmy.world 1 points 11 months ago

Safari has supported mv2 extensions for years and recently added mv3 support.

However it never supported WebRequest blocking.

[–] NeonPayload@infosec.pub 4 points 11 months ago

Google is the biggest of browser and http/s internet based protocol, so much bigger that everyone plays by googles rules. if they set out manifestv3 the other browsers that are not compatible will not work, and as a result people will abandon them.