google-meet-push-to-talk
google-meet-push-to-talk copied to clipboard
Firefox and Safari support
This PR adds support for Firefox.
-
Firefox currently doesn't support
declarativeContent
, but I've addedpage_action.show_matches
. Though, maybe it's a bit broader than whatbackground.js
matched, also matching the meet.google.com landing page, I think? (But if this is okay, then maybebackground.js
is now obsolete?) -
I switched from
options_page
tooptions_ui
, because that's supported by both. I also removed the<h1>
and logo from the options page to make it more compact. Specifically, Firefox has a fixed-width container in extension preferences that the logo was scaled to, causing lots of blur. -
To test storage in Firefox, you have to set an extension ID. I improvised here, but don't know what requirements Mozilla sets for this. Feel free to change before publishing. 🙂
Chrome page action:
Firefox page action:
Chrome preferences:
Firefox preferences:
This also works nicely in Safari, so I've added an Xcode project. Though, to publish it, someone will have to be in the (paid) Apple developer program.
To test locally, make sure you're on Safari 14, enable the Develop menu in Preferences -> Advanced, and from the 'Develop' menu select 'Allow Unsigned Extensions'. (This setting is reset every time Safari starts.) You can then build and run the app from Xcode and it should just work.
(EDIT: Alternatively, set a Team on the app and extension targets. This can also be a free personal team, as long as you have an Appe ID, which will work on your own devices. Downside is that this is part of project.pbxproj
, which is in git.)
One thing I've noticed about Safari is that it asks separate for permission to access meet.google.com. This is only visible as a tiny ⚠️ on the toolbar button of the extension. If the button is removed from the toolbar, it appears there's no feedback at all.
I've not fiddled with the code, so not sure if the toolbar button is supposed to be the page action or options UI. It's doesn't really seem to honour show_matches
, and is just always visible (unless hidden by the user). The popup looks nice, but I've noticed clicking 'Preferences' on the extension just opens options.html
in a tab. Could be better, maybe.

Any news on getting this merged? It’s important to support alternatives to Google’s spyware