Firefox addon example:
    var MyAddonNamespace = {
        local_variable: null,
        local_method: function() {
            return 'string';
        }
    };
window.addEventListener("load", function(e) {
    MyAddonNamespace.local_method();
}, false);
Warning: Your add-on contains a large number of global variables, which can conflict with other add-ons. For more information, see http://blog.mozilla.com/addons/2009/01/16/firefox-extensions-global-namespace-pollution/, or use JavaScript modules.
How I can fix it? Thanks in advance.
 
     
     
    