-
Notifications
You must be signed in to change notification settings - Fork 0
Chrome extension
To build chrome extension,
-
checkout the branch
-
if you can run bash scripts, great, but if not, you need to manually inspect build_extension.sh
change directory to chrome_extension
on command line, run: bash build_extension.sh
-
open chrome, go to chrome://extensions on the url entry in Chrome
-
on right corner, allow developer mode to allow our extension to be added to your chrome
-
then, elect to upload folder for extension by saying load unpacked
-
select build folder at /chrome_extension/build
-
now, there will be an id that is generated for your extension, copy it
-
in chrome_extension/popup/src/ , open App.js and change the url for options page to be similar but with your chrome extension's id
-
In firebase, go here: https://console.firebase.google.com/project/fetch-c97bc/authentication/providers and select Add domain in Authorized domains section. There add your chrome-extension:// like some others already present there.
-
Second last step: do the build step again by running
bash build_extension.shand -
finally, load the extension again by going to chrome://extensions/ and selecting the option like "Load Unpacked"
Now, the extension should be loaded on your chrome and you are ready to use it