81972 Bookmarklets! Create

Hatena::Let でブックマークレットをかんたんに作成・公開しよう!

Lhankor_Mhy Table to CSV2022-01-04

テーブルクリックでCSVとしてダウンロード

{const target=document.querySelectorAll('table');const dl=event=>{const bom=new Uint8Array([239,1...
hitode909 工数入力2022-01-04

多く時間を使った順にタスクを並べて保持してから実行することで、まんべんなく工数入力する

var inputs=document.querySelectorAll('input[placeholder="0:00"]');var total=document.querySelecto...

Hatena::Let template strings crash PoC

try{`//`}catch(e){window.alert(e)}

my bookmarklet

const s=prompt("置換前の文字列","");const r=prompt("置換後の文字列","");void(document.body.innerH...
n-nf get textage link2021-10-25

my bookmarklet

const s=document.createElement("script");s.src="https://textage.cc/score/titletbl.js";s.onload=()...

prompt表示

(function(){var a=unescape(document.getSelection());prompt(a,a)})();

タイトルの通り。必要に応じて最初の配列の所の ["アフィリンクに含まれているURL']", "リダイレクト先...

var af=[["a[href*='af.moshimo.com/']","url"],["a[href*='afl.rakuten.co.jp/']","pc"],["a[href*='px...
Lhankor_Mhy teratail NG2021-07-17

teratailのNG回答者リストをローカルに保存して、質問を見えなくする

(function(){'use strict';const localStorageKey='63cc7db5-31e8-7c4f-6dbb-2210c1c056de';const heade...
yuta25 SpotifyJacket2021-07-12

Spotifyのアルバム・ジャケット画像のURLを開く

open(document.querySelector('div.contentSpacing div div img').srcset.split(',').find((s=>s.match(...

別タブで Internet Archive の Wayback Machine で検索

(function(){window.open('https://web.archive.org/web/*/'+location.href,'_blank','noopener=yes,nor...

開いているURLでTwitter検索を新規タブで開く

(function(){window.open('https://twitter.com/search?q='+encodeURIComponent(location.href),'_blank...

別タブで開く。言語は自動的に検出。

(function(){window.open('https://translate.google.com/translate?sl=auto&tl=ja&u='+encodeURICompon...

Amazon のほしいものリストの合計金額を表示します。

var cost=0;document.querySelectorAll('#g-items .a-price-whole').forEach((price=>{cost+=parseInt(p...
unarist KeyLogger2021-06-16

Simple Key Logger (w/o modifiers, composition)

(()=>{if(window.__KeyLogger_finish){window.__KeyLogger_finish();return}let events=['timestamp (As...

はてなブログの記事編集ページのフォントを Courier New (等幅フォント)にする

noromanba ytchat2021-06-07

open chatting window/tab

(()=>{'use strict';const url=new URL(location.href);const id=url.searchParams.get('v')||url.pathn...

メディア(画像・動画)付きツイートをスタンプ風に引用(=メディアのみ引用)してツイート(個別ツイー...

(async()=>{'use strict';const tweet_urlobj=new URL(location.href),matches=tweet_urlobj.pathname.m...

閲覧しているパーマリンクを起点にしたトゥートの一覧を表示します。

location.href=location.href.replace(/(\d+)$/,(s=>'with_replies?max_id='+(BigInt(s)+1n)));

my bookmarklet

let path;let pattern;var fetchPath=function(callback){path=prompt('PATH入力してください');pattern...

(()=>{document.querySelectorAll('.p-rich_text_list').forEach((x=>x.classList.remove('p-rich_text_...
<< 1 2 3 4 5 6 7 8 9 10