It is recommended to generate your own YouTube Data API v3 key if you plan on running this extension yourself.
- Head over to the YouTube Data API website
- Follow the instructions to request an API key
- Retrieve your API key generated here
- Open/modify
js/background.js
- In the file, find
wyn.apiKeys
- Replace the API key found there with your own
- Next, follow the build instructions below
To build, run the following commands (Node.JS must be installed):
npm install -g grunt-cli vulcanize bower
bower install
npm install
(Note: On linux, you need to run the first command as root, to do so, simply affix sudo
to the first command and input your credentials)
Next, run the following grunt command to build the required HTML files
grunt vulcanize
To load the unpacked extension into Google Chrome:
- Go to chrome://extensions
- In the top-right hand corner, check the
Developer mode
toggle - Developer tools should appear, click on the
Load unpacked
button - Select the directory in which the extension was built
To debug, run this command in the background
grunt
This command will automatically generate a vulcanized settings.html file because of Chrome's CSP. To change the HTML contents, only edit the settings_edit.html and not the settings.html file.