Fix FF driver JS bugs

main
Elbert Alias 12 years ago
parent 2fac8bb5b5
commit 5f5ca85312

@ -1,7 +1,7 @@
{ "name": "Wappalyzer", { "name": "Wappalyzer",
"homepage_url": "http://wappalyzer.com?utm_source=chrome&utm_medium=extension&utm_campaign=extensions", "homepage_url": "http://wappalyzer.com?utm_source=chrome&utm_medium=extension&utm_campaign=extensions",
"description": "Identifies software on the web", "description": "Identifies software on the web",
"version": "2.16", "version": "2.17",
"default_locale": "en", "default_locale": "en",
"manifest_version": 2, "manifest_version": 2,
"icons": { "icons": {

@ -139,7 +139,7 @@
i, j, elements, menuItem, menuSeparator, image, i, j, elements, menuItem, menuSeparator, image,
remove = [], remove = [],
container = d.getElementById('wappalyzer-container'), container = d.getElementById('wappalyzer-container'),
menu = d.getElementById('wappalyzer-menu'), menu = d.getElementById('wappalyzer-applications'),
url = gBrowser.currentURI.spec.split('#')[0] url = gBrowser.currentURI.spec.split('#')[0]
; ;
@ -315,10 +315,10 @@
if ( prefs.getBoolPref('addonBar') ) { if ( prefs.getBoolPref('addonBar') ) {
d.getElementById('wappalyzer-addonbar').appendChild(d.getElementById('wappalyzer-container')); d.getElementById('wappalyzer-addonbar').appendChild(d.getElementById('wappalyzer-container'));
} else { } else {
d.getElementById('urlbar-icons').appendChild(d.getElementById('wappalyzer-container')); d.getElementById('urlbar-icons').insertBefore(d.getElementById('wappalyzer-container'), d.getElementById('urlbar-icons').childNodes[0]);
} }
d.getElementById('wappalyzer-addonbar').setAttribute('collapsed', prefs.getBoolPref('addonBar') ? 'true' : 'false'); d.getElementById('wappalyzer-addonbar').setAttribute('collapsed', prefs.getBoolPref('addonBar') ? 'false' : 'true');
} }
/** /**

@ -31,7 +31,7 @@
</menupopup> </menupopup>
</menu> </menu>
<menuseparator/> <vbox id="wappalyzer-applications"/>
</menupopup> </menupopup>
</hbox> </hbox>
</hbox> </hbox>

Loading…
Cancel
Save