Files
webextensions-examples/open-my-page-button/README.md
2015-09-17 10:30:35 -07:00

15 lines
335 B
Markdown

# open-my-page
This extension includes:
* a background script, "background.js"
* a browser action
* a page "my-page.html"
All it does is: when the user clicks the button, open "my-page.html" in a new tab.
It shows:
* how to listen for browser action clicks in a background script
* how to open a page packaged with your extension