2008-11-12から1日間の記事一覧

dog ear ( または、栞のテーマ )

「ここまで読んだ」というtitleのtextをprivate postするbookmarklet。dashboardを潜り始めるときに使っておくと、今度dashboardを潜るときに終わりの目印になります。post後にreloadされますが、エラー処理はしてませんので、止まったら疑ってください。

ASCII記号のURLエンコード対応表

CHAR CODE SPACE %20 ! %21 " %22 # %23 $ %24 % %25 & %26 ' %27 ( %28 ) %29 * %2A + %2B , %2C / %2F : %3A ; %3B %3C = %3D > %3E ? %3F @ %40 [ %5B %5C ] %5D ^ %5E ` %60 { %7B | %7C } %7D ~ %7E http://phpspot.org/blog/archives/2006/10/asciiurl…

なんか出来そうな気がしてきた。あとでのお楽しみ。

is_mine と no_mine

ハートのマークがでてきました

<form id="unlike_form_59233393" style="" onsubmit="submit_like(59233393, true); return false;" method="post" action="/unlike"> ...snip... </form> <form id="like_form_59233393" style="" onsubmit="submit_like(59233393, false); return false;" method="post" action="/like"> ...snip... </form> http://www.…

ハートのマークがでてこない

<form id="unlike_form_59233393" style="display: none;" onsubmit="submit_like(59233393, true); return false;" method="post" action="/unlike"> ...snip... </form> <form id="like_form_59233393" style="" onsubmit="submit_like(59233393, false); return false;" method="post" action="/like"> ...snip... </form>

var id = obj.id.match(/post([\d]+)/)[1]; でいうところの "id" っていうのは

<li id="post59233393" class="post regular is_reblog not_mine"> ...snip... </li> http://www.tumblr.com/dashboard ココの id="post59233393" のこと

LDRize Siteinfo for tumblr dsbd

Tumblr(dashboard) name: 'Tumblr - dashboard', domain: 'http://[^.]+.tumblr(?:-beta)?.com/(?:dashboard|show|tumblelog|filter)', paragraph: '//ol[@id="posts"]/li[@id]', link: './/a[@title="Permalink"]', height: 0,

delete tumblr on Minibuffer

http://d.hatena.ne.jp/Constellation/20080405/1207403014 // ==UserScript== // @name DeleteCommand // @namespace http://d.hatena.ne.jp/Constellation/ // @description delete tumblr on Minibuffer // @include http://www.tumblr.com/dashboard* //…

定番の処理: $X('XPath', node).forEach(function(e) { hogehoge; });

$X('id("files")//div[@class="info"]/span').forEach(function(e) { var filename = e.innerHTML; if (/\.user\.js$/.test(filename)) { var link = $X('parent::div/following-sibling::div[@class="actions"]/a', e)[0]; if (link) { var el = link.clone…