Sample extension built with chrome-extension-template
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
src
.gitignore
.prettierrc
README.md
manifest.json
package.json
webpack.config.js
yarn.lock

README.md

social-network-alert

This is a demo extension built with chrome-extension-template.

This extension blocks Twitter and Facebook when enabled.

Installation

Clone the repo:

git clone git@github.com:edrpls/social-network-alert.git

Install dependencies:

yarn install # or npm install

Usage

To run a development server that will watch for file changes and rebuild the scripts, run:

yarn start

To just build the files without the development server:

yarn build

Both commands will create a dist/ directory, it will contain the built files that should be loaded into the browser or packed.

Load into Chrome

To load the built files into Chrome, open chrome://extensions/.

Enable "Developer mode" if it's not enabled yet:

Developer Mode Checkbox

Click on "Load unpacked":

Load Unpacked Button

Find the dist/ directory on your system and open it.

The extension should be now at the top of the page:

Extension Loaded

Publishing

Follow the official docs to learn how to publish a Chrome extension. Please note that Google has its own process to review public extensions and using this boilerplate does not guarantee that the extension will pass it. Passing the review process is your responsibility!

External resources