Code Monkey home page Code Monkey logo

Comments (2)

mkaply avatar mkaply commented on May 28, 2024

So as far as the JSON goes, there were two issues.

  1. There should be an opening {
  2. The backslashes should be forward slashes.

I'll attached a fixed version below (I didn't add the IDs)

But there are a couple other things.

  1. You don't use the name of the extension, you use the ID. You can get the ID by using this addon I built and clicking the icon when you are on the AMO page. https://github.com/mkaply/queryamoid/
  2. If you specify "allowed", you don't specify an install_url. The ID says "install this ID from anywhere"
  3. install_sources can be removed (and I've fixed this in the readme file). Because you're blocking addons and allowing by ID, you don't need an install_source. It's intended for cases where you want to allow extensions from other sites.
  4. You don't need allowed_types since you are blocking all extensions.
{
	"*": {
		"blocked_install_message": "Blocked by Admin.",
		"installation_mode": "blocked"
	},
	"[email protected]": {
		"installation_mode": "allowed"
	},
	"[email protected]": {
		"installation_mode": "allowed"
	},
	"1Password": {
		"installation_mode": "allowed"
	},
	"Pulsedive": {
		"installation_mode": "allowed"
	},
	"Microsoft Editor": {
		"installation_mode": "allowed"
	},
	"Canned Responses Pro for Jira": {
		"installation_mode": "allowed"
	},
	"Recorded Future": {
		"installation_mode": "allowed"
	},
	"Decentraleyes": {
		"installation_mode": "allowed"
	},
	"ClearURLs": {
		"installation_mode": "allowed"
	},
	"IT Glue Add-on for Firefox": {
		"installation_mode": "allowed"
	}
}```

from policy-templates.

loadedleke avatar loadedleke commented on May 28, 2024

Thank you very much. Worked after replacing the names with the IDs. Thanks again.

from policy-templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.