<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel rdf:about="https://let.hatelabo.jp/hirunomasahiro/rss">
    <link>https://let.hatelabo.jp/hirunomasahiro/rss</link>
    <description></description>
    <title>Bookmarklets from hirunomasahiro</title>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://let.hatelabo.jp/hirunomasahiro/let/hJmc3LyH2rB5"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/hirunomasahiro/let/hLHU3LvMp9dM"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/hirunomasahiro/let/hLHUzcaWoI9D"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/hirunomasahiro/let/hLHUzcHjw8ls"/>
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://let.hatelabo.jp/hirunomasahiro/let/hJmc3LyH2rB5">
    <link>https://let.hatelabo.jp/hirunomasahiro/let/hJmc3LyH2rB5</link>
    <dc:date>2016-02-15T07:30:15Z</dc:date>
    <description>Amazonの個別商品ページで駿河屋検索をおこなう</description>
    <dc:creator>hirunomasahiro</dc:creator>
    <title>[Let] 駿河屋検索 for amazon ブックマークレット</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fhirunomasahiro%2Flet%2FhJmc3LyH2rB5.bookmarklet.js%20%28arg%29%22.replace%28%2F%28%5CS%2B%29%5Cs%2B%28%5CS%2A%29%2F%2Cfunction%28s%2Curl%2Carg%29%7Bs%3Ddocument.createElement%28%22script%22%29%3Bs.charset%3D%22utf-8%22%3Bs.src%3Durl%2B%22%3Fs%3D%22%2BencodeURIComponent%28arg%29%3Bdocument.body.appendChild%28s%29%7D%29%3Bvoid%280%29%3B"&gt;駿河屋検索 for amazon ブックマークレット&lt;/a&gt;&lt;pre&gt;/*
 * @title 駿河屋検索 for amazon ブックマークレット
 * @description Amazonの個別商品ページで駿河屋検索をおこなう
 * @license MIT License
 */

(function(_d,_a,_b,_c,df,box){
function c(t){return _d.createElement(t)}
function e(id){return _d.getElementById(id)}
function addCSS(cssText,r,s){
	s=_d.createElement('style');
	s.type='text/css';
	r=_d.getElementsByTagName('head')[0]||_d.documentElement;
	s.textContent=cssText;
	return r.appendChild(s).s
}
function closeBtn(p){
	p=this.parentNode;
	p.parentNode.removeChild(p);
}
function makeBtn(elm,formText,f,g,h){
	f=c('form');
	f.id=_c;
	elm.appendChild(f);
	g=c('textarea');
	g.value=formText;
	g.id=_a;
	f.appendChild(g);
	h=c('button');
	f.appendChild(h);
	h.appendChild(_d.createTextNode('\u00D7'));
	h.setAttribute('type','button');
	h.addEventListener('click',closeBtn,false);
	h.title='close';
}
var inputElm = e('ASIN') || _d.getElementsByName('ASIN.0')[0];
var inputASIN = (inputElm)?inputElm.value : '' ;
var isbnID=inputASIN || window.sitbAsin;


if(!isbnID)return;
var pdTitle = e('productTitle')||e('btAsinTitle'),
textElm = pdTitle.textContent;
df=_d.createDocumentFragment();

if(e(_b)){
	if(e(_c))e(_c).parentNode.removeChild(e(_c));
	makeBtn(df,textElm);
	e(_b).appendChild(df);
}else{
	addCSS('#'+_a+'{top:30px;right:25px;width:400px;height:60px;z-index:9998;position:fixed;padding:8px;border:5px solid #888;padding:5px;opacity:0.7;}#'+_c+' button{top:20px;right:16px;z-index:9999;position:fixed;background-color:#FF514C;border:3px solid #fff;color:#fff;font-size:15px;height:23px;width:23px;padding:0;opacity:1;cursor:pointer;border-radius:15px;box-shadow:-1px 2px 6px #777;}');
	box=c('div');
	box.id=_b;
	df.appendChild(box);
	makeBtn(box,textElm);
	_d.body.appendChild(df);
}

location.href=('http://www.suruga-ya.jp/search?category=&amp;amp;search_word=' + textElm);

e(_a).focus();
})(document,'rko_amzn_textarea','rko_amzn','rko_amzn_fom');
&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/hirunomasahiro/let/hLHU3LvMp9dM">
    <link>https://let.hatelabo.jp/hirunomasahiro/let/hLHU3LvMp9dM</link>
    <dc:date>2016-02-15T06:58:53Z</dc:date>
    <description>AmazonのURLを短くします</description>
    <dc:creator>hirunomasahiro</dc:creator>
    <title>[Let] short url for amazon</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fhirunomasahiro%2Flet%2FhLHU3LvMp9dM.bookmarklet.js%20%28arg%29%22.replace%28%2F%28%5CS%2B%29%5Cs%2B%28%5CS%2A%29%2F%2Cfunction%28s%2Curl%2Carg%29%7Bs%3Ddocument.createElement%28%22script%22%29%3Bs.charset%3D%22utf-8%22%3Bs.src%3Durl%2B%22%3Fs%3D%22%2BencodeURIComponent%28arg%29%3Bdocument.body.appendChild%28s%29%7D%29%3Bvoid%280%29%3B"&gt;short url for amazon&lt;/a&gt;&lt;pre&gt;/*
 * @title short url for amazon
 * @description AmazonのURLを短くします
 * @license MIT License
 */

(function(_d,_a,_b,_c,df,box){
function c(t){return _d.createElement(t)}
function e(id){return _d.getElementById(id)}
function addCSS(cssText,r,s){
	s=_d.createElement('style');
	s.type='text/css';
	r=_d.getElementsByTagName('head')[0]||_d.documentElement;
	s.textContent=cssText;
	return r.appendChild(s).s
}
function closeBtn(p){
	p=this.parentNode;
	p.parentNode.removeChild(p);
}
function makeBtn(elm,formText,f,g,h){
	f=c('form');
	f.id=_c;
	elm.appendChild(f);
	g=c('textarea');
	g.value=formText;
	g.id=_a;
	f.appendChild(g);
	h=c('button');
	f.appendChild(h);
	h.appendChild(_d.createTextNode('\u00D7'));
	h.setAttribute('type','button');
	h.addEventListener('click',closeBtn,false);
	h.title='close';
}
var inputElm = e('ASIN') || _d.getElementsByName('ASIN.0')[0];
var inputASIN = (inputElm)?inputElm.value : '' ;
var isbnID=inputASIN || window.sitbAsin;
if(!isbnID)return;
var pdTitle = e('productTitle')||e('btAsinTitle'),
textElm = pdTitle.textContent + ' ' + 'http://amazon.jp/dp/' + isbnID;
df=_d.createDocumentFragment();
if(e(_b)){
	if(e(_c))e(_c).parentNode.removeChild(e(_c));
	makeBtn(df,textElm);
	e(_b).appendChild(df);
}else{
	addCSS('#'+_a+'{top:30px;right:25px;width:400px;height:60px;z-index:9998;position:fixed;padding:8px;border:5px solid #888;padding:5px;opacity:0.7;}#'+_c+' button{top:20px;right:16px;z-index:9999;position:fixed;background-color:#FF514C;border:3px solid #fff;color:#fff;font-size:15px;height:23px;width:23px;padding:0;opacity:1;cursor:pointer;border-radius:15px;box-shadow:-1px 2px 6px #777;}');
	box=c('div');
	box.id=_b;
	df.appendChild(box);
	makeBtn(box,textElm);
	_d.body.appendChild(df);
}
e(_a).focus();
})(document,'rko_amzn_textarea','rko_amzn','rko_amzn_form');&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/hirunomasahiro/let/hLHUzcaWoI9D">
    <link>https://let.hatelabo.jp/hirunomasahiro/let/hLHUzcaWoI9D</link>
    <dc:date>2016-01-24T02:04:19Z</dc:date>
    <description>Amazonコンテンツから読書メーターへ移動するブックマークレット</description>
    <dc:creator>hirunomasahiro</dc:creator>
    <title>[Let] fromdmtoamzn</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fhirunomasahiro%2Flet%2FhLHUzcaWoI9D.bookmarklet.js%20%28arg%29%22.replace%28%2F%28%5CS%2B%29%5Cs%2B%28%5CS%2A%29%2F%2Cfunction%28s%2Curl%2Carg%29%7Bs%3Ddocument.createElement%28%22script%22%29%3Bs.charset%3D%22utf-8%22%3Bs.src%3Durl%2B%22%3Fs%3D%22%2BencodeURIComponent%28arg%29%3Bdocument.body.appendChild%28s%29%7D%29%3Bvoid%280%29%3B"&gt;fromdmtoamzn&lt;/a&gt;&lt;pre&gt;/*
 * @title fromdmtoamzn
 * @description Amazonコンテンツから読書メーターへ移動するブックマークレット
 * @license MIT License
 * 読書メーターにログインしていれば「状態選択（評価）」ページへ直接アクセスできる
 * KDPコンテンツの商品ページにも対応している
 * パソコンとタブレット両対応。iOS版Safari・ChromeやAndroidタブレットのChromeで動作確認ずみ
 * Amazonのスマホ用ページでは動作しない。だが、以下のように「ひと手間」加えることで利用可能になる
 * スマホで利用したいときは、各商品ページ最下部の「Amazon PCサイト」をクリックしてパソコン用表示に切り替えた後になら動作するはず
 * 「Amazon PCサイト」という表記はややこしいが、クリックすると、Amazonトップページではなく、商品のパソコン用表示ページへと移動する
 * Amazon商品のパソコン用表示ページに対してならば、スマホでもこのブックマークレットが実行できるようになる。
 */

(function(_d,_a,_b,_c,df){
function c(t){return _d.createElement(t)}
function e(id){return _d.getElementById(id)}

var inputElm = e('ASIN') || _d.getElementsByName('ASIN.0')[0];
var inputASIN = (inputElm)?inputElm.value : '' ;
var isbnID=inputASIN || window.sitbAsin;
if(!isbnID)return;
location.href=('http://bookmeter.com/b/' + isbnID + '/');
df=_d.createDocumentFragment();
e(_a).focus();
})(document,'');

&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/hirunomasahiro/let/hLHUzcHjw8ls">
    <link>https://let.hatelabo.jp/hirunomasahiro/let/hLHUzcHjw8ls</link>
    <dc:date>2016-01-24T02:03:56Z</dc:date>
    <description>Amazonアソシエイトコード削除ブックマークレット</description>
    <dc:creator>hirunomasahiro</dc:creator>
    <title>[Let] AmznInval</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fhirunomasahiro%2Flet%2FhLHUzcHjw8ls.bookmarklet.js%20%28arg%29%22.replace%28%2F%28%5CS%2B%29%5Cs%2B%28%5CS%2A%29%2F%2Cfunction%28s%2Curl%2Carg%29%7Bs%3Ddocument.createElement%28%22script%22%29%3Bs.charset%3D%22utf-8%22%3Bs.src%3Durl%2B%22%3Fs%3D%22%2BencodeURIComponent%28arg%29%3Bdocument.body.appendChild%28s%29%7D%29%3Bvoid%280%29%3B"&gt;AmznInval&lt;/a&gt;&lt;pre&gt;/*
 * @title AmznInval
 * http://let.hatelabo.jp/rikuo/let/gYC-yunC86-NKA
 * @description Amazonアソシエイトコード削除ブックマークレット
 * Amazonの商品ページで実行すると自動リロード後にASINのみのURLにページが書き換わります。
 * パソコンとタブレット両対応。iOS版Safari・ChromeやAndroidタブレットのChromeで動作確認ずみ
 * Amazonのスマホ用ページでは動作しない。だが、以下のように「ひと手間」加えることで利用可能になる
 * スマホで利用したいときは、各商品ページ最下部の「Amazon PCサイト」をクリックしてパソコン用表示に切り替えた後になら動作するはず
 * 「Amazon PCサイト」という表記はややこしいが、クリックすると、Amazonトップページではなく、商品のパソコン用表示ページへと移動する
 * Amazon商品のパソコン用表示ページに対してならば、スマホでもこのブックマークレットが実行できるようになる。
 * @license MIT License
 */

(function(_d,_a,_b,_c,df){
function c(t){return _d.createElement(t)}
function e(id){return _d.getElementById(id)}

var inputElm = e('ASIN') || _d.getElementsByName('ASIN.0')[0];
var inputASIN = (inputElm)?inputElm.value : '' ;
var isbnID=inputASIN || window.sitbAsin;
if(!isbnID)return;
location.href=('http://amazon.jp/dp/' + isbnID + '/');
/*
 * location.href=('http://amazon.jp/dp/' + isbnID + '/xxxxx-22/');
 * 16行目を削除して、18行目を有効にすれば特定アソシエイトコードURLに書き換えることができる
 */
df=_d.createDocumentFragment();

e(_a).focus();
})(document,'');&lt;/pre&gt;</content:encoded>
  </item>
</rdf:RDF>
