CINXE.COM
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>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="JfmUzcLnV4Gkbw7RpUTucHkQbnKI33vGMzDTe_CAksLRsW5GeVkVQwKG8sTNdrZLqtBpzLKLxghHIH9vLtk0Wg==" /> <link href="https://let.hatelabo.jp/rss" rel="alternate" title="Feed - 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"> <div id="top-message"> <p class="top-count-container"> <span class="top-bookmarklet-count"> 82005 Bookmarklets! </span> <a class="top-create-link" href="/l">Create</a> </p> <p class="top-guide"> Hatena::Let でブックマークレットをかんたんに作成・公開しよう! </p> </div> <div class="hfeed"> <div class="codelist"> <div class="title"> <a href="/ssig33/"><img src="https://cdn.profile-image.st-hatena.com/users/ssig33/profile_s.gif" class="profile-image" alt="ssig33" title="ssig33" width="16" height="16"></a> <a href="/ssig33/let/i7uh3YWAgKAA" class="code-path">はてラボ人間性センター突破</a><span class="time_ago">2021-03-29</span> </div> <div class="attr"> <p class="description">my bookmarklet</p> <pre class="packed-source">(()=>{fetch('https://gist.githubusercontent.com/wktk/102e630b819aa251738738666c9246c9/raw/af550d7...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/onjs/"><img src="https://cdn.profile-image.st-hatena.com/users/onjs/profile_s.gif" class="profile-image" alt="onjs" title="onjs" width="16" height="16"></a> <a href="/onjs/let/i63S9rrQgoAA" class="code-path">a値確認&編集更新スクリプト</a><span class="time_ago">2021-03-08</span> </div> <div class="attr"> <p class="description">my bookmarklet</p> <pre class="packed-source">var firstLoadFlag=true;function IsHanEisu(str){str=str==null?"":str;if(str.match(/^[A-Za-z0-9]*$/...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/pacochi/"><img src="https://cdn.profile-image.st-hatena.com/users/pacochi/profile_s.gif" class="profile-image" alt="pacochi" title="pacochi" width="16" height="16"></a> <a href="/pacochi/let/ipfOgsHcgqAA" class="code-path">BigInt を ~n で書くと Packed が空になる(修正済)</a><span class="time_ago">2021-02-23</span> </div> <div class="attr"> <p class="description">http://let.hatelabo.jp/pacochi/let/ipfNhb7UgqAA がブックマークできなかった</p> <pre class="packed-source">void 16n;</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/pacochi/"><img src="https://cdn.profile-image.st-hatena.com/users/pacochi/profile_s.gif" class="profile-image" alt="pacochi" title="pacochi" width="16" height="16"></a> <a href="/pacochi/let/i6XFrNPigMAA" class="code-path">[?]カスタム絵文字まとめて登録</a><span class="time_ago">2021-02-23</span> </div> <div class="attr"> <p class="description">管理画面から複数の絵文字を登録できるようにします。</p> <pre class="packed-source">(async()=>{const delay=2e3;const authenticityToken=document.querySelector('meta[name="csrf-token"...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/yuta25/"><img src="https://cdn.profile-image.st-hatena.com/users/yuta25/profile_s.gif" class="profile-image" alt="yuta25" title="yuta25" width="16" height="16"></a> <a href="/yuta25/let/i5ef8p2QgKAA" class="code-path">最初の選択肢全部選ぶ</a><span class="time_ago">2021-02-01</span> </div> <div class="attr"> <p class="description">ラジオボタンのやつ</p> <pre class="packed-source">[...new Set(Array.from(document.querySelectorAll('input[type="radio"]')).map((elem=>elem.name)))]...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/jigendaddy/"><img src="https://cdn.profile-image.st-hatena.com/users/jigendaddy/profile_s.gif" class="profile-image" alt="jigendaddy" title="jigendaddy" width="16" height="16"></a> <a href="/jigendaddy/let/hJmeqLbOsdpr" class="code-path">nishino_ameblo_only</a><span class="time_ago">2021-01-25</span> </div> <div class="attr"> <p class="description">try to take over the world!</p> <pre class="packed-source">var listArray=document.querySelectorAll('.skin-entryBody *[style]');for(var i=0;i<listArray.lengt...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/mino90/"><img src="https://cdn.profile-image.st-hatena.com/users/mino90/profile_s.gif" class="profile-image" alt="mino90" title="mino90" width="16" height="16"></a> <a href="/mino90/let/i4Kkv-7IgsAA" class="code-path">viewport width=</a><span class="time_ago">2020-12-31</span> </div> <div class="attr"> <p class="description">viewport の横幅を変える</p> <pre class="packed-source">(function(){let a=prompt('viewport width=');if(a==""||a==null){}else{document.getElementsByName('...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/mino90/"><img src="https://cdn.profile-image.st-hatena.com/users/mino90/profile_s.gif" class="profile-image" alt="mino90" title="mino90" width="16" height="16"></a> <a href="/mino90/let/iv2Fg7TEguAA" class="code-path">Disable MS UI Gothic</a><span class="time_ago">2020-12-23</span> </div> <div class="attr"> <p class="description">指定されているMS UI Gothicを無効にする。</p> <pre class="packed-source">(function(){var s=document.createElement('style');s.setAttribute('type','text/css');s.innerHTML='...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/jigendaddy/"><img src="https://cdn.profile-image.st-hatena.com/users/jigendaddy/profile_s.gif" class="profile-image" alt="jigendaddy" title="jigendaddy" width="16" height="16"></a> <a href="/jigendaddy/let/hLHW0bDn0oEE" class="code-path">nishino_ameblo_add</a><span class="time_ago">2020-12-13</span> </div> <div class="attr"> <p class="description">try to take over the world!</p> <pre class="packed-source">var reg=/[\u3040-\u30ff]/;var tmp3=[];for(var k=0;k<$("#entryBody a").length;k++){var tmp2=$("#en...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/furyu-tei/"><img src="https://cdn.profile-image.st-hatena.com/users/furyu-tei/profile_s.gif" class="profile-image" alt="furyu-tei" title="furyu-tei" width="16" height="16"></a> <a href="/furyu-tei/let/iu6czrPagKAA" class="code-path">Fleet画像を開く</a><span class="time_ago">2020-12-06</span> </div> <div class="attr"> <p class="description">今後は https://greasyfork.org/ja/scripts/417287-twfleetcapture 参照(Twitterユーザープロフィール...</p> <pre class="packed-source">(()=>{'use strict';const fetch_api=api_url=>fetch(api_url,{method:'GET',headers:{authorization:'B...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/pacochi/"><img src="https://cdn.profile-image.st-hatena.com/users/pacochi/profile_s.gif" class="profile-image" alt="pacochi" title="pacochi" width="16" height="16"></a> <a href="/pacochi/let/iu6t2bOUgKAA" class="code-path">テンプレートリテラル認識テスト</a><span class="time_ago">2020-11-30</span> </div> <div class="attr"> <p class="description">http://let.hatelabo.jp/pacochi/let/ipfOgsHcgqAA が直っていたので</p> <pre class="packed-source">alert(`\nhttp://let.hatelabo.jp/\n/* CSS 書いた時に勝手にスペースが省略されて違う意味合いになって...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/jigendaddy/"><img src="https://cdn.profile-image.st-hatena.com/users/jigendaddy/profile_s.gif" class="profile-image" alt="jigendaddy" title="jigendaddy" width="16" height="16"></a> <a href="/jigendaddy/let/iu3u_eC-gKAA" class="code-path">nishino_sidebar_hide</a><span class="time_ago">2020-11-29</span> </div> <div class="attr"> <p class="description">try to take over the world!</p> <pre class="packed-source">document.onkeydown=pressFunction;document.onkeyup=releaseFunction;var keyStatus={};function press...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/Lhankor_Mhy/"><img src="https://cdn.profile-image.st-hatena.com/users/Lhankor_Mhy/profile_s.gif" class="profile-image" alt="Lhankor_Mhy" title="Lhankor_Mhy" width="16" height="16"></a> <a href="/Lhankor_Mhy/let/iuzX89CqgKAA" class="code-path">Disable contextmenu blocking</a><span class="time_ago">2020-11-27</span> </div> <div class="attr"> <p class="description">プルリクできればいいんだけど…… とりあえずフォーク。</p> <pre class="packed-source">['contextmenu','selectstart','copy'].forEach((ev=>window.addEventListener(ev,(e=>e.stopPropagatio...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/mino90/"><img src="https://cdn.profile-image.st-hatena.com/users/mino90/profile_s.gif" class="profile-image" alt="mino90" title="mino90" width="16" height="16"></a> <a href="/mino90/let/iuKK3pmMgoAA" class="code-path">au Market マイアプリ</a><span class="time_ago">2020-11-11</span> </div> <div class="attr"> <p class="description">au Market アプリのマイアプリを開く。AndroidのGoogle Chromeで確認。</p> <pre class="packed-source">location.href="auonemkt://myapps_list";</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/furyu-tei/"><img src="https://cdn.profile-image.st-hatena.com/users/furyu-tei/profile_s.gif" class="profile-image" alt="furyu-tei" title="furyu-tei" width="16" height="16"></a> <a href="/furyu-tei/let/itqCwruYgMAA" class="code-path">TwitterユーザーID取得</a><span class="time_ago">2020-10-30</span> </div> <div class="attr"> <p class="description">Twitterユーザーのscreen_nameからユーザーIDを取得する</p> <pre class="packed-source">(()=>{'use strict';let screen_name=window.getSelection().toString()||prompt('Input screen name of...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/furyu-tei/"><img src="https://cdn.profile-image.st-hatena.com/users/furyu-tei/profile_s.gif" class="profile-image" alt="furyu-tei" title="furyu-tei" width="16" height="16"></a> <a href="/furyu-tei/let/hJmf7tzjlu5j" class="code-path">「ココログ用検索」の検索ボックスを任意のココログに</a><span class="time_ago">2020-10-29</span> </div> <div class="attr"> <p class="description">http://java.cocolog-nifty.com/blog/2005/10/javascript_c163.html の移植版(jQuery使用)</p> <pre class="packed-source">(function(){'use strict';window.cocolog_ajax_search_options={color:'#ffcc33',truncation_length:80...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/maRk/"><img src="https://cdn.profile-image.st-hatena.com/users/maRk/profile_s.gif" class="profile-image" alt="maRk" title="maRk" width="16" height="16"></a> <a href="/maRk/let/itOa36v0gaAA" class="code-path">TOGGLE HOTENTRY LIST</a><span class="time_ago">2020-10-19</span> </div> <div class="attr"> <p class="description">エントリーリストで下方スクロール後でも、新着・人気を切り替える</p> <pre class="packed-source">((d,l)=>{if(!d.documentElement.dataset.pageScope==="EntryList")return;const re=/^https\:\/\/b\.ha...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/Lhankor_Mhy/"><img src="https://cdn.profile-image.st-hatena.com/users/Lhankor_Mhy/profile_s.gif" class="profile-image" alt="Lhankor_Mhy" title="Lhankor_Mhy" width="16" height="16"></a> <a href="/Lhankor_Mhy/let/g5G0hvbqmesR" class="code-path">id属性がある要素の後ろにアンカーリンクをつける</a><span class="time_ago">2020-10-13</span> </div> <div class="attr"> <p class="description">ページ途中へのフラグメント付きURL(#xxx)が欲しい時に</p> <pre class="packed-source">{const pipe=x=>f=>f?pipe(f(x)):x;const $attr=attr=>val=>e=>{if(val==null)return e.getAttribute(at...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/maRk/"><img src="https://cdn.profile-image.st-hatena.com/users/maRk/profile_s.gif" class="profile-image" alt="maRk" title="maRk" width="16" height="16"></a> <a href="/maRk/let/ir_ki9nsgMAA" class="code-path">Get Hatena.Bookmark.entry.eid v2</a><span class="time_ago">2020-09-18</span> </div> <div class="attr"> <p class="description">make eid notation</p> <pre class="packed-source">(d=>{if(!d.documentElement.hasAttribute('data-entry-eid'))return;const Header=d.getElementById('i...</pre> </div> </div> <div class="codelist"> <div class="title"> <a href="/furyu-tei/"><img src="https://cdn.profile-image.st-hatena.com/users/furyu-tei/profile_s.gif" class="profile-image" alt="furyu-tei" title="furyu-tei" width="16" height="16"></a> <a href="/furyu-tei/let/ir-Nt4nwgaAA" class="code-path">Yahoo!ニュースの元記事を探す</a><span class="time_ago">2020-09-18</span> </div> <div class="attr"> <p class="description">今後は https://greasyfork.org/ja/scripts/411491-yn-searchorigin 参照(Yahoo!ニュースでは元記事へ...</p> <pre class="packed-source">(()=>{'use strict';const yahoo_news_hostname=new URL(location.href).hostname,cwin=window.open('ab...</pre> </div> </div> </div> <a class-"pager-prev" href="/?page=7"><<</a> <a href="/?page=4">4</a> <a href="/?page=5">5</a> <a href="/?page=6">6</a> <a href="/?page=7">7</a> <strong>8</strong> <a href="/?page=9">9</a> <a href="/?page=10">10</a> <a href="/?page=11">11</a> <a href="/?page=12">12</a> <a href="/?page=13">13</a> <a class="pager-next" href="/?page=9" rel="next">>></a> </div> </div> </div> <script type="text/javascript">Let.init();</script> </body> </html>