Skip to content

Latest commit

 

History

History

browser-extensions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

browser-extensions

A collection of simple browser extensions for learning purposes.

Extensions

Each browser extension is defined in its own sub-directory. They include:

manifest-v3-chrome/

This is a simple web extension for Chrome using the Manifest v3 API.

See the README in manifest-v3-chrome/.

firefox-message-passing/

This is a Firefox web extension that illustrates message passing.

See the README in firefox-message-passing/.

Notes

The web is awesome. Web browsers are extremely powerful, and Web APIs are mostly brilliantly documented by the MDN Web Docs. As such, web extensions are a great way to continue to harness the power of the web and do so by mostly re-using web APIs. Unfortunately, there are quite a bit of vendor-specific API differences in browser extensions.

Compare and contrast the browser extension API differences by reading the docs:

Note that there is a brighter future for standardized cross-browser extension development. Read this MDN Web Docs article about it:Building a cross-browser extension .

Wish List

General clean-ups, TODOs and things I wish to implement for this project:

  • DONE How can we include the JavaScript source code to avoid Uncaught ReferenceError: getHeaderText is not defined?
  • Look into "browser actions" instead of what I'm doing, which is a custom popup HTML document.
  • DONE Add message passing. I think message passing is a pretty important tool in extension design.

Reference

Materials that I referenced and found useful while developing this project: