aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ldrize_cooperation.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/ldrize_cooperation.js b/ldrize_cooperation.js
index f5e79b9..7a361c8 100644
--- a/ldrize_cooperation.js
+++ b/ldrize_cooperation.js
@@ -1,6 +1,6 @@
// Vimperator plugin: 'Cooperation LDRize Mappings'
// Version: 0.25
-// Last Change: 07-Jan-2011. Jan 2008
+// Last Change: 09-Jun-2011. Jan 2008
// License: Creative Commons
// Maintainer: Trapezoid <trapezoid.g@gmail.com> - http://unsigned.g.hatena.ne.jp/Trapezoid
//
@@ -315,7 +315,8 @@ if (liberator.plugins.LDRizeCooperation == undefined) (function(){
this.LDRizeCooperationPanel.setAttribute("src",value ? DISABLE_ICON : ENABLE_ICON);
_isEnable = value;
},
- isEnableLDRize: function() this.LDRize.getSiteinfo() != undefined,
+ isEnableLDRize: function() this.LDRize.getSiteinfo() != undefined ||
+ window.content.wrappedJSObject.document.getElementById("gm_ldrize") != null,
isEnableLDRizeCooperation: function() /^https?:$/.test(content.location.protocol) && this.isEnable && this.isEnableLDRize(),
//Pin
@@ -422,4 +423,4 @@ if (liberator.plugins.LDRizeCooperation == undefined) (function(){
};
liberator.plugins.LDRizeCooperation = new LDRizeCooperation();
-})();
+})(); \ No newline at end of file