Files
webextensions-examples/open-my-page-button/README.md

359 B

open-my-page

What it does

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.

What it shows

  • how to listen for browser action clicks in a background script
  • how to open a page packaged with your extension