click here to install my dummy extension

If you get a Firefox security warning that states "Firefox prevented this site (mark.koli.ch) from asking you to install
software on your computer", then you must click the "Allow" button on the warning dialog to install the dummy/demo extension.


Some notes on this installer:


Here's the code that actually triggers the extenstion installation:

$(document).ready(function($){
  $("a[iconURL]").click(function(e){
    if(!$.browser.mozilla){
      alert("Sorry, this extension only supports Mozilla Firefox.");
      return false;
    }
    var params = {
      "Mark Kolich's Hello World Extension":
       { URL: e.target, IconURL: $(this).attr("iconURL"),
         toString: function () { return this.URL; }
       }
      };
    InstallTrigger.install(params);
    return false;
  });
});


Once installed you can find the extension in the Tools->Add-Ons menu of Firefox:

screenshot