From 560be4583dd7a54023e3cd7699400e324b183972 Mon Sep 17 00:00:00 2001 From: teramako Date: Sun, 13 Apr 2008 11:01:48 +0000 Subject: 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 --- stylechanger.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'stylechanger.js') 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(){ -- cgit v1.2.3