ray-lothian / UserAgent-Switcher

A User-Agent spoofer browser extension that is highly configurable
https://webextension.org/listing/useragent-switcher.html
Mozilla Public License 2.0
934 stars 144 forks source link

Add Gecko ID to manifest.json #51

Closed TotalCaesar659 closed 4 years ago

TotalCaesar659 commented 4 years ago

Hello @ray-lothian, could you add Gecko ID to manifest.json? I wanted to add User-Agent Switcher to Firefox for automatic startup after new installing (https://support.mozilla.org/en-US/kb/deploying-firefox-with-extensions), but without this ID, I have to add it manually. It's not comfortable, unlike many other add-ons.

ray-lothian commented 4 years ago

Why manually? You just need to add the link of AMO page to the policies.json.

TotalCaesar659 commented 4 years ago

"AMO page" for downloading from AMO? No, I meant I've downloaded XPI files to */distribution extensions/, and Firefox catches them when starting. Anyway, thanks for advice, and please merge this PR (I've found the ID in mozilla-recommendation.json in XPI file).

ray-lothian commented 4 years ago

See https://github.com/mozilla/policy-templates/blob/master/README.md

The id in the manifest causes issues with other browsers.

TotalCaesar659 commented 4 years ago

OK, I'll close it then, ID that I've found works for now.