Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I add context menu in MV3 Chrome extension popup icon?

I want to add the Share on FB/ Twitter and Facebook Page links on my popup icon content menu.

It's very convenient to do this in MV2 extensions.

But how do I do that in MV3 ones?

enter image description here

like image 901
AGamePlayer Avatar asked Oct 28 '25 17:10

AGamePlayer


1 Answers

Yes, this appears to not work on MV3.

The docs say browserAction is not available for MV3, and although "browser_action" is still listed as a valid ContextType, it seems to have no effect.

Adblock (for example) has custom context menu items for their icon, but that's because they still use MV2.

Maybe adblock still using MV2 (or just the fact that MV2 still offers exclusive features) is a good indication that MV3 is still limited/incomplete and might not be the best idea to use, yet.

like image 110
gilad905 Avatar answered Oct 31 '25 11:10

gilad905



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!