正規表現で OR 検索したやつを別々の色でハイライト
const REGEXP=new RegExp(prompt('RegExp'),'ig');const getAllTextNodes=cb=>{const walker=document.c...
Github の /files ページで Go のテストファイルを折りたたむ
document.querySelectorAll('.file-header').forEach((header=>{name=header.querySelector('.file-info...
開いてるページのはてブページを開く
(function(){location.href='http://b.hatena.ne.jp/entry/'+location.href})();
選択範囲を取得
(function(){var selection=window.getSelection?window.getSelection():document.getSelection?documen...
var videoId=parseUri(location.href).queryKey.v;var img=document.createElement('img');img.setAttri...
タグと下限ブクマ数を指定してエントリ一覧を表示
(function(){var tag=prompt("タグ:");var thr=prompt("下限ブクマ数:");window.open("http://b.haten...
今見ているページの人気エントリをブクマ数の下限を設定して表示
(function(){var thr=prompt("下限ブクマ数:");window.open("http://b.hatena.ne.jp/entrylist?sort=ho...
今見ているページの人気エントリを表示するブックマークレット。トップページで実行してください。
(function(){window.open('http://b.hatena.ne.jp/entrylist?sort=count&url='+location.href)})();
my bookmarklet
(function(){alert(document.getElementsByTagName('title')[0].innerText+' - '+location.href)})();