aboutsummaryrefslogtreecommitdiffstats
path: root/js/vapi-background.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vapi-background.js')
-rw-r--r--js/vapi-background.js15
1 files changed, 9 insertions, 6 deletions
diff --git a/js/vapi-background.js b/js/vapi-background.js
index 6ca7572..08a84bc 100644
--- a/js/vapi-background.js
+++ b/js/vapi-background.js
@@ -2597,6 +2597,7 @@ vAPI.toolbarButton = {
/******************************************************************************/
+/*
(function() {
// Add toolbar button for Basilisk
if (Services.appinfo.ID !== "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}") {
@@ -2669,7 +2670,7 @@ vAPI.toolbarButton = {
CustomizableUI.getWidget(tbb.id).areaType === CustomizableUI.TYPE_MENU_PANEL
);
} catch (ex) {
- /* noop */
+ // noop
}
};
@@ -2725,16 +2726,18 @@ vAPI.toolbarButton = {
cleanupTasks.push(shutdown);
};
})();
+*/
/******************************************************************************/
-// Firefox Australis >= 36.
-
(function() {
// It appears that this branch actually works on the latest
// Basilisk. Maybe we can simply use this one directly instead of
// making checks like it's done now.
+ // It was decided to use this branch unconditionally. It's still
+ // experimental though.
+
// Add toolbar button for Basilisk
if (Services.appinfo.ID !== "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}") {
return;
@@ -2744,9 +2747,9 @@ vAPI.toolbarButton = {
if ( tbb.init !== null ) {
return;
}
- if ( Services.vc.compare(Services.appinfo.version, '36.0') < 0 ) {
- return null;
- }
+ // if ( Services.vc.compare(Services.appinfo.version, '36.0') < 0 ) {
+ // return null;
+ // }
var CustomizableUI = null;
try {
CustomizableUI = Cu.import('resource:///modules/CustomizableUI.jsm', null).CustomizableUI;