aboutsummaryrefslogtreecommitdiffstats
path: root/stylechanger.js
diff options
context:
space:
mode:
authorteramako2008-04-13 11:01:48 +0000
committerteramako2008-04-13 11:01:48 +0000
commit560be4583dd7a54023e3cd7699400e324b183972 (patch)
treea18bebbe76af2bcd7f845feb507654456989a9bd /stylechanger.js
parent087b508f9d0648c76d1dbe5409f7612bc62c4ab5 (diff)
downloadvimperator-plugins-560be4583dd7a54023e3cd7699400e324b183972.tar.bz2
lang/javascript/vimperator-plugins/trunk/stylechanger.js:
・liberator.plugins.styleSheetsMangerへオブジェクト名を変更 ・その他 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@9402 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'stylechanger.js')
-rw-r--r--stylechanger.js15
1 files changed, 9 insertions, 6 deletions
diff --git a/stylechanger.js b/stylechanger.js
index 0a60ec6..3350cdb 100644
--- a/stylechanger.js
+++ b/stylechanger.js
@@ -1,8 +1,12 @@
/**
- * stylesheet changer
- * @author teramako teramako@gmail.com
- * @license MPL 1.1/GPL 2.0/LGPL 2.1
- * @see http://d.hatena.ne.jp/teramako/20080405/vimperator_plugin_stylechanger_js
+ * ==VimperatorPlugin==
+ * @name stylesheet changer
+ * @description enable to apply user stylesheets like Stylish
+ * @description-ja Stylishの様にユーザスタイルシートの適用を可能にします
+ * @author teramako teramako@gmail.com
+ * @namespace http://d.hatena.ne.jp/teramako/20080405/vimperator_plugin_stylechanger_js
+ * @license MPL 1.1/GPL 2.0/LGPL 2.1
+ * ==/VimperatorPlugin==
*
* Usage:
*
@@ -65,8 +69,7 @@ function getStylesheetList(){
return list;
}
-if (!liberator.plugins) liberator.plugins = {};
-liberator.plugins['styleSheetsManger@teramako.jp'] = (function(){
+liberator.plugins.styleSheetsManger = (function(){
var sss = Components.classes['@mozilla.org/content/style-sheet-service;1'].getService(Components.interfaces.nsIStyleSheetService);
var ios = Components.classes['@mozilla.org/network/io-service;1'].getService(Components.interfaces.nsIIOService);
function init(){