From 14889439ff69b981bfcab2cfc64518b236fa3869 Mon Sep 17 00:00:00 2001 From: mashiro Date: Tue, 21 Jun 2011 11:03:54 +0900 Subject: http://d.hatena.ne.jp/wlt/20110608/1307558426 を適用 --- ldrize_cooperation.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ldrize_cooperation.js') 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 - 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 -- cgit v1.2.3