メタブタイトルが「...のコメント」となってしまうところを、元ページのタイトルに変更する。自分が公開...
void(async()=>{if(!document.querySelector('.entry-edit')){alert('公開ブクマされていないようなので...
コメントメタブと2階ブクマを展開します。説明→https://realtor-readyabooks.hatenablog.com/entry/202...
(async()=>{const APIURL='https://b.hatena.ne.jp/entry/jsonlite/?url=';document.body.insertAdjacen...
はてなブックマークにログインしていれば、n年前のブクマページに移動します。IEでは動作せず。
const n=1;const oneYearBefore=new Date;oneYearBefore.setFullYear((new Date).getFullYear()-n);loca...
ブックマークレットを使ってからメールスレッドやタイトルなどをクリックしてください
{const targetDataAttribute="data-legacy-last-message-id";alert('パーマリンクを取得するメールをク...
比較したいブコメページを入力→コメントを比較したテキストをはてな記法で出力
(async()=>{const regexpEscape=s=>s.replace(/[\\^$.*+?()[\]{}|]/g,'\\$&');const regexp=new RegExp(...
比較したいブコメページを入力→コメントがユーザーごとに並ぶ
(async()=>{document.documentElement.scrollTop=document.documentElement.scrollHeight;const regexpE...
なんか、パーセントエンコーディングがアレ←プロトコルでリダイレクトされてた
void(location.href="https://www.kinokuniya.co.jp/disp/CSfDispListPage_001.jsp?qs=true&ptk=03&q="+...
エントリページで動作します。
document.querySelector('.is-my-bookmark .hatena-star-inner-count')?.click?.();void setTimeout((()...
ページ内にある~.PDFというリンクすべてからPDFファイルを取得して、zipして一括ダウンロードします。
(async()=>{function _import(s){return new Promise((function(resolve){const script=document.create...
テーブルクリックでCSVとしてダウンロード
{const target=document.querySelectorAll('table');const dl=event=>{const bom=new Uint8Array([239,1...
teratailのNG回答者リストをローカルに保存して、質問を見えなくする
(function(){'use strict';const localStorageKey='63cc7db5-31e8-7c4f-6dbb-2210c1c056de';const heade...
プルリクできればいいんだけど…… とりあえずフォーク。
['contextmenu','selectstart','copy'].forEach((ev=>window.addEventListener(ev,(e=>e.stopPropagatio...
ページ途中へのフラグメント付きURL(#xxx)が欲しい時に
{const pipe=x=>f=>f?pipe(f(x)):x;const $attr=attr=>val=>e=>{if(val==null)return e.getAttribute(at...
https://ja.wikipedia.org/?curid= に移動します。
(async()=>{location.href='/'+`?curid=${(new DOMParser).parseFromString(await(await fetch(location...
https://teratail.com/questions/233570 からインスパイア。
void(async()=>{const $id=document.getElementById.bind(document);const $qs=(s,c=document)=>{const ...
テキストファイルダウンロードページで、「部分番号」の指定を末尾にして先頭の部分からダウンロード。...
(async()=>{const sleep=time=>new Promise((resolve=>setTimeout(resolve,time)));const title=documen...
forked from http://let.hatelabo.jp/furyu-tei/let/hLHVnMG9q-NH
(function(i,u,s,c,q,w){w=window.open('https://twitter.com/search?f=tweets&q='+encodeURIComponent(...
紀伊国屋Bookweb個別ページから
const isbn=document.querySelector('*[content^=isbn]').textContent.split(':')[1];const title=docu...
Googleマップで表示されている場所を全国地価マップで開きます。
(function(){var latlng=location.href.match(/\/@([\d\.]+),([\d\.]+)/).slice(1);var lng=eval(latlng...
黒魔術的。仕様が変わったら動かない。
K.setOptions({styles:[{}]});