Files
webextensions-examples/open-my-page-button
2016-01-13 21:03:33 -08:00
..
2015-09-17 10:30:35 -07:00
2015-09-17 10:30:35 -07:00
2015-09-17 10:30:35 -07:00

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