There is some simple example of how to execute a content script (as in Chrome) on the pages of example.com.

I can not figure out these SDKs and other things. Chrome is simple.

Please no Firefox XUL elements.

  • To be honest, I just need an example of the extension. In FF, everything is very confusing with the creation of an extension, and the examples I found add a button to the toolbar (no longer working, by the way), but what I need is not there ... :( - user64675
  • And what do you want, what's not there? PS The example with the button works very well. - edem

1 answer 1

You were lucky, and about a year ago you decided to repeat the chrome API (called "web extensions" , now in "experimental alpha state", they promise to bless this feature to Firefox 48 and call it stable.)

In particular, here is a simple example with the content script: https://github.com/mdn/webextensions-examples/tree/master/borderify