deployment - How to deploy the extension of Firebug Lite? -


on firebug lite website there information on how write extension firebug lite, doesn't how deploy extension.

i read deploying extension firebug installing plugin in firefox. gonna same extension of firebug lite?

you should able extend firebug lite including script on page shown on firebug lite website:

firebug.extend(function(fbl) { (fbl) { // ***********************************************************************  function pluginpanel(){};  pluginpanel.prototype = extend(firebug.panel, {     name: "plugin",     title: "plugin",      initialize: function(){         firebug.panel.initialize.apply(this, arguments);          this.panelnode.innerhtml = "hello world!";     } });  firebug.registerpanel(pluginpanel);  // *********************************************************************** }}); 

to include extension code needs executed after firebug lite loaded. e.g. can done saving code above file , include via <script> tag after including firebug lite:

<script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"></script> <script type="text/javascript" src="my-firebug-lite-extension.js"></script> 

Comments