From d06fa65d9fff226b7e8254f1a31cd7831051512e Mon Sep 17 00:00:00 2001
From: anekos
Date: Tue, 3 Mar 2009 12:01:22 +0000
Subject: さらにでかいねこにしんか!
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@30728 d0d07461-0603-4401-acd4-de1884942a52
---
maine_coon.js | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
(limited to 'maine_coon.js')
diff --git a/maine_coon.js b/maine_coon.js
index 3b3c7d6..3fcd24d 100644
--- a/maine_coon.js
+++ b/maine_coon.js
@@ -38,7 +38,7 @@ let PLUGIN_INFO =
メインクーン
Make the screen larger
なるべくでかい画面で使えるように
- 2.1.1
+ 2.2.0
anekos
2.0pre
2.0pre
@@ -63,12 +63,14 @@ let PLUGIN_INFO =
m:
Displays the message to command-line.
(e.g. "Yanked http://..." "-- CARET --")
+ l:
+ Large mode (Hide status line)
>||
:set mainecoon=ac
||<
The default value of this option is "am".
=== note ===
- Probably, The C and c options are supported on some OSs only.
+ The C and c options probably are supported on some OSs only.
== Global Variables ==
maine_coon_targets:
Other elements IDs that you want to hide.
@@ -102,6 +104,8 @@ let PLUGIN_INFO =
m:
コマンドラインへのメッセージを表示します。
("Yanked http://..." "-- CARET --" など)
+ l:
+ ラージモード (Hide status line)
"c" と "f" の併用は意味がありません。
>||
:set mainecoon=ac
@@ -210,7 +214,8 @@ let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/)
window.fullScreen = full;
delay(function () {
hideTargets(full);
- document.getElementById('status-bar').setAttribute('moz-collapsed', false);
+ if (!options.get('mainecoon').has('l'))
+ document.getElementById('status-bar').setAttribute('moz-collapsed', false);
document.getElementById('navigator-toolbox').collapsed = full;
if (!full)
window.maximize();
@@ -349,6 +354,8 @@ let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/)
function has (c)
(value.indexOf(c) >= 0);
+ document.getElementById('status-bar').setAttribute('moz-collapsed', has('l'));
+
if (has('f')) {
hideChrome(false);
delay(function () setFullscreen(true));
@@ -362,6 +369,7 @@ let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/)
hideChrome(false);
delay(function () setFullscreen(false));
}
+
setAutoHideCommandLine(has('a'));
useEcho = has('m');
@@ -375,6 +383,7 @@ let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/)
['a', 'Hide automatically command-line'],
['C', 'Hide caption bar (maximize)'],
['m', 'Displays the message to command-line'],
+ ['l', 'Large mode. Hide status-line'],
];
},
validater: function (value) /^[cfa]*$/.test(value)
--
cgit v1.2.3