aleph 10a27ceefc Stash desktop | 8 years ago | |
---|---|---|
.. | ||
beasts | 8 years ago | |
content_scripts | 8 years ago | |
icons | 8 years ago | |
popup | 8 years ago | |
README.md | 8 years ago | |
manifest.json | 8 years ago |
The extension includes:
When the user clicks the browser action button, the popup is shown, enabling the user to choose one of three beasts.
When they choose a beast, the extension injects the content script into the current page, and sends the content script a message containing the name of the chosen beast.
When the content script receives this message, it replaces the current page content with an image of the chosen beast.
tabs.executeScript()