<?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/shiiiiir/rss">
    <link>https://let.hatelabo.jp/shiiiiir/rss</link>
    <description></description>
    <title>Bookmarklets from shiiiiir</title>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://let.hatelabo.jp/shiiiiir/let/hLHW5qv1mp4e"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/shiiiiir/let/hLHW5LGjka8n"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/shiiiiir/let/hLHWiKTvyqUZ"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/shiiiiir/let/gYC-xqGO-b_Iag"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/shiiiiir/let/gYC-yaS5-u6hSw"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/shiiiiir/let/gYC-xpHrhZ_ZVA"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/shiiiiir/let/gYC-xpr6vo-HYg"/>
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://let.hatelabo.jp/shiiiiir/let/hLHW5qv1mp4e">
    <link>https://let.hatelabo.jp/shiiiiir/let/hLHW5qv1mp4e</link>
    <dc:date>2017-04-11T06:33:36Z</dc:date>
    <description>範囲選択した箇所をGoogle翻訳ページで表示。範囲選択してなければ現在のURLをページごと翻訳、もしくはGoogle翻訳ページを開く</description>
    <dc:creator>shiiiiir</dc:creator>
    <title>[Let] Google翻訳</title>
    <content:encoded>&lt;a href="javascript:%28function%28s%29%7Bvar%20url%3Bif%28s.length%3E0%29%7Burl%3D%27%2F%2Ftranslate.google.com%2F%23auto%2Fja%2F%27%2BencodeURIComponent%28s%29%7Delse%20if%28confirm%28%27translate%20this%20page%3F%27%29%29%7Burl%3D%27%2F%2Ftranslate.google.com%2Ftranslate%3Fhl%3Dja%26sl%3Dauto%26tl%3Dja%26u%3D%27%2BencodeURIComponent%28location.href%29%7Delse%7Burl%3D%27%2F%2Ftranslate.google.com%27%7Dwindow.open%28url%2C%27_blank%27%29%7D%29%28document.getSelection%28%29.toString%28%29%29%3B"&gt;Google翻訳&lt;/a&gt;&lt;pre&gt;/*
 * @title Google翻訳
 * @description 範囲選択した箇所をGoogle翻訳ページで表示。範囲選択してなければ現在のURLをページごと翻訳、もしくはGoogle翻訳ページを開く
 * @include http://*
 * @license MIT License
 * @javascript_url
 */
(function (s) {
  var url;
  if (s.length &amp;gt; 0) {
    url = '//translate.google.com/#auto/ja/' + encodeURIComponent(s);
  } else if (confirm('translate this page?')) {
    url = '//translate.google.com/translate?hl=ja&amp;amp;sl=auto&amp;amp;tl=ja&amp;amp;u=' + encodeURIComponent(location.href);
  } else {
    url = '//translate.google.com';
  }
  window.open(url, '_blank');
}) (document.getSelection().toString());&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/shiiiiir/let/hLHW5LGjka8n">
    <link>https://let.hatelabo.jp/shiiiiir/let/hLHW5LGjka8n</link>
    <dc:date>2017-03-31T23:48:35Z</dc:date>
    <description>起動すると現在のURLがデフォルトで入力状態のプロンプトが起動してOKでQRコード表示、URLを指定してQR作成も可能。QRコードをクリックすると消えます。</description>
    <dc:creator>shiiiiir</dc:creator>
    <title>[Let] QRコードを表示</title>
    <content:encoded>&lt;a href="javascript:%28function%28%29%7Bvar%20im%2Cu%3Bif%28u%3Dprompt%28%27please%20input%20url%21%27%2Clocation.href%29%29%7Bim%3Ddocument.createElement%28%27img%27%29%3Bim.src%3D%27%2F%2Fchart.googleapis.com%2Fchart%3Fchs%3D300x300%26cht%3Dqr%26chl%3D%27%2BencodeURIComponent%28u%29%3Bim.title%3Du%3Bim.style.cssText%3D%27position%3Afixed%3Btop%3A0%3Bleft%3A0%3Bz-index%3A2147483647%3B%27%3Bim.onclick%3Dfunction%28%29%7Bthis.parentNode.removeChild%28this%29%7D%3Bdocument.body.appendChild%28im%29%7D%7D%29%28%29%3B"&gt;QRコードを表示&lt;/a&gt;&lt;pre&gt;/*
 * @title QRコードを表示
 * @description 起動すると現在のURLがデフォルトで入力状態のプロンプトが起動してOKでQRコード表示、URLを指定してQR作成も可能。QRコードをクリックすると消えます。
 * @include http://*
 * @license MIT License
 * @javascript_url
 */
(function () {
  var im,u;
  if (u = prompt('please input url!', location.href)) {
    im = document.createElement('img');
    im.src = '//chart.googleapis.com/chart?chs=300x300&amp;amp;cht=qr&amp;amp;chl=' + encodeURIComponent(u);
    im.title = u;
    im.style.cssText = 'position:fixed;top:0;left:0;z-index:2147483647;';
    im.onclick = function () {
      this.parentNode.removeChild(this);
    };
    document.body.appendChild(im);
  }
}) ();
&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/shiiiiir/let/hLHWiKTvyqUZ">
    <link>https://let.hatelabo.jp/shiiiiir/let/hLHWiKTvyqUZ</link>
    <dc:date>2016-11-08T07:48:00Z</dc:date>
    <description>入力した内容をURLデコード、エンコードします。</description>
    <dc:creator>shiiiiir</dc:creator>
    <title>[Let] E/D</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fshiiiiir%2Flet%2FhLHWiKTvyqUZ.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;E/D&lt;/a&gt;&lt;pre&gt;/*
 * @title E/D
 * @description 入力した内容をURLデコード、エンコードします。
 * @include http://*
 * @license MIT License
 * @require 
 */
(function () {
  var app_id = 'E/D';
  var getById = function (id) {
    return document.getElementById(id);
  };
  var cElm = function (tag) {
    return document.createElement(tag);
  };

  // 起動中にブックマークレットを再度起動すると終了
  if (getById(app_id)) {
    getById(app_id).parentNode.removeChild(getById(app_id));
    return;
  }

  var div = cElm('div');
  div.id = 'E/D';
  div.style.cssText = 'position:fixed;top:0;left:0;z-index:2147483647;width:33%;text-align:left;';

  // 入力用エリア
  var i_space = cElm('textarea');
  i_space.placeholder = 'input area';
  i_space.style.cssText = 'width:100%;height:100px;display:block;';

  // 出力用エリア
  var o_space = cElm('textarea');
  o_space.placeholder = 'output area';
  o_space.readOnly = 'true';
  o_space.style.cssText = 'width:100%;height:100px;display:block;';

  // ツールバー
  var toolbar = cElm('span');

  // エンコード/デコードボタン
  var btn_enc = cElm('button');
  btn_enc.textContent = 'E/D';
  btn_enc.onclick = function () {
    o_space.value = '[ENC] : ' + encodeURIComponent(i_space.value) + '\n[DEC] : ' + decodeURIComponent(i_space.value);
  };
  toolbar.appendChild(btn_enc);

  // リセットボタン
  var btn_rst = cElm('button');
  btn_rst.textContent = 'Reset';
  btn_rst.onclick = function () {
    i_space.value = '';
    o_space.value = '';
  };
  toolbar.appendChild(btn_rst);

  // エリア拡張ボタン
  var btn_exp = cElm('button');
  btn_exp.textContent = 'Expand';
  btn_exp.onclick = function () {
    var target = getById('E/D');
    var width = '33%';
    var height = '100px';
    if (target.style.width == '33%') {
      width = '66%';
      height = '200px';
    } else if (target.style.width == '66%') {
      width = '100%';
      height = '300px';
    }
    target.style.width = width;
    i_space.style.width = '100%';
    o_space.style.width = '100%';
    i_space.style.height = height;
    o_space.style.height = height;
  };
  toolbar.appendChild(btn_exp);

  // クローズボタン
  var btn_close = cElm('button');
  btn_close.textContent = 'Close';
  btn_close.onclick = function () {
    getById('E/D').parentNode.removeChild(getById('E/D'));
  };
  toolbar.appendChild(btn_close);

  div.appendChild(toolbar);
  div.appendChild(i_space);
  div.appendChild(o_space);
  document.body.appendChild(div);

  // 入力エリアにフォーカス
  i_space.focus();
}) ();
&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/shiiiiir/let/gYC-xqGO-b_Iag">
    <link>https://let.hatelabo.jp/shiiiiir/let/gYC-xqGO-b_Iag</link>
    <dc:date>2012-08-09T01:10:56Z</dc:date>
    <description>開いているページのDNS Lookup,Nameserver Lookupを確認する</description>
    <dc:creator>shiiiiir</dc:creator>
    <title>[Let] checkLookup</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fshiiiiir%2Flet%2FgYC-xqGO-b_Iag.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;checkLookup&lt;/a&gt;&lt;pre&gt;/*
 * @title checkLookup
 * @description 開いているページのDNS Lookup,Nameserver Lookupを確認する
 * @include http://*
 * @license MIT License
 * @require 
 */

location.href='http://who.is/dns/'+document.domain;&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/shiiiiir/let/gYC-yaS5-u6hSw">
    <link>https://let.hatelabo.jp/shiiiiir/let/gYC-yaS5-u6hSw</link>
    <dc:date>2012-07-21T05:06:43Z</dc:date>
    <description>ページ内のリンクの前にhttp://www.aguse.jp/で調査するボタンを設置する。※海外サイトなどで不審なリンクを事前に調査出来ます。</description>
    <dc:creator>shiiiiir</dc:creator>
    <title>[Let] aguseCheck</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fshiiiiir%2Flet%2FgYC-yaS5-u6hSw.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;aguseCheck&lt;/a&gt;&lt;pre&gt;/*
 * @title aguseCheck
 * @description ページ内のリンクの前にhttp://www.aguse.jp/で調査するボタンを設置する。※海外サイトなどで不審なリンクを事前に調査出来ます。
 * @include http://*
 * @license MIT License
 * @require 
 */
(function(l){
  var d=document,nm='aguseCheck',i,btn;
  for(i=0;i&amp;lt;l.length;i++){
    btn=d.createElement('button');
    btn.name=nm;
    btn.textContent='AG';
    btn.title=l[i].href;
    btn.onclick=function(){
      window.open('http://www.aguse.jp/?m=w&amp;amp;url='+encodeURIComponent(this.title));
    };
    l[i].parentNode.insertBefore(btn,l[i]);
  }
  var rBtn=d.createElement('button');
  rBtn.name=nm;
  rBtn.textContent='reset';
  rBtn.style.cssText='position:fixed;top:0;left:0;z-index:10000;';
  rBtn.onclick=function(){
    var btns=d.getElementsByName(this.name);
    for(var i=btns.length-1;i&amp;gt;=0;i--){
      btns[i].parentNode.removeChild(btns[i]);
    }
  };
  d.body.insertBefore(rBtn,d.body.childNodes[0]);
})(document.links);&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/shiiiiir/let/gYC-xpHrhZ_ZVA">
    <link>https://let.hatelabo.jp/shiiiiir/let/gYC-xpHrhZ_ZVA</link>
    <dc:date>2012-07-20T06:49:16Z</dc:date>
    <description>入力したCSSセレクタの適用されるエリアが10秒間確認出来ます。※秒数はセレクタ入力時にCSSセレクタの後ろに「|」を入力して秒数を入れれば変更可能です。</description>
    <dc:creator>shiiiiir</dc:creator>
    <title>[Let] checkCssSelector</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fshiiiiir%2Flet%2FgYC-xpHrhZ_ZVA.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;checkCssSelector&lt;/a&gt;&lt;pre&gt;/*
 * @title checkCssSelector
 * @description 入力したCSSセレクタの適用されるエリアが10秒間確認出来ます。※秒数はセレクタ入力時にCSSセレクタの後ろに「|」を入力して秒数を入れれば変更可能です。
 * @include http://*
 * @license MIT License
 * @require 
 */
(function(){
  var inp,tx,cnt,i,elms,im='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wHDAcMKM2R5C8AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAAAA1JREFUCNdj+M/AUA8ABIABf4LQfFcAAAAASUVORK5CYII=';
  if(inp=prompt('Please input CSS selector!','')){
    tx=inp.split('|');
  }else{return;}
  cnt=tx[1]?tx[1]*1000:10000;
  elms=document.querySelectorAll(tx[0]);
  for(i=0;i&amp;lt;elms.length;i++){
    elms[i].backup=elms[i].style.backgroundImage;
    elms[i].style.backgroundImage='url('+im+')';
  }
  setTimeout(function(){
    for(i=0;i&amp;lt;elms.length;i++){
      elms[i].style.backgroundImage=elms[i].backup;
      delete elms[i].backup;
    }
  },cnt);    
})();&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/shiiiiir/let/gYC-xpr6vo-HYg">
    <link>https://let.hatelabo.jp/shiiiiir/let/gYC-xpr6vo-HYg</link>
    <dc:date>2010-05-27T02:46:55Z</dc:date>
    <description>my bookmarklet</description>
    <dc:creator>shiiiiir</dc:creator>
    <title>[Let] bookmarklet</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fshiiiiir%2Flet%2FgYC-xpr6vo-HYg.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;bookmarklet&lt;/a&gt;&lt;pre&gt;/*
 * @title bookmarklet
 * @description my bookmarklet
 * @include http://*
 * @license MIT License
 * @require 
 */
alert('hello world');&lt;/pre&gt;</content:encoded>
  </item>
</rdf:RDF>
