Coder Social home page Coder Social logo

extension-policy-helper's Introduction

Extension policy helper

This Chrome extension will look at the locally installed Chrome extensions, compare them to a proposed policy, and notify users if some of their extensions will be affected.

Employees will then be prompted to fill in an exception request form, so that when policy is rolled out, employees can be minimally affected by the change.

License

Copyright 2020 Square, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Building

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed.

Building The Extensions

$ ./production-build.sh

This will create a zipfile called build/extension.zip.

Locally testing the extension

Run polymer build after any changes, then from chrome://extensions choose "Load Unpacked" and select the build/default subdirectory containined the compiled extension files.

Uploading to the Chrome Web Store

To deploy a new version, go to the Developer Dashboard.

The item will need to be Unlisted, unless all browsers are expected to be logged in to your GSuite domain.

Take note of the ID, as it is relevenant to configuration.

Configuration

The extension is configured through managed policy - the details of which change between platforms:

  • On MacOS, a plist file is installed as a Profile
  • On Windows, the registry is used
  • On ChromeOS, it is set through the GSuite Admin console

The file managed_schema.json contains the most detailed description of the configuration format.

For registry/profiles configuration, the TL;DR is that you configure com.google.Chrome.extensions.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa where aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa is replaced with the ID that the Chrome Web Store assigns your copy of the extension.

extension-policy-helper's People

Contributors

sq-msamuel avatar

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.