<?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/june29/rss">
    <link>https://let.hatelabo.jp/june29/rss</link>
    <description></description>
    <title>Bookmarklets from june29</title>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://let.hatelabo.jp/june29/let/gYC-x5mHiIaTCA"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/june29/let/gYC-ypeN1fzoRg"/>
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://let.hatelabo.jp/june29/let/gYC-x5mHiIaTCA">
    <link>https://let.hatelabo.jp/june29/let/gYC-x5mHiIaTCA</link>
    <dc:date>2010-12-09T03:00:23Z</dc:date>
    <description>Customize LDR's keybind and view</description>
    <dc:creator>june29</dc:creator>
    <title>[Let] LDR29</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fjune29%2Flet%2FgYC-x5mHiIaTCA.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;LDR29&lt;/a&gt;&lt;pre&gt;/*
 * @title LDR29
 * @description Customize LDR's keybind and view
 * @include http://reader.livedoor.com/reader/
 */

(function() {

  // style

  var styles = ['#header, #control, #menu, #footer { display: none !important; }',
                '#subs_toolbar, #subs_buttons, #subs_search { display: none !important; }',
                '#ads_bottom { display: none !important; }'
               ];
  var style = document.createElement('style');
  style.innerHTML = styles.join('\n');
  document.body.appendChild(style);

  var running_man  = document.getElementById('message_box');
  var subs_tools   = document.getElementById('subs_tools');
  var div = document.createElement('div');

  div.setAttribute('style', 'height: 50px; padding-left: 35px; background-color: #fff;');
  subs_tools.appendChild(div);
  div.appendChild(running_man);

  // keybind

  Keybind.add(&amp;quot;j&amp;quot;,Control.go_next);
  Keybind.add(&amp;quot;k&amp;quot;,Control.go_prev);

  Keybind.add('p', function(){
    Control.pin();
    Control.go_next();
  })

  Keybind.add('o', function(){
    var item = get_active_item(true);
    if (!item) return;
    window.open(item.link).blur();
//    setTimeout(GM_openInTab,0,item.link);
    Control.go_next();
  })

  Keybind.remove(&amp;quot;b&amp;quot;);
  Keybind.remove(&amp;quot;i&amp;quot;);
})();
&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/june29/let/gYC-ypeN1fzoRg">
    <link>https://let.hatelabo.jp/june29/let/gYC-ypeN1fzoRg</link>
    <dc:date>2010-05-21T03:14:23Z</dc:date>
    <description>Count all 'a' tags and 'img' in target HTML</description>
    <dc:creator>june29</dc:creator>
    <title>[Let] count a and img</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fjune29%2Flet%2FgYC-ypeN1fzoRg.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;count a and img&lt;/a&gt;&lt;pre&gt;/*
 * @title count a and img
 * @description Count all 'a' tags and 'img' in target HTML
 * @include http://*
 * @include https://*
 * @license MIT License
 * @require 
 */

(function() {
  var links  = document.getElementsByTagName(&amp;quot;a&amp;quot;);
  var images = document.getElementsByTagName(&amp;quot;img&amp;quot;);

  var display = document.createElement(&amp;quot;div&amp;quot;);
  display.setAttribute(&amp;quot;style&amp;quot;, &amp;quot;font-size: 300%; color: #000; background-color: #fff; text-align: center; padding: 10px;&amp;quot;);
  display.innerHTML = &amp;quot;a: &amp;quot; + links.length + &amp;quot;, img: &amp;quot; + images.length;

  document.body.insertBefore(display, document.body.firstChild);
})();
&lt;/pre&gt;</content:encoded>
  </item>
</rdf:RDF>
