<?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/maRk/rss">
    <link>https://let.hatelabo.jp/maRk/rss</link>
    <description></description>
    <title>Bookmarklets from maRk</title>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/jfvn6Ii8geAA"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/i8PZ5IvWgqAA"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/i8Gaq9OQgqAA"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/itOa36v0gaAA"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/ir_ki9nsgMAA"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/g5G0usHVzPlU"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/g5G0tpXp741M"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/gYC-y6vC6o7HZA"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hLHUzpf76qRl"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hJmfzq_miOA8"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hJmezfz_gNhZ"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hJmexY6y9rxQ"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hLHWvfe8t9lA"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hLHWgYfHh9xq"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hJmd85XzyrkJ"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hJmc7_PZzOVT"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hJmc6NW02u5I"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hLHU5Pj53eo9"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hLHU3ai8hZl_"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/maRk/let/hJmc2sP9_rUu"/>
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/jfvn6Ii8geAA">
    <link>https://let.hatelabo.jp/maRk/let/jfvn6Ii8geAA</link>
    <dc:date>2022-08-09T06:28:10Z</dc:date>
    <description>U-フレット の機能Box をPC画面で横並びにしないためのもの</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] U-fret Cancel flexbox of functionbox</title>
    <content:encoded>&lt;a href="javascript:%28%28%29%3D%3E%7Bconst%20funcbox%3Ddocument.querySelector%28%22div.settings%22%29%3Bfuncbox.classList.remove%28%27settings%27%29%7D%29%28%29%3B"&gt;U-fret Cancel flexbox of functionbox&lt;/a&gt;&lt;pre&gt;/*
 * @title U-fret Cancel flexbox of functionbox  
 * @description  U-フレット の機能Box をPC画面で横並びにしないためのもの 
 * @include https://www.ufret.jp/song.php*
 * @license MIT License
 * @javascript_url
 */

(()=&amp;gt;{
 const funcbox = document.querySelector(&amp;quot;div.settings&amp;quot;);
 funcbox.classList.remove('settings');
})();&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/i8PZ5IvWgqAA">
    <link>https://let.hatelabo.jp/maRk/let/i8PZ5IvWgqAA</link>
    <dc:date>2021-04-11T10:10:13Z</dc:date>
    <description>インスタグラムのハッシュタグを Twitter のハッシュタグリンクにする</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] Convert hashTag INSTA to TW</title>
    <content:encoded>&lt;a href="javascript:%28%28%29%3D%3E%7Bconst%20check_domain%3Ddocument.domain%3D%3D%3D%22www.instagram.com%22%3F1%3A0%3Bif%28%21check_domain%29return%3Blet%20continueReading%3Ddocument.querySelectorAll%28%27button%27%29%3BcontinueReading%3DArray.from%28continueReading%2C%28function%28f%29%7Bif%28f.textContent%3D%3D%22%E7%B6%9A%E3%81%8D%E3%82%92%E8%AA%AD%E3%82%80%22%29%7Bf.click%28%29%7D%7D%29%29%3Bconst%20tw_hashtaglink%3D%27https%3A%2F%2Ftwitter.com%2Fhashtag%2F%27%3Bconst%20tagank%3Ddocument.querySelectorAll%28%27a%5Bhref%5E%3D%22%2Fexplore%2Ftags%22%5D%27%29%3BArray.from%28tagank%2C%28h%3D%3E%7Bh.addEventListener%28%27click%27%2C%28function%28%29%7Blocation.href%3Dthis.href%2Ctrue%7D%29%29%3Bh.href%3Dh.href.replace%28%2F.%2A%2F%2Ctw_hashtaglink%2BencodeURIComponent%28h.textContent.replace%28%22%23%22%2C%22%22%29%29%29%7D%29%29%7D%29%28%29%3B"&gt;Convert hashTag INSTA to TW&lt;/a&gt;&lt;pre&gt;/*
 * @title Convert hashTag INSTA to TW
 * @description インスタグラムのハッシュタグを Twitter のハッシュタグリンクにする
 * @include https://www.instagram.com*
 * @license MIT License
 * @javascript_url
 */


(()=&amp;gt;{
  const check_domain = document.domain === &amp;quot;www.instagram.com&amp;quot; ? 1: 0;
  if (!check_domain) return;

// Open Continue Reading
  
  let continueReading = document.querySelectorAll('button');
  continueReading = Array.from (continueReading,
    function(f){
      if(f.textContent == &amp;quot;続きを読む&amp;quot;){
      f.click();
    }
  });
   
  const tw_hashtaglink = 'https://twitter.com/hashtag/';
  const tagank = document.querySelectorAll('a[href^=&amp;quot;/explore/tags&amp;quot;]');

  Array.from (tagank,  h =&amp;gt; {
    h.addEventListener('click', function(){location.href = this.href, true});
    h.href = h.href.replace(/.*/, tw_hashtaglink + encodeURIComponent(h.textContent.replace(&amp;quot;#&amp;quot;,&amp;quot;&amp;quot;)))
  });  

})();
&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/i8Gaq9OQgqAA">
    <link>https://let.hatelabo.jp/maRk/let/i8Gaq9OQgqAA</link>
    <dc:date>2021-04-07T13:11:48Z</dc:date>
    <description>閲覧ページをもとにはてなブログを作成</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] はてブロ This</title>
    <content:encoded>&lt;a href="javascript:%28%28%29%3D%3E%7Bconst%20editURL%3D%22https%3A%2F%2Fblog.hatena.ne.jp%2Fmy%2Fedit%22%3Blet%20selectTxt%3Dwindow.getSelection%28%29.toString%28%29%3Blocation.href%3DeditURL%2B%27%3Fbody%3D%27%2Bhtmlspecialchars%28selectTxt%29%2BgetCanonicalURL%28%29%2BgetHashTags%28%29%3Bfunction%20htmlspecialchars%28s%29%7Bif%28s%21%3D%27%27%29%7Bs.replace%28%2F%26%2Fg%2C%27%26amp%3B%27%29.replace%28%2F%22%2Fg%2C%27%26quot%3B%27%29.replace%28%2F%3C%2Fg%2C%27%26lt%3B%27%29.replace%28%2F%3E%2Fg%2C%27%26gt%3B%27%29%7Dreturn%20encodeURIComponent%28s%29%7Dfunction%20getCanonicalURL%28%29%7Bconst%20canlink%3Ddocument.querySelector%28%27link%5Brel%3D%22canonical%22%27%29%7C%7C%22%22%3Breturn%27%250A%27%2B%27%255B%27%2BencodeURIComponent%28canlink.href%7C%7Clocation.href%29%2B%27%253Aembed%255D%27%2B%27%250A%27%7Dfunction%20getHashTags%28%29%7Bconst%20tags%3Ddocument.querySelectorAll%28%27a%5Brel%5E%3D%22tag%22%5D%27%29%7C%7C%22%22%3Bvar%20tagLabel%3DArray.from%28tags%2C%28e%3D%3Ee.textContent.replace%28%2F%5E%23%2B%2F%2C%27%27%29.replace%28%2F%28.%2A%29%2F%2C%27%23%27%2B%27%241%27%29%29%29%3Breturn%20encodeURIComponent%28tagLabel.join%28%27%20%27%29%29%7Dvoid%200%7D%29%28%29%3B"&gt;はてブロ This&lt;/a&gt;&lt;pre&gt;/*
 * @title はてブロ This
 * @description 閲覧ページをもとにはてなブログを作成
 * @include https://*
 * @license MIT License
 * @require
 * @javascript_url
 */


(()=&amp;gt;{

  const editURL = &amp;quot;https://blog.hatena.ne.jp/my/edit&amp;quot;;
  let selectTxt = window.getSelection().toString();

  location.href = editURL + '?body=' + htmlspecialchars(selectTxt) + getCanonicalURL() + getHashTags();
   
  function htmlspecialchars(s){
    if((s != '')){
    s.replace(/&amp;amp;/g ,'&amp;amp;amp;')
     .replace(/&amp;quot;/g,'&amp;amp;quot;')
     .replace(/&amp;lt;/g, '&amp;amp;lt;')
     .replace(/&amp;gt;/g,  '&amp;amp;gt;');
    }
    return encodeURIComponent(s);
  }
   
/*
    The quoted text does not use Hatena notation.  location href use embed link notation.
*/

 
  function getCanonicalURL(){
    const canlink=document.querySelector('link[rel=&amp;quot;canonical&amp;quot;')||&amp;quot;&amp;quot;;
    return '%0A' + '%5B' + encodeURIComponent(canlink.href||location.href) + '%3Aembed%5D' + '%0A';
  }

/*
    Hashtag extraction is rel-tag only
*/

  function getHashTags(){
    const tags = document.querySelectorAll('a[rel^=&amp;quot;tag&amp;quot;]')||&amp;quot;&amp;quot;;
    var tagLabel = Array.from(tags, e=&amp;gt; e.textContent.replace(/^#+/,'').replace(/(.*)/ , '#'+ '$1'));
    return encodeURIComponent(tagLabel.join(' '));
  }
  void(0);
})();

&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/itOa36v0gaAA">
    <link>https://let.hatelabo.jp/maRk/let/itOa36v0gaAA</link>
    <dc:date>2020-10-18T16:11:14Z</dc:date>
    <description>エントリーリストで下方スクロール後でも、新着・人気を切り替える</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] TOGGLE HOTENTRY LIST</title>
    <content:encoded>&lt;a href="javascript:%28%28d%2Cl%29%3D%3E%7Bif%28%21d.documentElement.dataset.pageScope%3D%3D%3D%22EntryList%22%29return%3Bconst%20re%3D%2F%5Ehttps%5C%3A%5C%2F%5C%2Fb%5C.hatena%5C.ne%5C.%5Cjp%5C%2F%28entrylist%7Chotentry%29%5C%2F%28%5Ba-z%5D%2B%29%2F%3Bconst%20folder%3Dd.URL.replace%28re%2C%22%241%22%29%3Bconst%20cat%3Dd.URL.replace%28re%2C%22%242%22%29%3Bif%28folder%3D%3D%3D%22entrylist%22%29%7Bl.replace%28%22..%2Fhotentry%22%2B%22%2F%22%2Bcat%29%7Delse%20if%28folder%3D%3D%3D%22hotentry%22%29%7Bl.replace%28%22..%2Fentrylist%22%2B%22%2F%22%2Bcat%29%7Delse%7Breturn%7D%7D%29%28document%2Cwindow.location%29%3B"&gt;TOGGLE HOTENTRY LIST&lt;/a&gt;&lt;pre&gt;/*
 * @title TOGGLE HOTENTRY LIST
 * @description エントリーリストで下方スクロール後でも、新着・人気を切り替える
 * @include https://b.hatena.ne.jp/*
 * @license MIT License
 * @javascript_url
 */
((d,l)=&amp;gt;{
  if(!d.documentElement.dataset.pageScope===&amp;quot;EntryList&amp;quot;) return;

  const re =/^https\:\/\/b\.hatena\.ne\.\jp\/(entrylist|hotentry)\/([a-z]+)/;
  const folder = d.URL.replace(re, &amp;quot;$1&amp;quot;);
  const cat = d.URL.replace(re, &amp;quot;$2&amp;quot;);

  if(folder===&amp;quot;entrylist&amp;quot;){
    l.replace(&amp;quot;../hotentry&amp;quot; +&amp;quot;/&amp;quot; + cat);
  } else if(folder===&amp;quot;hotentry&amp;quot;){
    l.replace(&amp;quot;../entrylist&amp;quot; + &amp;quot;/&amp;quot; + cat);
  } else {
    return;
  }
})(document, window.location);

&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/ir_ki9nsgMAA">
    <link>https://let.hatelabo.jp/maRk/let/ir_ki9nsgMAA</link>
    <dc:date>2020-09-18T12:00:52Z</dc:date>
    <description>make eid notation</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] Get Hatena.Bookmark.entry.eid v2</title>
    <content:encoded>&lt;a href="javascript:%28d%3D%3E%7Bif%28%21d.documentElement.hasAttribute%28%27data-entry-eid%27%29%29return%3Bconst%20Header%3Dd.getElementById%28%27info-header%27%29%3Bconst%20EID%3Dd.documentElement.dataset.entryEid%3Bconst%20data%3D%22id%3Aentry%3A%22%2BEID%3Bconst%20_HTML%3D%60%5Cn%3Cdiv%20id%3D%22ir_ki9nsgMAA%22%20style%3D%22z-index%3A2147483647%3B%20position%3Aabsolute%3B%20top%3A40%25%3B%20left%3A40%25%3B%20padding%3A5px%3B%20background%3A%23aaa%22%3E%5Cn%3Cinput%20type%3D%22text%22%20value%3D%24%7Bdata%7D%20%2F%3E%5Cn%20%20%20%20%3Cp%3E%3Cbutton%20type%3D%22button%22%20onclick%3D%22close_elm%28%27ir_ki9nsgMAA%27%29%22%3E%E9%96%89%E3%81%98%E3%82%8B%3C%2Fbutton%3E%3C%2Fp%3E%5Cn%3C%2Fdiv%3E%5Cn%60%3Bif%28Header.lastChild%29%7BHeader.lastChild.innerHTML%3D_HTML%7Delse%7Balert%28%27%E7%94%BB%E9%9D%A2%E3%82%92%E5%86%8D%E8%AA%AD%E3%81%BF%E8%BE%BC%E3%81%BF%E3%81%97%E3%81%A6%E3%82%84%E3%82%8A%E7%9B%B4%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%27%29%3Breturn%7Dclose_elm%3Dfunction%28i%29%7Bconst%20target%3Dd.getElementById%28i%29%3Breturn%20target.remove%28%29%7D%7D%29%28document%29%3B"&gt;Get Hatena.Bookmark.entry.eid v2&lt;/a&gt;&lt;pre&gt;/*
 * @title Get Hatena.Bookmark.entry.eid v2
 * @description make eid notation
 * @include https://b.hatena.ne.jp/entry*
 * @license MIT License
 * @javascript_url
 */
((d)=&amp;gt;{
  if(!d.documentElement.hasAttribute('data-entry-eid')) return;

  const Header = d.getElementById('info-header');
  const EID = d.documentElement.dataset.entryEid;
  const data = &amp;quot;id:entry:&amp;quot; + EID;
  
  
  const _HTML = `
&amp;lt;div id=&amp;quot;ir_ki9nsgMAA&amp;quot; style=&amp;quot;z-index:2147483647; position:absolute; top:40%; left:40%; padding:5px; background:#aaa&amp;quot;&amp;gt;
&amp;lt;input type=&amp;quot;text&amp;quot; value=${data} /&amp;gt;
    &amp;lt;p&amp;gt;&amp;lt;button type=&amp;quot;button&amp;quot; onclick=&amp;quot;close_elm('ir_ki9nsgMAA')&amp;quot;&amp;gt;閉じる&amp;lt;/button&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
`;

 if(Header.lastChild) {
   Header.lastChild.innerHTML=_HTML;
  } else {
     alert ('画面を再読み込みしてやり直してください');
     return;
  }
 
 close_elm = function(i) {
  const target = d.getElementById(i);
  return target.remove();
 };
  
})(document);&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/g5G0usHVzPlU">
    <link>https://let.hatelabo.jp/maRk/let/g5G0usHVzPlU</link>
    <dc:date>2020-05-02T06:41:52Z</dc:date>
    <description>料金案内 ＞ 通信量照会</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] MyUQ パケットをGB表示</title>
    <content:encoded>&lt;a href="javascript:%28%28%29%3D%3E%7Bif%28%21document.URL%3D%3D%3D%2F%5Ehttps%3A%5C%2F%5C%2Fmy.uqwimax.jp%5C%2Fmember%2F%29return%3Bconst%20PKT_ELM%3Ddocument.querySelectorAll%28%27td.t_right%27%29%3Blet%20PKT_VAL%3Dnull%3BArray.from%28PKT_ELM%2C%28t%3D%3E%7BPKT_VAL%3Dt.innerText.replace%28%22%20%E3%83%91%E3%82%B1%E3%83%83%E3%83%88%22%2C%22%22%29.replace%28%2F%2C%2Fg%2C%22%22%29%3Bt.innerText%3DMath.round%28PKT_VAL%2F8388608%2A100%29%2F100%2B%27%20%20GB%27%7D%29%29%7D%29%28%29%3B"&gt;MyUQ パケットをGB表示&lt;/a&gt;&lt;pre&gt;/*
 * @title MyUQ パケットをGB表示
 * @description 料金案内 ＞ 通信量照会
 * @include https://my.uqmimax.jp/member/*
 * @license MIT License
 * @require
 * @javascript_url
 */
(()=&amp;gt;{
  if(!document.URL===/^https:\/\/my.uqwimax.jp\/member/) return;
  const PKT_ELM = document.querySelectorAll('td.t_right');
  let PKT_VAL = null;
  Array.from(PKT_ELM, t =&amp;gt;{
  PKT_VAL = t.innerText.replace(&amp;quot; パケット&amp;quot;, &amp;quot;&amp;quot;).replace(/,/g ,&amp;quot;&amp;quot;);
  t.innerText = Math.round (( PKT_VAL / 8388608 )* 100) / 100 + '  GB'
  }
  );
})();



&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/g5G0tpXp741M">
    <link>https://let.hatelabo.jp/maRk/let/g5G0tpXp741M</link>
    <dc:date>2020-04-25T13:41:04Z</dc:date>
    <description>Get Hatena.Bookmark.entry.eid の ./entry/EID URLを作る</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] Make Hatena Bookmak Entry ID URL</title>
    <content:encoded>&lt;a href="javascript:%28d%3D%3E%7Bif%28%21d.documentElement.hasAttribute%28%27data-entry-eid%27%29%29return%3Bconst%20HBEntry%3D%27https%3A%2F%2Fb.hatena.ne.jp%2Fentry%2F%27%3Bconst%20SearchForm%3Dd.getElementsByName%28%27q%27%29%5B0%5D%3Bconst%20EID%3Dd.documentElement.dataset.entryEid%3BSearchForm.value%3DHBEntry%2BEID%3BSearchForm.focus%28%29%3Bconsole.log%28HBEntry%2BEID%29%7D%29%28document%29%3B"&gt;Make Hatena Bookmak Entry ID URL&lt;/a&gt;&lt;pre&gt;/*
 * @title Make Hatena Bookmak Entry ID URL 
 * @description  Get Hatena.Bookmark.entry.eid の ./entry/EID URLを作る
 * @include https://b.hatena.ne.jp/entry/*
 * @license MIT License
 * @require
 * @javascript_url  
 */
(d=&amp;gt;{
  if(!d.documentElement.hasAttribute('data-entry-eid')) return;
  const HBEntry = 'https://b.hatena.ne.jp/entry/';
  const SearchForm = d.getElementsByName('q')[0];
  const EID = d.documentElement.dataset.entryEid;
  SearchForm.value = HBEntry + EID;
  SearchForm.focus();
  console.log(HBEntry + EID);
})(document);
&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/gYC-y6vC6o7HZA">
    <link>https://let.hatelabo.jp/maRk/let/gYC-y6vC6o7HZA</link>
    <dc:date>2018-06-01T22:49:11Z</dc:date>
    <description>inspired by http://let.hatelabo.jp/mame-tanuki/let/gYC-xpP0iY7WfA</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] Get Hatena.Bookmark.entry.eid</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2FmaRk%2Flet%2FgYC-y6vC6o7HZA.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;Get Hatena.Bookmark.entry.eid&lt;/a&gt;&lt;pre&gt;/*
 * @title Get Hatena.Bookmark.entry.eid
 * @description inspired by http://let.hatelabo.jp/mame-tanuki/let/gYC-xpP0iY7WfA
 * @include http://b.hatena.ne.jp/entry*
 * @license MIT License
 */
(function(d){
  if(!d.documentElement.hasAttribute('data-entry-eid')) return;
  const SearchForm = d.querySelector('#header form input');
  const EID = d.documentElement.dataset.entryEid;
  SearchForm.value = 'id:entry:' + EID;
  SearchForm.focus();
})(document);
&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hLHUzpf76qRl">
    <link>https://let.hatelabo.jp/maRk/let/hLHUzpf76qRl</link>
    <dc:date>2018-03-29T11:26:10Z</dc:date>
    <description>Convert COMMENT URL to Hatena Bookmark</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] KADEN to B!</title>
    <content:encoded>&lt;a href="javascript:%28%28d%2Cdd%29%3D%3E%7Bif%28dd%21%3D%3D%22kadenkaigi.com%22%29return%3Bconst%20cmtURI%3Dd.querySelectorAll%28%22.link-comment-btn%5Bhref%5D%22%29%3Bif%28%21cmtURI%29return%3Bconst%20bookmarkURI%3D%27http%3A%2F%2Fb.hatena.ne.jp%27%3BArray.from%28cmtURI%2C%28u%3D%3E%7Blet%20anc%3Du.href.replace%28%27https%3A%2F%2F%27%2Bdd%2C%27%27%29%3Bu.href%3DbookmarkURI%2Banc%7D%29%29%7D%29%28document%2Cdocument.domain%29%3B"&gt;KADEN to B!&lt;/a&gt;&lt;pre&gt;/*
 * @title KADEN to B!
 * @description Convert COMMENT URL to Hatena Bookmark
 * @include https://kadenkaigi.com/*
 * @license MIT License
 * @javascript_url
 */

((d, dd) =&amp;gt;{
  if (dd !== &amp;quot;kadenkaigi.com&amp;quot;) return;
  const cmtURI = d.querySelectorAll(&amp;quot;.link-comment-btn[href]&amp;quot;);
  if(!cmtURI) return;
  const bookmarkURI = 'http://b.hatena.ne.jp';
  Array.from(cmtURI, u =&amp;gt; {
    let anc = u.href.replace('https://' + dd, '');
    u.href = bookmarkURI + anc;
  });
})(document, document.domain);


&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hJmfzq_miOA8">
    <link>https://let.hatelabo.jp/maRk/let/hJmfzq_miOA8</link>
    <dc:date>2017-02-27T14:48:53Z</dc:date>
    <description>スマートフォン用。spamらしき新着の誤タップ防止対策に</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] はてブのスマートフォン版ページで記事リンクをエントリページにする bookmarklet</title>
    <content:encoded>&lt;a href="javascript:%28function%28%29%7Bvar%20l%3Dwindow.location%3Bif%28%21l.hostname%3D%3D%27b.hatena.ne.jp%27%26%26%21document.documentElement.dataset.platform%3D%3D%22touch%22%29return%3Bvar%20sel%3Ddocument.querySelectorAll%28%27a.entry-title%5Bdata-track-click-target%3D%22direct%22%5D%3Anot%28%5Bhref%2A%3D%22b.hatena.ne.jp%2Fentry%2F%22%5D%29%27%29%3BArray.prototype.forEach.call%28sel%2C%28function%28e%29%7Bvar%20epage%3Dmake_epage%28e.href%29%3Breturn%20e.href%3Depage%7D%29%29%3Bfunction%20make_epage%28u%29%7Bvar%20is_ssl%3Du.indexOf%28%27https%3A%27%29%3E-1%3Ftrue%3Afalse%3Bvar%20url%2Cbase%3D%27http%3A%2F%2Fb.hatena.ne.jp%2Fentry%27%3Bif%28is_ssl%29%7Burl%3Dbase%2B%27%2Fs%2F%27%2Bu.replace%28%27https%3A%2F%2F%27%2C%27%27%29%7Delse%7Burl%3Dbase%2B%27%2F%27%2Bu.replace%28%27http%3A%2F%2F%27%2C%27%27%29%7Dreturn%20url%7D%7D%29%28%29%3B"&gt;はてブのスマートフォン版ページで記事リンクをエントリページにする bookmarklet&lt;/a&gt;&lt;pre&gt;/*
 * @title はてブのスマートフォン版ページで記事リンクをエントリページにする bookmarklet
 * @description スマートフォン用。spamらしき新着の誤タップ防止対策に
 * @include http://b.hatena.ne.jp/*
 * @license MIT License
 * @javascript_url
 */

(function(){
  var l = window.location;
  if (!l.hostname == 'b.hatena.ne.jp' &amp;amp;&amp;amp; !document.documentElement.dataset.platform == &amp;quot;touch&amp;quot;) return;
  var sel = document.querySelectorAll('a.entry-title[data-track-click-target=&amp;quot;direct&amp;quot;]:not([href*=&amp;quot;b.hatena.ne.jp/entry/&amp;quot;])');
  Array.prototype.forEach.call(sel, function(e){
    var epage = make_epage(e.href);
    return e.href = epage;
  });
  function make_epage(u) {
    var is_ssl = u.indexOf('https:') &amp;gt; -1 ? true : false;
    var url,
    base = 'http://b.hatena.ne.jp/entry';
    if (is_ssl) {
      url = base + '/s/' + u.replace('https://', '');
    } else {
      url = base + '/' + u.replace('http://', '');
    }
    return url;
  }
})();

/*
### for mobile


# (http://yui.github.io/yuicompressor/)


javascript:(function(){var a=window.location;if(!a.hostname==&amp;quot;b.hatena.ne.jp&amp;quot;&amp;amp;&amp;amp;!document.documentElement.dataset.platform==&amp;quot;touch&amp;quot;){return}var c=document.querySelectorAll('a.entry-title[data-track-click-target=&amp;quot;direct&amp;quot;]:not([href*=&amp;quot;b.hatena.ne.jp/entry/&amp;quot;])');Array.prototype.forEach.call(c,function(f){var d=b(f.href);return f.href=d});function b(e){var g=e.indexOf(&amp;quot;https:&amp;quot;)&amp;gt;-1?true:false;var d,f=&amp;quot;http://b.hatena.ne.jp/entry&amp;quot;;if(g){d=f+&amp;quot;/s/&amp;quot;+e.replace(&amp;quot;https://&amp;quot;,&amp;quot;&amp;quot;)}else{d=f+&amp;quot;/&amp;quot;+e.replace(&amp;quot;http://&amp;quot;,&amp;quot;&amp;quot;)}return d}})();


###
*/&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hJmezfz_gNhZ">
    <link>https://let.hatelabo.jp/maRk/let/hJmezfz_gNhZ</link>
    <dc:date>2017-02-24T11:11:48Z</dc:date>
    <description>(alt|title)属性に対応。（割とでっち上げ）staff.hatenablog.com/entry/2017/02/24/152000</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] fotolife記法拡張のフォトライフ側での記法作成支援</title>
    <content:encoded>&lt;a href="javascript:%28%28%29%3D%3E%7Bconst%20_d%3Ddocument%3Bif%28%21_d.querySelector%28%27body%23hatena-fotolife-foto%27%29%29return%3Bconst%20fotolink%3D_d.querySelector%28%27input%5Bsize%5D%5Bvalue%5D%27%29.value%3Bconst%20fototitle%3D_d.querySelector%28%27div.fototitle%27%29.textContent%7C%7Cfotolink%3Bconst%20kihou%3Dfotolink.replace%28%2F%3Aimage%24%2F%2C%27%27%29%2B%27%3Aplain%3Aalt%3D%27%2Bfototitle%2B%27%3Atitle%3D%27%2Bfototitle%3Bprompt%28location.href%2C%27%5B%27%2Bkihou%2B%27%5D%27%29%3Bconsole.log%28kihou%29%3Breturn%7D%29%28%29%3B"&gt;fotolife記法拡張のフォトライフ側での記法作成支援&lt;/a&gt;&lt;pre&gt;/*
 * @title fotolife記法拡張のフォトライフ側での記法作成支援
 * @description (alt|title)属性に対応。（割とでっち上げ）staff.hatenablog.com/entry/2017/02/24/152000
 * @include http://f.hatena.ne.jp/*
 * @license MIT License
 * @require 
 * @javascript_url
 */
(()=&amp;gt;{
  const _d = document;
  if(!_d.querySelector('body#hatena-fotolife-foto')) return;
  const fotolink = _d.querySelector('input[size][value]').value;
  const fototitle = _d.querySelector('div.fototitle').textContent || fotolink;

  // create notation  http://help.hatenablog.com/entry/markup/hatena/fotolife

  const kihou = fotolink.replace(/:image$/,'') + ':plain:alt=' + fototitle + ':title=' + fototitle;
  prompt(location.href ,'[' + kihou + ']');
  console.log(kihou);
  return;
})();&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hJmexY6y9rxQ">
    <link>https://let.hatelabo.jp/maRk/let/hJmexY6y9rxQ</link>
    <dc:date>2017-02-10T16:51:11Z</dc:date>
    <description>s/どれみ/cde/g</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] カラオケラボのハモリ譜でMML変換支援</title>
    <content:encoded>&lt;a href="javascript:%28%28%29%3D%3E%7Bif%28location.href.indexOf%28%27http%3A%2F%2Fkaraoke-labo.gungun.net%2Fhamorifu%2F%27%29%21%3D%3D0%29return%3Bconst%20_S%3Dv%3D%3Edocument.querySelectorAll%28v%29%3Bconst%20DATA%3D_S%28%27span.main%2Cspan.over%2Cspan.under%2Cpre%20font%5Bcolor%5D%27%29%3BArray.from%28DATA%2C%28e%3D%3E%7Bconst%20cl%3De.cloneNode%28true%29%3Bif%28%21document.body.dataset.mml%29%7Bcl.textContent%3Dcl.textContent.replace%28%2F%E3%81%A9%2Fg%2C%27c%27%29%3Bcl.textContent%3Dcl.textContent.replace%28%2F%E3%82%8C%2Fg%2C%27d%27%29%3Bcl.textContent%3Dcl.textContent.replace%28%2F%E3%81%BF%2Fg%2C%27e%27%29%3Bcl.textContent%3Dcl.textContent.replace%28%2F%E3%81%B5%E3%81%81%2Fg%2C%27f%27%29%3Bcl.textContent%3Dcl.textContent.replace%28%2F%E3%81%9D%2Fg%2C%27g%27%29%3Bcl.textContent%3Dcl.textContent.replace%28%2F%E3%82%89%2Fg%2C%27a%27%29%3Bcl.textContent%3Dcl.textContent.replace%28%2F%E3%81%97%2Fg%2C%27_B_%27%29%3Bcl.textContent%3Dcl.textContent.replace%28%2Fb%2Fg%2C%27-%27%29%3Bcl.textContent%3Dcl.textContent.replace%28%2F%23%2Fg%2C%27%2B%27%29%3Be.appendChild%28cl%29%7D%7D%29%29%3BArray.from%28DATA%2C%28e%3D%3Ee.textContent%3De.textContent.replace%28%2F_B_%2Fg%2C%27b%27%29%29%29%3Bdocument.body.dataset.mml%3D%27done%27%7D%29%28%29%3B"&gt;カラオケラボのハモリ譜でMML変換支援&lt;/a&gt;&lt;pre&gt;/*
 * @title カラオケラボのハモリ譜でMML変換支援
 * @description s/どれみ/cde/g
 * @include http://karaoke-labo.gungun.net/hamorifu/*
 * @license MIT License
 * @javascript_url
 */

(()=&amp;gt;{
  if(location.href.indexOf('http://karaoke-labo.gungun.net/hamorifu/') !== 0) return;
  const _S = (v)=&amp;gt; document.querySelectorAll(v);
  const DATA = _S('span.main,span.over,span.under,pre font[color]');
  Array.from(DATA, (e)=&amp;gt; {
    const cl = e.cloneNode(true);
    if (!document.body.dataset.mml) {
      cl.textContent = cl.textContent.replace(/ど/g, 'c');
      cl.textContent = cl.textContent.replace(/れ/g, 'd');
      cl.textContent = cl.textContent.replace(/み/g, 'e');
      cl.textContent = cl.textContent.replace(/ふぁ/g, 'f');
      cl.textContent = cl.textContent.replace(/そ/g, 'g');
      cl.textContent = cl.textContent.replace(/ら/g, 'a');
      cl.textContent = cl.textContent.replace(/し/g, '_B_');
      cl.textContent = cl.textContent.replace(/b/g, '-');
      cl.textContent = cl.textContent.replace(/#/g, '+');
      e.appendChild(cl);
    }
  });
   // フラットに 小文字の b を使用されているため
   Array.from(DATA, (e)=&amp;gt;e.textContent = e.textContent.replace(/_B_/g,'b'));
  document.body.dataset.mml = 'done';
})();


//  http://karaoke-labo.gungun.net/hamorifu/daitokai.htm
//* 再生試験等 *// http://cat2151.github.io/MML-editor/&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hLHWvfe8t9lA">
    <link>https://let.hatelabo.jp/maRk/let/hLHWvfe8t9lA</link>
    <dc:date>2017-01-30T13:09:19Z</dc:date>
    <description>選択文字を仕事の流儀ぽく表示（音はでません）</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] joke bookmarklet</title>
    <content:encoded>&lt;a href="javascript:%28function%28d%2Cw%29%7Bconst%20box%3Dd.createElement%28%27div%27%29%3Bbox.id%3D%27echoText%27%3Bbox.style.position%3D%27absolute%27%3Bbox.style.width%3D%27100%25%27%3Bbox.style.height%3D%27100%25%27%3Bbox.style.top%3D0%3Bbox.style.left%3D0%3Bbox.style.display%3D%27flex%27%3Bbox.style.alignItems%3D%27center%27%3Bbox.style.justifyContent%3D%27center%27%3Bbox.style.background%3D%27%23000%27%3Bbox.style.color%3D%27%23fff%27%3Bbox.style.zIndex%3D2147483647%3Bif%28%21d.querySelector%28%27%23echoText%27%29%29%7Bconst%20selText%3Dw.getSelection%28%29.toString%28%29%3Bif%28selText%29%7Bbox.innerText%3DselText%3Bd.body.appendChild%28box%29%3Bw.scrollTo%280%2C0%29%7D%7Delse%7Bconst%20Target%3Dd.getElementById%28%27echoText%27%29%3Bd.body.removeChild%28Target%29%3Breturn%7D%7D%29%28document%2Cwindow%29%3B"&gt;joke bookmarklet&lt;/a&gt;&lt;pre&gt;/*
 * @title joke bookmarklet
 * @description 選択文字を仕事の流儀ぽく表示（音はでません）
 * @include http://*
 * @license MIT License
 * @javascript_url
 */

(function (d, w) {
  const box = d.createElement('div');
  box.id = 'echoText';
  box.style.position = 'absolute';
  box.style.width = '100%';
  box.style.height = '100%';
  box.style.top = 0;
  box.style.left = 0;
  box.style.display = 'flex';
  box.style.alignItems = 'center';
  box.style.justifyContent = 'center';
  box.style.background = '#000';
  box.style.color = '#fff';
  box.style.zIndex = 2147483647;
  if (!d.querySelector('#echoText')) {
    const selText = w.getSelection().toString();
    if (selText) {
      box.innerText = selText;
      d.body.appendChild(box);
      w.scrollTo(0, 0);
    }
  } else {
    const Target = d.getElementById('echoText');
    d.body.removeChild(Target);
    return;
  }
})(document, window);&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hLHWgYfHh9xq">
    <link>https://let.hatelabo.jp/maRk/let/hLHWgYfHh9xq</link>
    <dc:date>2016-10-27T23:28:09Z</dc:date>
    <description>(blog.hatenablog.com/entry/2016/10/27/114000)</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] はてなブログ5周年キャンペーン応募ブックマークレット</title>
    <content:encoded>&lt;a href="javascript:%28%28%29%3D%3E%7Bconst%20date%3Dnew%20Date%28%222016-11-06%2023%3A59%3A50%22%29%3Bconst%20LIMIT%3DMath.floor%28date.getTime%28%29%2F864e5%29%3Bconst%20curTime%3DMath.floor%28Date.now%28%29%2F864e5%29%3Bif%28LIMIT%3EcurTime%29%7Bconst%20editURL%3D%27http%3A%2F%2Fblog.hatena.ne.jp%2Fmy%2Fedit%3Ffill_in%3Dhatenablog-5th-anniversary%26title%3D%25E3%2581%25AF%25E3%2581%25A6%25E3%2581%25AA%25E3%2583%2596%25E3%2583%25AD%25E3%2582%25B05%25E5%2591%25A8%25E5%25B9%25B4%25E3%2581%2582%25E3%2582%258A%25E3%2581%258C%25E3%2581%25A8%25E3%2581%2586%25E3%2582%25AD%25E3%2583%25A3%25E3%2583%25B3%25E3%2583%259A%25E3%2583%25BC%25E3%2583%25B3%25E3%2581%258A%25E9%25A1%258C%25E7%25AC%25AC1%25E5%25BC%25BE%25E3%2580%258C%25E3%2581%25AF%25E3%2581%25A6%25E3%2581%25AA%25E3%2583%2596%25E3%2583%25AD%25E3%2582%25AC%25E3%2583%25BC%25E3%2581%25AB5%25E3%2581%25A4%25E3%2581%25AE%25E8%25B3%25AA%25E5%2595%258F%25E3%2580%258D%27%3Blocation.href%3DeditURL%7Delse%7Balert%28%27%E3%82%AD%E3%83%A3%E3%83%B3%E3%83%9A%E3%83%BC%E3%83%B3%E3%81%AF%E7%B5%82%E4%BA%86%27%29%7D%7D%29%28%29%3B"&gt;はてなブログ5周年キャンペーン応募ブックマークレット&lt;/a&gt;&lt;pre&gt;/*
 * @title はてなブログ5周年キャンペーン応募ブックマークレット
 * @description (blog.hatenablog.com/entry/2016/10/27/114000)
 * @include http://*
 * @license MIT License
 * @require
 * @javascript_url 
 */

(()=&amp;gt;{
const date = new Date(&amp;quot;2016-11-06 23:59:50&amp;quot;); // ページの読み込み時間とかあるので
const LIMIT = Math.floor(date.getTime() / 86400000);
const curTime =  Math.floor(Date.now()/ 86400000);
// const curTime =  Math.floor( new Date(&amp;quot;2016-11-06 23:59:59&amp;quot;)/ 86400000 );
 if(LIMIT &amp;gt; curTime){
// alert ( 'あと約' + (LIMIT - curTime) + '日');
  const editURL = 'http://blog.hatena.ne.jp/my/edit?fill_in=hatenablog-5th-anniversary&amp;amp;title=%E3%81%AF%E3%81%A6%E3%81%AA%E3%83%96%E3%83%AD%E3%82%B05%E5%91%A8%E5%B9%B4%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%82%AD%E3%83%A3%E3%83%B3%E3%83%9A%E3%83%BC%E3%83%B3%E3%81%8A%E9%A1%8C%E7%AC%AC1%E5%BC%BE%E3%80%8C%E3%81%AF%E3%81%A6%E3%81%AA%E3%83%96%E3%83%AD%E3%82%AC%E3%83%BC%E3%81%AB5%E3%81%A4%E3%81%AE%E8%B3%AA%E5%95%8F%E3%80%8D';
  location.href = editURL;
  
} else {
  alert('キャンペーンは終了');
}
})();&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hJmd85XzyrkJ">
    <link>https://let.hatelabo.jp/maRk/let/hJmd85XzyrkJ</link>
    <dc:date>2016-10-06T09:42:24Z</dc:date>
    <description>長いURLをコピーとかでなくページ上でみたかったので</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] Mobile SafariとかでURLを確認する</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2FmaRk%2Flet%2FhJmd85XzyrkJ.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;Mobile SafariとかでURLを確認する&lt;/a&gt;&lt;pre&gt;/*
 * @title Mobile SafariとかでURLを確認する
 * @description 長いURLをコピーとかでなくページ上でみたかったので
 * @include http://*
 * @license CC0 1.0
 * @require 
 */

(()=&amp;gt;alert(location.href))();


// Safari -- iOS10 iPhone で動作確認
/*


javascript:(()=&amp;gt;alert(location.href))();



*/

&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hJmc7_PZzOVT">
    <link>https://let.hatelabo.jp/maRk/let/hJmc7_PZzOVT</link>
    <dc:date>2016-03-16T13:00:49Z</dc:date>
    <description>my bookmarklet</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] Kazu Ate Game</title>
    <content:encoded>&lt;a href="javascript:%28%28%29%3D%3E%7Bvar%20ANS%3DparseInt%28Math.random%28%29%2A20%29%2B1%3Bvar%20GAME%3DGAME%7C%7C%7Bstart%3Atrue%2Cscore%3A0%2Clife%3A7%2Chint%3Aval%3D%3E%7Bif%28val%3EANS%29%7Breturn%27Ookii%20yo%21%27%7Delse%20if%28val%3CANS%29%7Breturn%27Chiisai%20yo%21%27%7Delse%20if%28%21%2F%5Cd%2B%2F.test%28val%29%29%7Breturn%27err%27%7Delse%7Breturn%27correct%27%7D%7D%7D%3Bwhile%28GAME.life%3E0%29%7Bif%28GAME.start%26%26GAME.score%21%3D%3D0%29%7BANS%3DparseInt%28Math.random%28%29%2A20%29%2B1%7DGAME.start%3Dfalse%3Bvar%20res%3DparseInt%28window.prompt%28%27Life%3A%20%27%2BGAME.life%2B%27%5Cn%20Kazu%20wa%20%5B%201-20%20%5D%20%3F%3F%27%29%29%3Bif%28GAME.hint%28res%29%3D%3D%27err%27%29%7Balert%28%27Suuji%20wo%20iretene%21%21%27%29%7Delse%20if%28GAME.hint%28res%29%3D%3D%27correct%27%29%7Balert%28%27Seikai%20%21%21%27%29%3BGAME.start%3Dtrue%3B%2B%2BGAME.life%3B%2B%2BGAME.score%7Delse%7Balert%28GAME.hint%28res%29%29%7D--GAME.life%3Bres%3Dnull%7Dalert%28%27Answer%3A%20%27%2BANS%2B%27%20%20SCORE%20%3D%20%27%2BGAME.score%29%7D%29%28%29%3B"&gt;Kazu Ate Game&lt;/a&gt;&lt;pre&gt;/*
 * @title Kazu Ate Game
 * @description my bookmarklet
 * @include http://*
 * @license MIT License
 * @require 
 * @javascript_url
 */
(()=&amp;gt; {
  var ANS = parseInt(Math.random() * 20) + 1;
  // console.log(ANS);
  // init GAME obj
  var GAME = GAME || {
     &amp;quot;start&amp;quot;: true,
     &amp;quot;score&amp;quot;: 0,
     &amp;quot;life&amp;quot;: 7,
    hint: val=&amp;gt; {
      if (val &amp;gt; ANS) {
        return 'Ookii yo!';
      } 
      else if (val &amp;lt; ANS) {
        return 'Chiisai yo!';
      } else if (!/\d+/.test(val)) {
        return 'err';
      } else {
        return 'correct';
      }
    }
  };
  while (GAME.life &amp;gt; 0) {
    if (GAME.start &amp;amp;&amp;amp; GAME.score !== 0) {
      ANS = parseInt(Math.random() * 20) + 1;
    }
    GAME.start = false;
    var res = parseInt(window.prompt('Life: ' + GAME.life + '\n Kazu wa [ 1-20 ] ??'));
    if (GAME.hint(res) == 'err') {
      alert('Suuji wo iretene!!');
    } else if (GAME.hint(res) == 'correct') {
      alert('Seikai !!');
      GAME.start = true;
      ++GAME.life;
      ++GAME.score;
    } else {
      alert(GAME.hint(res));
    }
    --GAME.life;
    res = null;
  }
  alert('Answer: ' + ANS + '  SCORE = ' + GAME.score);
})();&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hJmc6NW02u5I">
    <link>https://let.hatelabo.jp/maRk/let/hJmc6NW02u5I</link>
    <dc:date>2016-03-05T05:56:25Z</dc:date>
    <description>export supplemental</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] Add Raw bookmarklet download link</title>
    <content:encoded>&lt;a href="javascript:%28d%3D%3E%7Bconst%20CONTENT%3Dd.querySelector%28%27pre.code-raw%27%29%3Fd.querySelector%28%27pre.code-raw%27%29.textContent%3A%27%27%3Bif%28%21CONTENT%29return%3Bconst%20FILENAME%3Dd.title.replace%28%2F%20%2Fg%2C%27_%27%29.replace%28%2F%5C.%24%2F%2C%27-%27%29%3Bconst%20FILE%3Dnew%20File%28%5BCONTENT%5D%2C%7Btype%3A%27text%2Fplain%27%7D%29%3Bconst%20DL%3Dd.createElement%28%27a%27%29%3BDL.href%3Dwindow.URL.createObjectURL%28FILE%29%3BDL.id%3D%27downloadUNIT%27%3BDL.textContent%3D%22Download%22%3BDL.download%3DFILENAME%2B%27.txt%27%3Bconst%20BODY%3Dd.querySelector%28%27body%27%29%3Bif%28%21d.getElementById%28%22downloadUNIT%22%29%29%7BBODY.insertBefore%28DL%2CBODY.firstChild%29%3BDL.click%28%29%7Dvoid%200%7D%29%28document%29%3B"&gt;Add Raw bookmarklet download link&lt;/a&gt;&lt;pre&gt;/*
 * @title Add Raw bookmarklet download link
 * @description export supplemental
 * @include http://let.hatelabo.jp/*
 * @license MIT License
 * @require
 * @javascript_url
 */

((d)=&amp;gt;{  
  const CONTENT = d.querySelector('pre.code-raw')? d.querySelector('pre.code-raw').textContent :'';
  if(!CONTENT) return;
  // console.log(CONTENT);
  const FILENAME = d.title.replace(/ /g, '_').replace(/\.$/, '-');
  const FILE = new File([CONTENT], {type : 'text/plain'});
  const DL = d.createElement('a');
  DL.href = window.URL.createObjectURL(FILE);
  DL.id = 'downloadUNIT';
  DL.textContent = &amp;quot;Download&amp;quot;;
  DL.download = FILENAME + '.txt';
  const BODY = d.querySelector('body');
  if(!d.getElementById(&amp;quot;downloadUNIT&amp;quot;)){
  BODY.insertBefore (DL, BODY.firstChild);
  DL.click();
  }
  void(0);
})(document);&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hLHU5Pj53eo9">
    <link>https://let.hatelabo.jp/maRk/let/hLHU5Pj53eo9</link>
    <dc:date>2016-02-28T11:08:36Z</dc:date>
    <description>for validation success. good luck</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] AMP Validation assist</title>
    <content:encoded>&lt;a href="javascript:%28%28%29%3D%3E%7Bvar%20isAMP%3Dfunction%28v%29%7Breturn%20v.attributes%5B%27amp%27%5D%3F1%3A0%7D%3Bvar%20getAMP%3Dfunction%28sel%29%7Breturn%20document.querySelector%28sel%29%3Fdocument.querySelector%28sel%29.href%3A%27%27%7D%3Bvar%20TOGGLE%3Dtrue%3Bvar%20dev%3D%27%23development%3D1%27%3Bif%28%21isAMP%28document.documentElement%29%29%7Bvar%20ampURI%3DgetAMP%28%27link%5Brel%3D%22amphtml%22%5D%27%29%3FgetAMP%28%27link%5Brel%3D%22amphtml%22%5D%27%29%3Anull%3Bif%28%21ampURI%29%7Breturn%20alert%28%27Maybe%20this%20page%20not%20supported%20AMP%27%29%7Delse%7Breturn%20alert%28%27This%20page%20has%20AMP%20try%20%3A%20%5B%20%27%2BampURI%2B%27%20%5D%27%29%7D%7Dvar%20l%3Dlocation.href%3Bif%28%21%2F%23development%3D1%24%2F.test%28l%29%29%7Blocation.href%3Dl%2Bdev%3Breturn%20location.reload%281%29%7Delse%20if%28TOGGLE%29%7Breturn%20location.href%3Dl.replace%28dev%2C%27%27%29%7Delse%7Breturn%7D%7D%29%28%29%3B"&gt;AMP Validation assist&lt;/a&gt;&lt;pre&gt;/*
 * @title AMP Validation assist
 * @description for validation success. good luck
 * @include http://*
 * @license MIT License
 * @javascript_url
 */

(()=&amp;gt;{
  var isAMP = function(v){
    return v.attributes['amp'] ? 1 : 0;
  };
  var getAMP = function(sel){
    return document.querySelector(sel) ? document.querySelector(sel).href : '';
  };
  // Default toggle mode
  var TOGGLE = true;
  var dev = '#development=1';
  if(!isAMP(document.documentElement)){
    var ampURI = getAMP('link[rel=&amp;quot;amphtml&amp;quot;]') ? getAMP('link[rel=&amp;quot;amphtml&amp;quot;]') : null;
    if(!ampURI){
      return alert('Maybe this page not supported AMP');
    }else{
      return alert('This page has AMP try : [ ' + ampURI + ' ]');
    }
  }
  var l = location.href;
  if(!/#development=1$/.test(l)){
    location.href = l + dev;
    return location.reload(1);
  } else if(TOGGLE){
    return location.href = l.replace(dev, '');
  } else {
    return;
  }
})();&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hLHU3ai8hZl_">
    <link>https://let.hatelabo.jp/maRk/let/hLHU3ai8hZl_</link>
    <dc:date>2016-02-16T14:41:35Z</dc:date>
    <description>SEO tool(??)</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] 簡易 meta robots チェック</title>
    <content:encoded>&lt;a href="javascript:%28function%28%29%7Bvar%20meta_robots%3Ddocument.querySelector%28%27meta%5Bname%3D%22robots%22%5D%27%29%3Bvar%20msg%3Bif%28%21meta_robots%29%7Bmsg%3D%27meta-robots%20not%20found%27%7Delse%20if%28meta_robots.content%29%7Bvar%20cont%3Dmeta_robots.content.toLowerCase%28%29.split%28%27%2C%27%29%3Bfor%28var%20i%3D0%3Bi%3Ccont.length%3Bi%2B%2B%29%7Bif%28%2F%5Eno%2A%2F.test%28cont%5Bi%5D%29%29%7Bmsg%3D%27%5B%20%27%2Bmeta_robots.content%2B%27%20%5D%27%3Bbreak%7Delse%7Bmsg%3D%27no%2A%2A%2A%2A%20%20not%20found%20%20%27%2B%27%5B%20%27%2Bmeta_robots.content%2B%27%20%5D%27%7D%7D%7Dreturn%20alert%28msg%29%7D%29%28%29%3B"&gt;簡易 meta robots チェック&lt;/a&gt;&lt;pre&gt;/*
 * @title 簡易 meta robots チェック
 * @description SEO tool(??)
 * @include http://*
 * @license CC0 1.0 Universal
 * @javascript_url
 */

(function(){
  var meta_robots = document.querySelector('meta[name=&amp;quot;robots&amp;quot;]');
  var msg;
  //  console.log(meta_robots);
  if (!meta_robots) {
    msg = 'meta-robots not found';
  } else if (meta_robots.content) {
    var cont = meta_robots.content.toLowerCase().split(',');
    for (var i = 0; i &amp;lt; cont.length; i++) {
      if (/^no*/.test(cont[i])) {
          // NOODP といった値があるため
        msg =  '[ ' + meta_robots.content + ' ]'; 
        break;
      } else {
        msg = 'no****  not found  ' + '[ ' + meta_robots.content + ' ]';
      }
    }
  }
  return alert(msg);
})();



//javascript:(function(){var b=document.querySelector('meta[name=&amp;quot;robots&amp;quot;]');var d;if(!b){d=&amp;quot;meta-robots not found&amp;quot;}else{if(b.content){var a=b.content.toLowerCase().split(&amp;quot;,&amp;quot;);for(var c=0;c&amp;lt;a.length;c++){if(/^no*/.test(a[c])){d=&amp;quot;[ &amp;quot;+b.content+&amp;quot; ]&amp;quot;;break}else{d=&amp;quot;no****  not found  [ &amp;quot;+b.content+&amp;quot; ]&amp;quot;}}}}return alert(d)})();

&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/maRk/let/hJmc2sP9_rUu">
    <link>https://let.hatelabo.jp/maRk/let/hJmc2sP9_rUu</link>
    <dc:date>2016-02-12T06:51:33Z</dc:date>
    <description>鬱陶しいメニュー開閉補助 スマートフォン用</description>
    <dc:creator>maRk</dc:creator>
    <title>[Let] はてブ touch メニュー開閉</title>
    <content:encoded>&lt;a href="javascript:%28function%28%29%7Bif%28location.hostname%21%3D%3D%27b.hatena.ne.jp%27%7C%7C%21%2Fhatena-bookmark-touch%2F.test%28document.querySelector%28%27body%27%29.id%29%29%7Balert%28%27%E3%81%AF%E3%81%A6%E3%83%96%E3%82%B9%E3%83%9E%E3%83%BC%E3%83%88%E3%83%95%E3%82%A9%E3%83%B3%E7%89%88%E5%B0%82%E7%94%A8%E3%81%A7%E3%81%99%27%29%3Breturn%7Dvar%20btn%3Ddocument.getElementById%28%27side-menu-button%27%29%3Bif%28btn%29%7Bbtn.click%28%29%7Delse%7Breturn%7D%7D%29%28%29%3B"&gt;はてブ touch メニュー開閉&lt;/a&gt;&lt;pre&gt;/*
 * @title はてブ touch メニュー開閉
 * @description 鬱陶しいメニュー開閉補助 スマートフォン用
 * @include http://*
 * @license CC0 1.0
 * @require
 * @javascript_url 
 */

(function () {
  if (location.hostname !== 'b.hatena.ne.jp' || !/hatena-bookmark-touch/.test(document.querySelector('body').id)) {
    alert('はてブスマートフォン版専用です')
    return;
  }
  var btn = document.getElementById('side-menu-button');
  if (btn) {
    btn.click();
  } else {
    return;
  }
})();



/* コピペメール送信用


javascript:(function(){if(location.hostname!==&amp;quot;b.hatena.ne.jp&amp;quot;||!/hatena-bookmark-touch/.test(document.querySelector(&amp;quot;body&amp;quot;).id)){alert(&amp;quot;はてブスマートフォン版専用です&amp;quot;);return}var a=document.getElementById(&amp;quot;side-menu-button&amp;quot;);if(a){a.click()}else{return}})();


*/&lt;/pre&gt;</content:encoded>
  </item>
</rdf:RDF>
