Files
webextensions-examples/borderify
rebloor e1253d9ad3 MDN get started tutorial examples to manifest V3 (#608)
* MDN get started tutorial examples to manifest V3

* Migrate to Scripting API

* Updated to readmes and code comments

* Apply suggestions to readmes from review

Co-authored-by: Simeon Vincent <svincent@gmail.com>

* Convert choose_beast.js to async

* Apply suggestions from review

Co-authored-by: Simeon Vincent <svincent@gmail.com>

* Updated illustrated API list for beastify

* Apply suggestions from review

Co-authored-by: Rob Wu <rob@robwu.nl>

---------

Co-authored-by: Simeon Vincent <svincent@gmail.com>
Co-authored-by: Rob Wu <rob@robwu.nl>
2026-01-28 07:15:58 +13:00
..
2016-01-14 11:25:15 -08:00

borderify

This add-on injects JavaScript into mozilla.org web pages.

What it does

This extension includes a content script, "borderify.js", that is injected into any pages under "mozilla.org/" or any of its subdomains.

The addons.mozilla.org domain doesn't allow scripts to be injected into its pages. Therefore, this extension doesn't work on pages in the addons.mozilla.org domain.

The content script draws a border around the document.body.

What it shows

From this example, you see how to inject content scripts declaratively using manifest.json.