コトノバ

【iPhone】Safariに入れておくと便利なショッピング系ブックマークレット4選

【iPhone】Safariに入れておくと便利なショッピング系ブックマークレット4選
iPhoneで楽天市場や価格.comといった通販サイトや比較サイトを利用する人は多いかと思います。今回紹介する商品検索用のブックマークレットを使えばいちいち楽天市場や価格.comを開かなくてもダイレクトに商品を検索することができます。ネット通販を利用する機会が多い人は導入しておくと便利です。
ブックマークレットの登録方法や詳細については、以下の記事で詳しく解説しているのでご覧ください。

1. ヤフオクで商品を検索する

ヤフオクで検索
javascript:document.body.innerHTML+=%22%3Cform%20name=f%20action='http://auctions.search.yahoo.co.jp/search?p='%20accept-charset='euc-jp'%3E%3Cinput%20name=p%20type=hidden%3E%3C/form%3E%22;with(window.f)%7Bp.value=prompt(%22%E3%83%A4%E3%83%95%E3%82%AA%E3%82%AF%E3%81%A7%E6%A4%9C%E7%B4%A2%22);if(p)%7Bsubmit();%7D%7D

2. Amazonで商品を検索する

Amazonで検索
javascript:(function(){var%20t=''+(window.getSelection%20?%20window.getSelection():%20document.getSelection%20?%20document.getSelection():%20document.selection.createRange().text);if(!t){L=document.location.href;if(L.match(/(yahoo%5C.).+?.*p=([^&]+)/)||L.match(/(amazon%5C.).+?.*field-keywords=([^&]+)/)||L.match(/(%5C.wikipedia%5C.).+%5C/wiki%5C/([^%5C/]+)/)||L.match(/(youtube%5C.).+search_query=([^&]+)/)||L.match(/(%5C?.*%5Cb)q=([^&]+)/)||L.match(/(%5C#search%5C/)([^%5C/]+)/))t=decodeURIComponent(RegExp.$2);}if(!t)t=prompt('Amazon%E3%81%A7%E6%A4%9C%E7%B4%A2','');if(t)open('http://www.amazon.co.jp/exec/obidos/external-search/?keyword='+encodeURIComponent(t),'_blank');})()

3. 価格.comで商品を検索する

価格.comで検索
javascript:(function(){var%20t=''+(window.getSelection%20?%20window.getSelection():%20document.getSelection%20?%20document.getSelection():%20document.selection.createRange().text);if(!t){L=document.location.href;if(L.match(/(yahoo%5C.).+?.*p=([^&]+)/)||L.match(/(amazon%5C.).+?.*field-%20keywords=([^&]+)/)||L.match(/(%5C.wikipedia%5C.).+%5C/wiki%5C/([^%5C/]+)/)||L.match(/(youtube%5C.).+search_query=([^&]+)/)||L.match(/(%5C?.*%5Cb)q=([^&]+)/)||L.match(/(%5C#search%5C/)([^%5C/]+)/))t=decodeURIComponent(RegExp.$2);}if(!t)t=prompt("%E4%BE%A1%E6%A0%BC.com%E3%81%A7%E6%A4%9C%E7%B4%A2","");if(t)open('http://search.kakaku.com/ksearch/search.aspx?search.x=0&search.y=0=&query='+encodeURIComponent(t)+'','_blank');})()

4. 楽天市場で商品を検索する

楽天市場で検索
javascript:(function(){var%20t=''+(window.getSelection%20?%20window.getSelection():%20document.getSelection%20?%20document.getSelection():%20document.selection.createRange().text);if(!t){L=document.location.href;if(L.match(/(yahoo%5C.).+?.*p=([^&]+)/)||L.match(/(amazon%5C.).+?.*field-%20keywords=([^&]+)/)||L.match(/(%5C.wikipedia%5C.).+%5C/wiki%5C/([^%5C/]+)/)||L.match(/(youtube%5C.).+search_query=([^&]+)/)||L.match(/(%5C?.*%5Cb)q=([^&]+)/)||L.match(/(%5C#search%5C/)([^%5C/]+)/))t=decodeURIComponent(RegExp.$2);}if(!t)t=prompt("%E4%BE%A1%E6%A0%BC.com%E3%81%A7%E6%A4%9C%E7%B4%A2","");if(t)open('http://search.kakaku.com/ksearch/search.aspx?search.x=0&search.y=0=&query='+encodeURIComponent(t)+'','_blank');})()
これらのブックマークレットを使えばいちいちサイトにアクセスしなくてもサクッと商品を検索することができます。普段からiPhoneでヤフオク、Amazon、価格.com、楽天市場を利用する機会が多い人はぜひ、お試しください。