| Version 0.10.3
Changed the code of parsing of watch pages,because the content has been changed about uploaded date except English mode.
英語以外で表示した場合に、視聴ページのコンテンツ(アップロード日の表示)が変更されたので、コンテンツ解析部分のコードを変更しました。
Please add your review in order to enhance this script in the future if you have your acount of this site.
このサイトのアカウントをお持ちでしたら、今後のエンハンスのためにレビューをお願いします。
1. List pages
This function can use only in video thumbnail list like following pages.
Also includes a video list in watch pages.
以下のようなビデオサムネイルリストのページで利用することが出来ます。
また、視聴ページ内のビデオリストも含みます。
(a) Videos pages

(b) Channel pages

(c) Group pages

(d) User pages

(e) Search results pages

- (1) Download
If you want to download the video, click this link.
You can select the video type that you want to display.
But if the specified video does not exist, it is not displayed.
ビデオをダウンロードしたい場合、このリンクをクリックしてください。
ダウンロードリンクを表示するビデオのフォーマットを以下の中から選択できます。
ただし、指定動画が存在する場合のみです。
| FLV |
normal FLV video
通常のFLV形式動画
| | MP4 HQ |
MP4 H264 HQ video
MP4 H264形式 HQ動画
| | MP4 HD |
MP4 H264 HD video
MP4 H264形式 HD動画
|
- (2) Video informations(ビデオ情報)
You can display uploaded date,comments,and favorites.
登録日、コメント数、お気に入り数を表示できます。
- (3) Watch Video
If you want to watch the video,click this button. The video panel will be displayed.
リスト画面でプレビュービデオを見たい場合、このボタンをクリックしてください。ビデオパネルが現れます。
You can control these functions.
You can customize text color and font-size,etc.,but you have to edit the source code at your own risk.
See 4-1. Set up this script
これらは設定画面で表示制御ができます。
色やフォントサイズなどをカスタマイズしたい場合は、自己責任でソースを直接書き換えてください。 4-1. Set up this scriptを見てください。
2. Video panel
Click the 'Watch video' button added below the video informations if you want to watch a video in list pages.
The video panel will be displayed.
You can set up this function. See 4-1. Set up this script
リスト画面でビデオを見たい場合、ビデオ情報の下に追加される'Watch video'ボタンをクリックしてください。
ビデオパネルが現れます。
この機能を使う場合は、4-1. Set up this scriptを参照してください。
- (1) Customized size
e.g. width is 320 pixel and height is 240 pixel .
横幅320ピクセルで高さ240ピクセルに設定した場合、次のようになります。

e.g. width is 640 pixel and height is 480 pixel .
横幅640ピクセルで高さ480ピクセルに設定した場合、次のようになります。

- (2) Auto resize
e.g. The resolution of the original video is 480 x 365 pixel.
元のビデオの解像度が横幅480ピクセルで高さ365ピクセルの場合、次のようになります。

- (3) Drag & Drop
You can move the video panel by using drag and drop.
Do drag & drop by gripping the black area(opacity 90%) around the player.
In this area,the mouse pointer will change to move cursor type.
ビデオパネルはドラッグ&ドロップで移動できます。
プレーヤーの周囲の領域を掴んで移動させてください。
この領域ではマウスカーソルが移動の形状(上下左右の矢印を組み合わせた形状)になります。
- (4) Drop-down list

You can select the video type that you want to download.
But if the specified video does not exist, it is not displayed in the list.
ダウンロードしたいビデオの種類をリストから選択してください。
ダウンロードリンクを表示するビデオのフォーマットを以下の中から選択できます。
ただし、指定動画が存在する場合のみです。
| FLV |
normal FLV video
通常のFLV形式動画
| | MP4 HQ |
MP4 H264 HQ video
MP4 H264形式 HQ動画
| | MP4 HD |
MP4 H264 HD video
MP4 H264形式 HD動画
|
- (5) Download video
At first,select video type.
You can download video by clicking the 'Download video' button.
'Download video' ボタンのクリックでプレビュービデオをダウンロードする事ができます。
先にドロップダウンリストでビデオの種類を選択してください。
If you want to download the video,click the 'Download video' button.
プレビュービデオをダウンロードしたい場合、ビデオパネル右下にあるDownload videoボタンをクリックしてください。
- (6) Resize
If you want to change the size of the video panel dynamically, drag the box at the lower right corner.
The mouse pointer will change to se-resize cursor type on this box.
You can resize the player between the useful range.
You can set up the range. See 4-1. Set up this script
ビデオパネルのサイズを動的に変化させたい場合は、右下角にある をドラッグしてください。
このボックス上ではマウスカーソルが右下リサイズの形状(左上向きと右下向きの矢印を組み合わせた形状)になります。
有効範囲内の大きさでリサイズする事ができます。
有効範囲は、4-1. Set up this scriptを見て、設定してください。
- (7) Lock/Unlock
If you want to keep the position of the player, click the 'Lock' button beside the 'X' button.
This button will change the 'Unlock' button, and you will not be able to move it.
If you don't want to keep the position of the player, click the 'Unlock' button.
It will change the 'Lock' button, and you will be able to move it.
The resize function is not locked.
プレーヤーの表示位置を固定したい場合、'Lock'ボタンをクリックしてください。
ボタンが'Unlock'ボタンに変わり、プレーヤーを移動できなくなります。
プレーヤーの表示位置を移動可能にしたい場合、'Unlock'ボタンをクリックしてください。
ボタンが'Lock'ボタンに変わり、プレーヤーを移動できるようになります。
リサイズ機能はロックされません。
- (8) Status bar
In the status bar,the following status is displayed.
Resolution and aspect ratio of the video and player size and aspect ratio of the current player.
But the actual video's ratio is fixed irrespective of the player's ratio.
ステータスバーに、以下のステータスが表示されます。
元のプレビュービデオの解像度とアスペクト比、およびプレーヤーのサイズとアスペクト比。
ただし、表示されるプレーヤーのアスペクト比に関係なく、ビデオ自体のアスペクト比は一定です。
- (9) Close
If you want to close the video panel, click the 'X' button at the upper right corner.
ビデオパネルを閉じる時は、右上角にある'X'ボタンをクリックしてください。
3. Watch pages
You can add download buttons.
You can set up these informations. See 4-1. Set up this script
ダウンロードボタンを視聴ページに追加できます。
また、これらの情報は設定することができます。設定は4-1. Set up this scriptを参照してください。

- (1) Download button

If you want to download the video,
click the 'Download' button.
You can customize the button. See 4-1. Set up this script
ビデオをダウンロードしたい場合、'Download'ボタンをクリックしてください。
このボタン(文字色、背景色など)はカスタマイズができます。
4-1. Set up this scriptを参照してください。
4. User script command menu4-1. Set up this script
-
If you want to set up this script, select this menu.
The setup panel including four tabs is displayed.
At first,the tab of List page is selected.
In order to change a tab,click the tab what you want to set up.
ビデオ一覧の設定をしたい場合、このメニューを選択してください。
4つのタブを含む設定パネルが表示されます。
最初に、リストページのタブが選択されています。
設定したい項目のタブをクリックして切り換えてください。
- (1) List page
If you want to set up about list pages, click this tab.
リストページの設定をしたい場合、このタブをクリックしてください。

- About link and button
| Download link |
if you want to add the Download link, check to the following video type.
'Download' リンクを追加したい場合、ビデオの種類を選択してください。
| FLV |
normal FLV video
通常のFLV形式動画
| | MP4 HQ |
MP4 H264 HQ video
MP4 H264形式 HQ動画
| | MP4 HD |
MP4 H264 HD video
MP4 H264形式 HD動画
|
| Text |
If you want to change the link text,change this.
ダウンロード用のリンクの表示文字列を変更したい場合、この文字列を変更してください。
|
| | Watch Video button |
If you want to add the Watch Video button, check this.
'Watch video' ボタンを追加したい場合、これにチェックを付けてください。
| Text |
If you want to change the button text,change this.
視聴用のボタンの表示文字列を変更したい場合、この文字列を変更してください。
|
|
- About video informations
| Uploaded |
If you want to add an uploaded date, check this.
登録日を追加したい場合、これにチェックを付けてください。
| | Views |
If you want to add a number of views, check this.
視聴数を追加したい場合、これにチェックを付けてください。
| | Comments |
If you want to add a number of comments, check this.
コメント数を追加したい場合、これにチェックを付けてください。
| | Favorites |
If you want to add a number of favorites, check this.
お気に入り数を追加したい場合、これにチェックを付けてください。
|
- (2) Video panel
If you want to set up about the video panel, click this tab.
ビデオパネルの設定をしたい場合、このタブをクリックしてください。

- About player
| Autoplay |
If you want to play automatically when the video panel opened,check this.
プレーヤが表示されたときに自動再生したい場合、これにチェックを付けてください。
| | Auto Resize |
If you want to resize automatically according to the original video size when the video panel opened,check this.
プレーヤが表示されたときに自動的に元のビデオサイズにリサイズしたい場合、これにチェックを付けてください。
| | Player width |
If you want to specify the player width,set this with pixel.
If "Auto resize" is checked,this value will be ignored.
プレーヤの横幅を指定したい場合、これにピクセル値を設定してください。
Auto resizeが有効な場合、この値は無視されます。
| | Player height |
If you want to specify the player height,set this with pixel.
If "Auto resize" is checked,this value will be ignored.
プレーヤの高さを指定したい場合、これにピクセル値を設定してください。
Auto resizeが有効な場合、この値は無視されます。
| | Fit aspect ratio |
If you want to fit the aspect ratio of the video when you specified the player width and height without checking "Auto Resize",check this.
Player width is the specified value.
Player height will be calculated according to the aspect ratio of the video.
Auto Resizeでない場合に、プレーヤーの高さを自動的にビデオのアスペクト比に合わせて計算したい場合、これにチェックを付けてください。
プレーヤの横幅は指定した値になります。
プレーヤの高さはビデオのアスペクト比(embed情報より計算)から計算されます。
| | Useful range(width) |
If you want to specify the useful range of the player about the width,set minimum value and maximum value with pixel.
プレーヤの横幅の有効範囲を指定したい場合、これにピクセル値で最小値と最大値を設定してください。
| | Useful range(height) |
If you want to specify the useful range of the player about the height,set minimum value and maximum value with pixel.
プレーヤの高さの有効範囲を指定したい場合、これにピクセル値で最小値と最大値を設定してください。
|
The player width and height have to be set between the useful range.
Player widthとPlayer heightは有効範囲内の値を指定してください。
- About items on the panel
| Download link |
If you want to add the Download Video link, check this.
Download Video リンクを追加したい場合、これにチェックを付けてください。
| Text |
If you want to change the link text,change this.
ダウンロード用のリンクの表示文字列を変更したい場合、この文字列を変更してください。
|
|
- (3) Watch page
If you want to set up about watch pages, click this tab.
視聴ページの設定をしたい場合、このタブをクリックしてください。

- About buttons
| Download button |
if you want to add the DOWNLOAD button, check the following video type.
ダウンロード用のボタンを表示したいビデオの種類を選択してください。
| FLV |
normal FLV video
通常のFLV形式動画
| | MP4 HQ |
MP4 H264 HQ video
MP4 H264形式 HQ動画
| | MP4 HD |
MP4 H264 HD video
MP4 H264形式 HD動画
|
| Text |
If you want to change the button text,change this.
ボタンの表示文字列を変更したい場合、この文字列を変更してください。
| | include video type |
If you want to display the video type within the button,check this.
ダウンロードボタンの中にビデオの種類を含めたい場合、これにチェックをつけてください。
ボタンの右に表示してあったビデオの種類が消えて、ボタン内に表示されます。
| | Text color |
Input text color code.
You need to specify color code like red,blue,#E97300,rgb(255,255,255),etc.
テキスト表示色を指定してください。
red,blue,#E97300,rgb(255,255,255)のようなカラーコードで指定してください。
| | Background color |
Input background color code.
You need to specify color code like red,blue,#E97300,rgb(255,255,255),etc.
背景色を指定してください。
red,blue,#E97300,rgb(255,255,255)のようなカラーコードで指定してください。
| | Background image |
If you want to use backgroudn image,specify the URL of the image file.
You have to make an image file and upload on a web server.
You can use sample image.
If you specify the background image,the background color will be ignored.
ボタンの背景にイメージを使用したい場合、イメージファイルのURLを指定してください。
ボタンに使用するイメージを作成して、どこかのウェブサーバにアップロードしてください。
サンプルイメージを使うこともできます。
Background imageを指定した場合、Background colorは無効になります。
|
| e.g. (a) Without background image
Text color: #FFFFFF
Background color: #E97300
Background image:

(b) With background image
Text color: #FFFFFF
Background color:
Background image: http://i1205.photobucket.com/albums/bb428/charm...

If you want to use a sample image of the image link,you can use these images.
背景イメージのサンプルを使用したい場合、以下のイメージを使用できます。 http://i1205.photobucket.com/albums/bb428/charm...
http://i1205.photobucket.com/albums/bb428/charm...
http://i1205.photobucket.com/albums/bb428/charm... http://i1205.photobucket.com/albums/bb428/charm...
http://i1205.photobucket.com/albums/bb428/charm... http://i1205.photobucket.com/albums/bb428/charm...
(c) exclude video type(default)
Text : DOWNLOAD
include video type: not checked

(d) include video type
Text : DL
include video type: checked

(e) No text and include video type
Text :
include video type: checked

- (4) Script control
If you want to set up about the control of this script, click this tab.
このスクリプトの制御についての設定をしたい場合、このタブをクリックしてください。

- About queue control
If you want to control the queue to get video informations,set up this.
Adjust the values,because it makes the process of the web browser heavy or the process does not start soon by the value.
ビデオ情報取得用キューの制御をしたい場合、これを設定してください。
値によっては、ブラウザがすごく重くなったり、処理がなかなかはじまらなかったりしますので値を調整してください。
| Check interval |
If you want to specify the check interval of added videos in the page, set the value of interval.
The unit is "seconds" and you can specify from 3 to 60.
キューの状態のチェック間隔を指定したい場合、この値を指定してください。
単位は秒で3から60までが指定できます。
| | Check interval after finished the process of all videos |
Same above but after processed all of videos, set the value of interval.
The unit is "seconds" and you can specify from 3 to 60.
上と同じですが、全てのビデオ情報を取得し終わったと認識した後のチェック間隔を指定します。
単位は秒で3から60までが指定できます。
| | Upper limit of sending HTTP request |
This script sends HTTP request to get video informations up to this value at the same time.
You can specify from 1 to 25. But a big value makes the process of the web browser heavy.
ビデオ情報を取得するために同時に送信するHTTPリクエストの上限値を指定します。
1から25まで指定できます。同時送信が多いと処理が重くなります。
| | Upper limit of waiting HTTP response |
This script waits HTTP response until this value.
The unit is "seconds" and you can specify from 30 to 300.
HTTPレスポンスをいつまで待つかという上限値を指定します。
単位は秒で30から300までが指定できます。
| | Upper limit of retrying |
This script retries getting video informations up to this value.
The unit is "times".The unit is "sec" and you can specify from 0 to 10.
But I think it will be error again.
ビデオ情報の取得に失敗していると判定したビデオのリトライ回数を指定できます。
単位は回数で0から10まで指定できます。ただし、リトライしてもエラーになる可能性が高いです。
|
- (5) Update checker
If you want to check even if the script updated, click this tab.
アップデートチェッカーの設定をしたい場合、このタブをクリックしてください。

- About check pattern
| No check |
If you don't want to check, select this.
アップデートのチェックをしない場合、これを選択してください。
| | Every loading |
If you want to check on every loading, select this.
スクリプトが読み込まれる度にチェックをしたい場合、これを選択してください。
| | Once a day |
If you want to check on first loading on a day, select this.
日の最初にスクリプトが読み込まれた時にのみチェックをしたい場合、これを選択してください。
| | Once a week |
If you want to check on first loading on a week or specified day, select this.
週の最初にスクリプトが読み込まれた時にのみチェックをしたい場合、これを選択してください。
| Any day | at the first loading on a week
週の最初にスクリプトが読み込まれた時(曜日は問わない)
| | Sunday | at the first loading on Sunday
日曜日で最初にスクリプトが読み込まれた時
| | Monday | at the first loading on Monday
月曜日で最初にスクリプトが読み込まれた時
| | Tuesday | at the first loading on Tuesday
火曜日で最初にスクリプトが読み込まれた時
| | Wednesday | at the first loading on Wednesday
水曜日で最初にスクリプトが読み込まれた時
| | Thursday | at the first loading on Thursday
木曜日で最初にスクリプトが読み込まれた時
| | Friday | at the first loading on Friday
金曜日で最初にスクリプトが読み込まれた時
| | Saturday | at the first loading on Saturday
土曜日で最初にスクリプトが読み込まれた時
|
| | Once a month |
If you want to check on first loading on a month, select this.
月の最初にスクリプトが読み込まれた時にのみチェックをしたい場合、これを選択してください。
|
- Check now
If you want to check manually, click the 'Check now' button.
手動でチェック処理を呼び出したい場合、'Check now'をクリックしてください。
- Message panel
If you use the latest version, a message is not displayed without checking manually.
You need to go to the target site of this script to execute this checker.
手動によるチェック時を除いて、最新版を使用している場合、メッセージは表示されません。
また、更新チェッカーを作動させるためには、このスクリプトの対象サイトに行く必要があります。
- In the case of using an older version(the latest version is released)
旧版を使っている場合(最新版がリリースされている)

If you want to install the latest version, click 'the script page' link.
最新版に更新したい場合、'the script page' をクリックしてスクリプトページへ行ってください.
- In the case of using the latest version(only manual checking)
最新版を使っている場合(手動チェック時のみ)

- Error
エラーになった場合

If you want to change the checker setting, click 'Set up' button.
If you want to close the message, click 'X' button.
設定を変更したい場合、'Set up' ボタンをクリックしてください。
メッセージボックスを閉じたい場合、'X' ボタンをクリックしてください。
- (6) Save or abort
If you want to save the setting, click the 'OK' button.
If you want to abort, click the 'Cancel' button.
設定変更を確定し保存する場合、'OK'をクリックしてください。
設定変更を破棄する場合、'Cancel'をクリックしてください。
5. Information- (1) AutoPager
This script set the addEventListener to the div node having "content_right" class on videos pages
and "related_list_box" ID on watch pages.
Therefore if you use AutoPager,set the content XPath a node under it.
動画一覧ページでは"content_right" というクラスを持つdivノードに対してaddEventListenerを設定しています。
視聴ページでは"related_list_box" というIDを持つdivノードに対してaddEventListenerを設定しています。
したがって、AutoPagerを使う場合、コンテンツXPathはこのノード配下のノードを指すXPathを指定してください。

- (2) Cooperate with Irvine ContextMenu add-on
This function is for Irvine users. Irvine is a downloader made in Japan.
If you can't understand Japanese,it might be difficult to use it.
This script adds "filename" attribute to generated download links.
This attribute is necessary to cooperate with Irvine ContextMenu add-on.
But original Irvine ContextMenu does not get this property.
So if you want to receive the filename(for save as) with Irvine, you have to edit the source code of Irvine ContextMenu.
If you need the source code modified by me,contact me.
この機能はIrvineユーザ用です。
このスクリプトは生成したダウンロードリンクに"filename"属性を追加しています。
この属性はアドオンのIrvine ContextMenuとの連携に必要です。
ただし、Irvine ContextMenuはそのままでは、受け取ってくれません。
したがって、Irvineにファイル名(保存用)を受け取らせたい場合、Irvine ContextMenuのソースを改造する必要があります。
改造内容を書くのが面倒なので、修正済のソースが必要な方は、ご連絡ください。
6. To-Do / Doing List- (1) Cutomize download button,etc.
I'm going to add the new setup items to customize the color,etc. of "Download" links and "Watch Video" buttons.
"Download"リンクや"Watch Video"ボタンの色などをカスタマイズできるようにするつもりです。
|