Cside (9)

正規表現で OR 検索したやつを別々の色でハイライト

const REGEXP=new RegExp(prompt('RegExp'),'ig');const getAllTextNodes=cb=>{const walker=document.c...
Cside Collapse Go Tests2018-02-06

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...
Cside no title2012-03-06

var videoId=parseUri(location.href).queryKey.v;var img=document.createElement('img');img.setAttri...
Cside Tag-and-Threshold2010-11-12

タグと下限ブクマ数を指定してエントリ一覧を表示

(function(){var tag=prompt("タグ:");var thr=prompt("下限ブクマ数:");window.open("http://b.haten...
Cside Threshold2010-11-12

今見ているページの人気エントリをブクマ数の下限を設定して表示

(function(){var thr=prompt("下限ブクマ数:");window.open("http://b.hatena.ne.jp/entrylist?sort=ho...
Cside Sort-Count2010-11-12

今見ているページの人気エントリを表示するブックマークレット。トップページで実行してください。

(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)})();