CINXE.COM
hitode909 - Hatena::Let
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="" lang=""> <head> <title>hitode909 - Hatena::Let</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="shortcut icon" type="image/x-icon" href="/images/favicon.png" /> <link rel="stylesheet" href="https://www.hatena.ne.jp/css/simple-header.css" type="text/css" media="all" /> <link rel="stylesheet" href="/css/hatena.css" type="text/css" media="all" title="site"/> <link rel="stylesheet" href="/css/site.css" type="text/css" media="all" title="site"/> <meta name="description" content="Hatena::Let はブックマークレットをかんたんに作成・公開できるウェブサービスです" /> <meta name="Keywords" content="bookmarklet,bookmarklets,ブックマークレット,Hatena::Let,はてなレット" /> <meta name="csrf-token" content="dIkiHnJD2pJbYroqRyn3nWJZngM1aAS6AeGiFrVn-jO7N-BczmoM55aLLG8xcWlXt90MCTR0TNbPwqC_sIwYcA==" /> <link href="https://let.hatelabo.jp/hitode909/rss" rel="alternate" title="Feed - hitode909 - Hatena::Let" type="application/rss+xml" /> <script type="text/javascript" src="https://s.hatena.ne.jp/js/HatenaStar.js"></script> <script type="text/javascript" src="/js/site-script.js?_=1"></script> <script type="text/javascript"> Hatena.Star.SiteConfig = { entryNodes: { 'div.codelist': { uri: 'div.title a.code-path', title: 'div.title a.code-path', container: 'div.title' } } }; </script> </head> <body> <div id="simple-header"> <div id="simple-header-body"> <div id="logo"> <a href="/"><img src="/images/logo.gif" title="はてな" alt="はてな" class="logo"></a> </div> <ul class="menu"> <li><a href="https://www.hatena.ne.jp/register">Register</a></li> <li><a href="/auth/hatena">Login</a></li> <li><a href="/help">Help</a></li> </ul> </div> </div> <div id="hatena-body"> <div id="body"> <div id="container"> <h2> hitode909 (25) </h2> <div class="hfeed"> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/ktGqpLyogMAA" class="code-path">画像を右クリックすると塗り絵用の線画を表示します。スライダーで濃さを調整でき...</a><span class="time_ago">02/22</span> </div> <div class="attr"> <p class="description">濃さを調整したあと印刷して、塗り絵として使ってください。X.comなど、うまく動かない場合は画像をタブ...</p> <pre class="packed-source">(function(){alert("画像を右クリックすると塗り絵用の線画を表示します。\nスライダーで濃さを調整でき...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/jd22ioGugYAA" class="code-path">Asanaのバーンアップチャートから終了日を予測してプロットする</a><span class="time_ago">2022-06-23</span> </div> <div class="attr"> <p class="description">予測線と終了日をプロットします。完了ポイントは線形に伸び、総ポイントは変化しない想定。</p> <pre class="packed-source">(()=>{function intersect(x1,y1,x2,y2,x3,y3,x4,y4){if(x1===x2&&y1===y2||x3===x4&&y3===y4){return f...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/jaibrbf2gsAA" class="code-path">ゾンビをトンビに置換</a><span class="time_ago">2022-04-28</span> </div> <div class="attr"> <p class="description">https://blog.sushi.money/entry/2022/04/02/221344</p> <pre class="packed-source">document.body.innerHTML=document.body.innerHTML.replace(/ゾンビ/gi,'トンビ');</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/jYfoh8D2gqAA" class="code-path">技術評論社の連載ページをscrapbox記法のリストに変換</a><span class="time_ago">2022-02-10</span> </div> <div class="attr"> <p class="description">技術評論社の連載ページをscrapbox記法のリストに変換する</p> <pre class="packed-source">(()=>{const source=Array.from(document.querySelectorAll('.toc.article a')).map((a=>` [${a.href} $...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/jPCC6armgcAA" class="code-path">工数入力</a><span class="time_ago">2022-01-04</span> </div> <div class="attr"> <p class="description">多く時間を使った順にタスクを並べて保持してから実行することで、まんべんなく工数入力する</p> <pre class="packed-source">var inputs=document.querySelectorAll('input[placeholder="0:00"]');var total=document.querySelecto...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/hLHWtIHosZ99" class="code-path">Amazonの本のページからamakanに移動</a><span class="time_ago">2017-01-15</span> </div> <div class="attr"> <p class="description">Amazonの本のページからamakanに移動します。</p> <pre class="packed-source">javascript:location.href="https://amakan.net/search?query="+location.href;</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/hJmc5Jbys6YJ" class="code-path">Courseraの所要時間</a><span class="time_ago">2016-02-27</span> </div> <div class="attr"> <p class="description">所要時間(宿題は除く)をalertします</p> <pre class="packed-source">alert('total '+Array.prototype.slice.apply(document.querySelectorAll('.text-hint')).map((function...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/hJmd2LuH7cM-" class="code-path">はてなアルバムからはてなブログに引っ越す</a><span class="time_ago">2014-06-22</span> </div> <div class="attr"> <p class="description">はてなアルバムからはてなブログにインポート可能なMT形式を生成します.アルバムページで実行してくだ...</p> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/hLHV1eS_-K1W" class="code-path">元気でる</a><span class="time_ago">2014-06-18</span> </div> <div class="attr"> <p class="description">my bookmarklet</p> <pre class="packed-source">document.body.setAttribute("style","background: url(https://dl.dropboxusercontent.com/u/8270034/g...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/hJmcoI6U0bxv" class="code-path">「ライセンスの選択を恐れる必要はありません」の旧仮名遣いを新しくするやつ</a><span class="time_ago">2013-09-09</span> </div> <div class="attr"> <p class="description">http://qiita.com/tadsan/items/99d816e78ca429093b75 の旧仮名遣いを新しくするやつ</p> <pre class="packed-source">var rules=[[/ひ|ゐ/g,'い'],[/ふ/g,'う'],[/智/g,'知'],[/萃/g,'粋'],[/註/g,'注'],[/函/g,'関'],[/抛/...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/gYC-y4uM7LKcaQ" class="code-path">rotate images</a><span class="time_ago">2013-01-21</span> </div> <div class="attr"> <p class="description">$('img:last').prependTo(document.body);</p> <pre class="packed-source">setInterval((function(){$('img:last').prependTo(document.body)}),20);</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/gYC-yu-RjrLCJQ" class="code-path">RacHitodenize #RAC7889</a><span class="time_ago">2012-12-08</span> </div> <div class="attr"> <p class="description">reblog advent calend*e*r 7889 hitode909-nize</p> <pre class="packed-source">window.requestAnimationFrame=function(){return window.requestAnimationFrame||window.webkitRequest...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/gYC-yuG7p7bWEg" class="code-path">ページをチカチカさせるやつ</a><span class="time_ago">2012-11-17</span> </div> <div class="attr"> <p class="description">チカチカします</p> <pre class="packed-source">window.requestAnimationFrame=function(){return window.requestAnimationFrame||window.webkitRequest...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/gYC-ycit4Iq-IQ" class="code-path">文字を汚ない画像にする</a><span class="time_ago">2012-03-24</span> </div> <div class="attr"> <p class="description">文字を汚ない画像にするやつ 例 → http://dl.dropbox.com/u/8270034/g/e333618264368ada4432c70ffe3764...</p> <pre class="packed-source">var walkTextNode=function(node,callback){var children=node.childNodes;for(var i=0,len=children.le...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/gYC-yba2mZivbQ" class="code-path">ドリランドッドリランドッドッドッドリランド</a><span class="time_ago">2012-02-25</span> </div> <div class="attr"> <p class="description">http://mohayonao.herokuapp.com/d</p> <pre class="packed-source">$('<script>').attr('src','http://hitode909.appspot.com/text-generator/text-generator.js').appendT...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/gYC-xYL11uidOQ" class="code-path">wikipedia-cutup</a><span class="time_ago">2011-12-07</span> </div> <div class="attr"> <p class="description">Wikipediaの記事をカットアップします</p> <pre class="packed-source">function selectRandom(list){return list[Math.floor(Math.random()*list.length)]}function Page(url)...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/gYC-xMem8c_LPw" class="code-path">dial_scroll</a><span class="time_ago">2011-09-06</span> </div> <div class="attr"> <p class="description">ダイヤルでスクロールできます</p> <pre class="packed-source">(function($){var throttle;throttle=function(fn,delay){var timer;timer=null;return function(){var ...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/gYC-yMenvtvgLQ" class="code-path">dial_rotate</a><span class="time_ago">2011-09-06</span> </div> <div class="attr"> <p class="description">ダイヤルで回せます</p> <pre class="packed-source">(function($){var throttle;throttle=function(fn,delay){var timer;timer=null;return function(){var ...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/gYC-yIuan5TgNg" class="code-path">DM @hitode909 こんにちは</a><span class="time_ago">2011-06-04</span> </div> <div class="attr"> <p class="description">my bookmarklet</p> <pre class="packed-source">alert(1);</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/hitode909/"><img src="https://cdn.profile-image.st-hatena.com/users/hitode909/profile_s.gif" class="profile-image" alt="hitode909" title="hitode909" width="16" height="16"></a> <a href="/hitode909/let/gYC-x-jF_-2zFg" class="code-path">super_mind_free</a><span class="time_ago">2011-04-11</span> </div> <div class="attr"> <p class="description">my bookmarklet</p> <pre class="packed-source">window.MouseUtil={};['mousemove','mousedown','mouseup','click'].forEach((function(method){window....</pre> </div> </div> </div> <strong>1</strong> <a href="/hitode909/?page=2">2</a> <a class="pager-next" href="/hitode909/?page=2" rel="next">>></a> </div> </div> </div> <script type="text/javascript">Let.init();</script> </body> </html>