diff options
author | mashiro | 2011-06-21 11:03:54 +0900 |
---|---|---|
committer | mashiro | 2011-06-21 11:03:54 +0900 |
commit | 14889439ff69b981bfcab2cfc64518b236fa3869 (patch) | |
tree | d5f7fe337fb8a2049df77d98374c46b40d96e441 /ldrize_cooperation.js | |
parent | 71ef6f5a46a02b683972c0191dd872dcfa4b9abc (diff) | |
download | vimperator-plugins-14889439ff69b981bfcab2cfc64518b236fa3869.tar.bz2 |
http://d.hatena.ne.jp/wlt/20110608/1307558426 を適用
Diffstat (limited to 'ldrize_cooperation.js')
-rw-r--r-- | ldrize_cooperation.js | 7 |
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 |