<?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/m4i/rss">
    <link>https://let.hatelabo.jp/m4i/rss</link>
    <description></description>
    <title>Bookmarklets from m4i</title>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://let.hatelabo.jp/m4i/let/hJmcwpXUlMYP"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/m4i/let/gYC-yZKMjtONHg"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/m4i/let/gYC-yZKL0sWAcA"/>
        <rdf:li rdf:resource="https://let.hatelabo.jp/m4i/let/gYC-yYi5g8evCQ"/>
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://let.hatelabo.jp/m4i/let/hJmcwpXUlMYP">
    <link>https://let.hatelabo.jp/m4i/let/hJmcwpXUlMYP</link>
    <dc:date>2013-11-01T01:54:03Z</dc:date>
    <description>GitHub の Wiki で Zen Mode を利用する</description>
    <dc:creator>m4i</dc:creator>
    <title>[Let] [GitHub] Zen Mode Wiki</title>
    <content:encoded>&lt;a href="javascript:%28function%28%29%7Bvar%20style_id%3D%27m4i-zen-mode%27%3Bvar%20style%3Ddocument.getElementById%28style_id%29%3Bif%28style%29%7Bstyle.parentNode.removeChild%28style%29%7Delse%7Bstyle%3Ddocument.createElement%28%27style%27%29%3Bstyle.id%3Dstyle_id%3Bvar%20css%3D%5B%27%23gollum-editor-body%20%7B%27%2C%27margin%3A%20%20%200%20%21important%3B%27%2C%27position%3A%20absolute%3B%27%2C%27top%3A%20%20%20%20%20%200%3B%27%2C%27left%3A%20%20%20%20%200%3B%27%2C%27width%3A%20%20%20%20100%25%3B%27%2C%27height%3A%20%20%20100%25%20%21important%3B%27%2C%27z-index%3A%20%2010000%3B%27%2C%27%7D%27%2C%27%23gollum-editor-submit%20%7B%27%2C%27position%3A%20absolute%3B%27%2C%27bottom%3A%20%20%2010px%3B%27%2C%27right%3A%20%20%20%20100px%3B%27%2C%27z-index%3A%20%2010001%3B%27%2C%27%7D%27%2C%27%23gollum-editor-preview%20%7B%27%2C%27position%3A%20absolute%3B%27%2C%27bottom%3A%20%20%2010px%3B%27%2C%27right%3A%20%20%20%2010px%3B%27%2C%27z-index%3A%20%2010001%3B%27%2C%27%7D%27%5D.join%28%27%5Cn%27%29%3Bstyle.appendChild%28document.createTextNode%28css%29%29%3Bdocument.getElementsByTagName%28%27head%27%29%5B0%5D.appendChild%28style%29%7D%7D%29%28%29%3B"&gt;[GitHub] Zen Mode Wiki&lt;/a&gt;&lt;pre&gt;/*
 * @title       [GitHub] Zen Mode Wiki
 * @description GitHub の Wiki で Zen Mode を利用する
 * @include     https://github.com/*
 * @license     MIT License
 * @javascript_url
 */
(function() {
  var style_id = 'm4i-zen-mode';

  var style = document.getElementById(style_id);
  if (style) {
    style.parentNode.removeChild(style);

  } else {
    style = document.createElement('style');
    style.id = style_id;

    var css = [
      '#gollum-editor-body {',
        'margin:   0 !important;',
        'position: absolute;',
        'top:      0;',
        'left:     0;',
        'width:    100%;',
        'height:   100% !important;',
        'z-index:  10000;',
      '}',
      '#gollum-editor-submit {',
        'position: absolute;',
        'bottom:   10px;',
        'right:    100px;',
        'z-index:  10001;',
      '}',
      '#gollum-editor-preview {',
        'position: absolute;',
        'bottom:   10px;',
        'right:    10px;',
        'z-index:  10001;',
      '}',
    ].join('\n');

    style.appendChild(document.createTextNode(css));
    document.getElementsByTagName('head')[0].appendChild(style);
  }
})();
&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/m4i/let/gYC-yZKMjtONHg">
    <link>https://let.hatelabo.jp/m4i/let/gYC-yZKMjtONHg</link>
    <dc:date>2011-12-30T21:10:46Z</dc:date>
    <description>Twitter で表示しているユーザの Feed を Google Reader で購読する http://m4i.hatenablog.com/entry/2011/12/31/060557</description>
    <dc:creator>m4i</dc:creator>
    <title>[Let] [Twitter] Subscribe in Google Reader</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fm4i%2Flet%2FgYC-yZKMjtONHg.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;[Twitter] Subscribe in Google Reader&lt;/a&gt;&lt;pre&gt;/*
 * @title [Twitter] Subscribe in Google Reader
 * @description Twitter で表示しているユーザの Feed を Google Reader で購読する http://m4i.hatenablog.com/entry/2011/12/31/060557
 * @include http://twitter.com/*
 * @include https://twitter.com/*
 * @license MIT License
 */
location.href = 'http://www.google.com/reader/view/feed/' + encodeURIComponent(
  'http://twitter.com/statuses/user_timeline/' + twttr.profileUser.id + '.atom'
);
&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/m4i/let/gYC-yZKL0sWAcA">
    <link>https://let.hatelabo.jp/m4i/let/gYC-yZKL0sWAcA</link>
    <dc:date>2011-12-30T21:10:27Z</dc:date>
    <description>Twitter で表示しているユーザの Feed に移動する http://m4i.hatenablog.com/entry/2011/12/31/060557</description>
    <dc:creator>m4i</dc:creator>
    <title>[Let] [Twitter] Go to feed</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fm4i%2Flet%2FgYC-yZKL0sWAcA.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;[Twitter] Go to feed&lt;/a&gt;&lt;pre&gt;/*
 * @title [Twitter] Go to feed
 * @description Twitter で表示しているユーザの Feed に移動する http://m4i.hatenablog.com/entry/2011/12/31/060557
 * @include http://twitter.com/*
 * @include https://twitter.com/*
 * @license MIT License
 */
location.href = 'http://twitter.com/statuses/user_timeline/' + twttr.profileUser.id + '.atom';
&lt;/pre&gt;</content:encoded>
  </item>
  <item rdf:about="https://let.hatelabo.jp/m4i/let/gYC-yYi5g8evCQ">
    <link>https://let.hatelabo.jp/m4i/let/gYC-yYi5g8evCQ</link>
    <dc:date>2011-12-30T21:09:15Z</dc:date>
    <description>Twitter の Following ページでフォローされているかどうかを表示する http://m4i.hatenablog.com/entry/2011/12/16/062448</description>
    <dc:creator>m4i</dc:creator>
    <title>[Let] [Twitter] FOLLOWS YOU on Following</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fm4i%2Flet%2FgYC-yYi5g8evCQ.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;[Twitter] FOLLOWS YOU on Following&lt;/a&gt;&lt;pre&gt;/*
 * @title [Twitter] FOLLOWS YOU on Following
 * @description Twitter の Following ページでフォローされているかどうかを表示する http://m4i.hatenablog.com/entry/2011/12/16/062448
 * @include http://twitter.com/*
 * @include https://twitter.com/*
 * @license MIT License
 */
twttr.anywhere.api.util.makeRemoteRequest(
  'followers/ids',
  [{
    cursor: -1,
    user_id: twttr.currentUser.idStr,
  }],
  { success: function(result) {
    var ids = {};
    $.each(result.ids, function(_, id) { ids[id] = true; });

    $('.account').each(function() {
      var $account = $(this);
      if ($account.find('.follow-status').length) return;

      var $status = $('&amp;lt;span&amp;gt;').addClass('follow-status');
      if (ids[$account.attr('data-user-id')]) {
        $status.text('follows you');
      } else {
        $status.text('not follow you').css('color', '#f00');
      }
      $account.find('.account-group')
        .after($status)
        .after('&amp;lt;br&amp;gt;');
    });
  }}
);
&lt;/pre&gt;</content:encoded>
  </item>
</rdf:RDF>
