2008/01/04

TimelogでAutoPagerizeを使いたい


-概要-

Timelog向けの、AutoPagerize用SITEINFOです。
Firefox + Greasemonkey にAutoPagerizeをインストールして使用。

-動作確認-
Firefox 3.0
Greasemonkey 0.8.20080609.0
AutoPagerize 0.0.31 2008-06-29

-出来ること-
AutoPagerizeを使用すると、2ページ、3ページなどのリンクをクリックしなくとも、ページをスクロールさせるだけで次のページへ遷移できるので便利。
画像クリックで拡大。


Timelogのこれ↓をクリックしなくてもページが変わる。

溜まったログを過去にさかのぼる時に便利かと思って作成。

-対応しているページ-
+ホーム
友達のメモ
自分のメモ
自分宛のメモ
メッセージ
Todoリスト
メモクリップ
ブックマーク
Good & New
メモフレンド
写真

+トップ
みんなのメモ
みんなのブックマーク
みんなのGood & New
みんなの投票

+メモフレンドのログ
+メモフレンド以外のログ
+グループ

(たくさんあるから、記載に過不足があるかも)

-設定方法-
autopagerize.user.jsに直接記述して使用。
サルを右クリック→ユーザースクリプトの管理 で編集できます。

var SITEINFO = [      ←この次の行に、Copy & Paste  

ダウンロードしたてのautopagerize.user.jsは↓こんな感じなので...... 
画像クリックで拡大。 

こんな感じにします。行Noが太くなった部分が変更点。



-問題がないわけじゃない-
「自動更新」絡みで表示がカオスになる事があります。
あらかじめ、自動更新をなしに設定して、それからスクロールするのがオススメ。

-その他-
○2ページ目以降で評価が出来ない場合。
autopagerize.user.jsを編集すると可能になりますが、こちらのページを読んでからの方が良いかも。 (Bloggerがおかしいのか、リンクが貼れないのでurlを)
http://june29.jp/2007/10/04/autopagerize-force-target-window

var FORCE_TARGET_WINDOW = true を探して
以下のように変更します。
var FORCE_TARGET_WINDOW = false

-SITEINFO本体- Copy & Pasteして使用してください 



/* 今をメモする「Timelog」 ------------------------------------------- start*/
{
url: 'http://([a-z0-9]+.)?timelog.jp/home|/home/public.asp|(home|profile/(resmsg|message|task|task_no|photos|clip|bookmark|goodandnew|fri(end|to|from)|tags).asp|pubbook|pubjudge|pubgnew|timeline|(pubtags|groupline).asp)',
nextLink: '//div[@id="main\_box_body"]/div[@class="pages"]/a[last()]',
insertBefore: '//div[@id="main\_box_body"]/div[@class="pages"]',
pageElement: '//ul[@id="timeline"]',
exampleUrl: 'http://([a-z0-9]+.)?timelog.jp/home|/home/public.asp|(home|profile/(resmsg|message|task|task_no|photos|clip|bookmark|goodandnew|fri(end|to|from)|tags).asp|pubbook|pubjudge|pubgnew|(pubtags|groupline).asp)',
},
/* 今をメモする「Timelog」 ------------------------------------------- end*/


-更新履歴-
+2008/09/08 更新
        Timelogメンテに伴って、手直し。

+2008/03/22 更新
        2008/03/06(だっけ?)のTimelogメンテに伴って、いくつか手直し。
        プロファイル - 写真など。
        Timelog桜組がすてきだったので、これに対応。
+2008/01/08 「メモフレンド以外のログ」が抜けていたので追加
+2008/01/05 更新
        shirayukiさんのご協力(ありがとうございます)により、ホームの対応ページが大幅に増加。
        トップ(みんなのメモ etc)に対応。
        とても快適になった。
        画像と説明を更新。
+2008/01/04 公開






以下は過去分の待避用です。気にしないで下さい。

2008年9月08日待避分
/* 今をメモする「Timelog」 ------------------------------------------- start*/
/* ホーム start */
{
url: 'http://([a-z0-9]+.)?timelog.jp/(home|profile/(resmsg|message|task|task_no|photos|clip|bookmark|goodandnew|fri(end|to|from)|tags).asp|life|(pubtags|timeline|timefrnd|groupline).asp)',
nextLink: '//div[@id="main\_box_body"]/div[@class="pages"]/a[last()]',
insertBefore: '//div[@id="main\_box_body"]/div[@class="pages"]',
pageElement: '//ul[@id="timeline"]',
exampleUrl: 'http://([a-z0-9]+.)?timelog.jp/(home|profile/(resmsg|message|task|task_no|photos|clip|bookmark|goodandnew|fri(end|to|from)|tags).asp|life|(pubtags|timeline|timefrnd|groupline).asp)',
},
/* ホーム end  */
/* トップ start */
{
url: 'http://timelog.jp/(pubmemo|pubbook|pubgnew|pubjudge|pubphoto).asp',
nextLink: '//div[@id="main\_box"]/div[@class="pages"]/a[last()]',
insertBefore: '//div[@id="main\_box"]/div[@class="pages"]',
pageElement: '//div[@id="main\_box"]',
exampleUrl: 'http://timelog.jp/(pubmemo|pubbook|pubgnew|pubjudge|pubphoto).asp',
},
/* トップ end */
/* 今をメモする「Timelog」 ------------------------------------------- end*/



2008年3月22日待避分
/* 今をメモする「Timelog」 ------------------------------------------- start*/
/* ホーム start */
{
url: 'http://([a-z0-9]+.)?timelog.jp/(home|profile/(resmsg|message|task|clip|bookmark|goodandnew|fri(end|to|from)|tags).asp|(pubtags|timeline|timefrnd).asp)',
nextLink: '//div[@id="main\_box_body"]/div[@class="pages"]/a[last()]',
insertBefore: '//div[@id="main\_box_body"]/div[@class="pages"]',
pageElement: '//ul[@id="timeline"]',
exampleUrl: 'http://([a-z0-9]+.)?timelog.jp/(home|profile/(resmsg|message|task|clip|bookmark|goodandnew|fri(end|to|from)|tags).asp|(pubtags|timeline|timefrnd).asp)',
},
/* ホーム end  */
/* トップ start */
{
url: 'http://timelog.jp/(pubmemo|pubbook|pubgnew|pubjudge|pubphoto).asp',
nextLink: '//div[@id="main\_box"]/div[@class="pages"]/a[last()]',
insertBefore: '//div[@id="main\_box"]/div[@class="pages"]',
pageElement: '//div[@id="main\_box"]',
exampleUrl: 'http://timelog.jp/(pubmemo|pubbook|pubgnew|pubjudge).asp',
},
/* トップ end */
/* 今をメモする「Timelog」 ------------------------------------------- end*/

0 件のコメント: