- iPhone版Googleリーダーで、今見ているエントリーをRead It Laterにポストする
- Instapaper mobilizerで見ていたページをRead It Laterにポストする
- それ以外であれば、今見ているページをそのままRead It Laterにポストする
javascript:
(function(){
var url;
var title;
if (/http:\/\/www\.google\.co\.jp\/reader\/i\//.test(location.href)) {
var expanded = document.getElementsByClassName("expanded");
var a = expanded[0].getElementsByClassName("item-title");
var link = a[0].getAttribute("href");
url = encodeURIComponent(link);
title = encodeURIComponent(a[0].innerHTML);
} else if (/http:\/\/www\.instapaper\.com\/m/.test(location.href)) {
url = location.href.substring(30);
title = encodeURIComponent(document.title);
} else {
url = encodeURIComponent(location.href);
title = encodeURIComponent(document.title);
}
location.href = "http://readitlaterlist.com/edit_process.php?url=" + url + "&title=" + title;
})();