Changeset 16715
- Timestamp:
- 07/28/08 00:00:41 (6 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/gmperator.js
r15909 r16715 5 5 * @author teramako teramako@gmail.com 6 6 * @namespace http://d.hatena.ne.jp/teramako/ 7 * @version 0. 4a7 * @version 0.5b 8 8 * ==/VimperatorPlugin== 9 9 * … … 50 50 * autocmd GMActiveScript scriptName\.user\.js$ :echo "scriptName is executing" 51 51 * when any URL and scriptName.user.js is executing 52 * 53 * --------------------------- 54 * Dialog 55 * --------------------------- 56 * :dialog userscriptmanager -> open Greasemonkey UserScript Manager 52 57 * 53 58 * }}} … … 88 93 return; 89 94 } 90 if(!liberator.plugins) liberator.plugins = {};91 92 95 93 96 liberator.plugins.gmperator = (function(){ //{{{ … … 196 199 getBrowser().mTabContainer.addEventListener('TabClose',updateGmContainerList,false); 197 200 getBrowser().mTabBox.addEventListener('TabSelect',dispatchGMTabSelect,false); 201 202 liberator.config.autocommands.push(["GMInjectedScript","Triggered when UserScript is injected"]); 203 liberator.config.autocommands.push(["GMActiveScript","Triggered when location is changed and injected UserScripts are exist"]); 204 liberator.config.dialogs.push(["userscriptmanager", "Greasemonkey Manager", function(){GM_openUserScriptManager();}]); 198 205 // }}} 199 206 return manager;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)