From 84986aecf969c09d66df768c3669b472a1c49212 Mon Sep 17 00:00:00 2001
From: teramako
Date: Sat, 12 Jan 2013 00:08:15 +0900
Subject: replace E4X. for vimperator 3.6+
---
copy.js | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/copy.js b/copy.js
index 7007f2d..18b61f5 100644
--- a/copy.js
+++ b/copy.js
@@ -1,5 +1,5 @@
var INFO =
- wedata から読込まない label のリストを定義します。
| {name} | -{map.feedSomeKeys.rhs} | -{map.matchingUrls ? map.matchingUrls : '[Global]'} | -
| ${name} | +${map.feedSomeKeys.rhs} | +${map.matchingUrls ? map.matchingUrls : '[Global]'} | +
+ template_name で設定されたURLを開きます。 +
+
+ %TITLE%を現在開いているWebページのタイトルに展開してURLを開きます。
-=== Example === -:exopen http://www.google.co.jp/search?q=%TITLE%: - %TITLE%を現在開いているWebページのタイトルに展開してURLを開きます。 -:exopen [title] - テンプレートで設定されたURLを開きます。 +
+ テンプレートで設定されたURLを開きます。
-== Keyword == -%TITLE%: - 現在のWebページのタイトル -%URL%: - 現在のWebページのURL -%SEL%: - 選択中の文字列 -%HTMLSEL%: - 選択中のHTMLソース +
+ j,k key scrolling to be smoothly.
+You can configure following variable as you like.
+Set scroll amount is 300px and interval is 10ms.
+||
- smooziee.smoothScrollBy(amount);
- ||<
- Example.
- >||
+ ]]>
+ smooziee.smoothScrollBy(amount);
+ Example
+普段のj,kキーのスクロールをLDRizeライクにスムースにします。
+以下の変数を.vimperatorrcなどで設定することで動作を調整することができます。
+スクロール量を300pxに、インターバルを10msに設定します。
+||
- smooziee.smoothScrollBy(amount);
- ||<
- amountにはスクロール量(ピクセル)を指定してください。正の値で下方向へ負の値で上方向へスクロールします。
-
- Example.
- >||
+ ]]>
+ 他のキーにマップする場合やスクリプトから呼び出せるようAPIを用意してます。
+smooziee.smoothScrollBy(amount);
+ Example
+
- Social Bookmark direct add script
+for Migemo search: require XUL/Migemo Extension
+Use social bookmark services to extract tags
+Usage:
Use social bookmark services to post
+Usage:
Post message type
+Use normalize permalink
+ +Use Migemo completion
+ +Private bookmark
+ +Extract tags from social bookmarks for completion
+Post a current page to social bookmarks.
+service: Specify target SBM services to post (default: "hdl")
+Goto Bookmark Entry Page
+Show Bookmark Count as Icon
+|
-
- |
- {Utils.anchorLink(rt.text)} + ${Utils.anchorLink(rt.text)} | - - ۞ - + ۞ | -
|
-
- |
- {Utils.anchorLink(status.text)} + ${Utils.anchorLink(status.text)} | - - ۞ - + ۞ | -
+
mapping sample
pdfjs index
- nnoremap -urls ^\\.pdf$ z :pdfjs zoom
- ]]> mapping sample
pdfjs index
+ nnoremap -urls ^\\.pdf$ z :pdfjs zoom
+ ]]> Escape from iframe (focus to parent window).
| {msg} |
This plugin requires _libly.js.
エレクチオンテキストと画像を表示します。
| 入力 | 効果 | 解説 |
|---|---|---|
| *TEXT* | TEXT | 太字 |
| -ね こ- | 英数字や半角スペースを入れたらOK | |
| -Aねこす- | 英数字を前後に入れても良い |
{'x' + status.favorited}> : <>>;
- var replies = <>>;
+ var star = status.favorited > 0 ? `
{'x' + status.favorited}` : ``;
+ var replies = ``;
if (text.indexOf(keyword+"=") == 0) text = status.text.substr(keyword.length + 1);
text = convert(text);
@@ -159,16 +159,16 @@ The script allows you to update Haiku status from Vimperator.
if (status.replies.length > 0){
replies = Load jQuery for commandline.
->; +`; // }}} (function () { diff --git a/ldc-completer.js b/ldc-completer.js index 562594c..2ce943e 100644 --- a/ldc-completer.js +++ b/ldc-completer.js @@ -33,8 +33,7 @@ THE POSSIBILITY OF SUCH DAMAGE. }}} */ // INFO {{{ -let INFO = -<> +let INFO = xml`同期して、ローカルにインポートする。
Meow!
{song.Title} / {song.Artist} #NowPlaying>
+:cabbrev -javascript .song let (song = plugins.mpdCurrentsong.API.getSongInfo()) `{song.Title} / {song.Artist} #NowPlaying`
]]>
{song.Title} / {song.Artist} #NowPlaying>
+:cabbrev -javascript .song let (song = plugins.mpdCurrentsong.API.getSongInfo()) `{song.Title} / {song.Artist} #NowPlaying`
]]>
Make numeronymized text.
新しいタブに選択したフレームを開く
URL 移動時にそのURLが既に開かれていたら、そのタブに移動する
->; +`; // }}} /* diff --git a/option-selector.js b/option-selector.js index ee29dc7..db4609f 100644 --- a/option-selector.js +++ b/option-selector.js @@ -33,7 +33,7 @@ THE POSSIBILITY OF SUCH DAMAGE. }}} */ // PLUGIN_INFO {{{ -let PLUGIN_INFO = +let PLUGIN_INFO = xml`補完で検索し、リファレンスのページを新しいタブに開きます。
フルスクリーン切り換え
...and
{todo.todo_rid}
- >.toSource()
+ `.toSource()
.replace(/(?:\r?\n|\r)[ \t]*/g, " ") +
sprintf(': %s', todo.body))
.join("{comment}
{msg});
+ liberator.echo(xml`${msg}`);
}
function kawase (value, clipboard, from, to) {
diff --git a/zip-de-download.js b/zip-de-download.js
index 27aad76..a6d8a97 100644
--- a/zip-de-download.js
+++ b/zip-de-download.js
@@ -6,7 +6,7 @@ let INFO = xml`
+
特定ページの画像とかのURLを取ってきて一気にZIPにしてダウンロードするお