81971 Bookmarklets! Create

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

Pocket のリンクから ?utm_source=pocket_saves などを外します。

{let timerId;new MutationObserver(((mutationList,observer)=>{mutationList.forEach((mutation=>{swi...

個別 Tweet の URL から前後 1 時間の投稿を RT を含めて表示する

(()=>{const TWITTER_EPOCH=1288834974657;const formatTwitterDate=date=>{const pad2=n=>n.toString()...

リレーからkind10030,kind30030イベントを取得してRabbitにカスタム絵文字リストをインポートする

(async()=>{if(typeof window==='undefined'){await import('websocket-polyfill')}const relayUrl='wss...

リレーからkind10000イベントを取得してRabbitにミュートリストをインポートする

(async()=>{if(typeof window==='undefined'){await import('websocket-polyfill')}const relayUrl='wss...

[タイトル URL]という形式でページのタイトルとURLをクリップボードにコピーします

(()=>{'use strict';let canonical=(document.querySelector('head link[rel="canonical"][href]')||{})...

Amazon MusicのプレイリストをCSV形式でダウンロード

(()=>{const headers=[{key:'no',name:'No.'},{key:'music_title',name:'曲'},{key:'music_url',name:'...

アカウント名を変更しても変わらないDIDを使用したプロフィールページに移動する。プロフィールページで...

(function(){if(/^https:\/\/bsky\.app\/profile\//.test(location.href)&&!/\/lists\//.test(location....

canonical URLではない場合にページ移動します。

{const canonical=document.querySelector('[rel=canonical]').href;if(location.href!==canonical)loca...

コメントメタブと2階ブクマを展開します。説明→https://realtor-readyabooks.hatenablog.com/entry/202...

(async()=>{const APIURL='https://b.hatena.ne.jp/entry/jsonlite/?url=';document.body.insertAdjacen...

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

const REGEXP=new RegExp(prompt('RegExp'),'ig');const getAllTextNodes=cb=>{const walker=document.c...

はてなグリーンスターに縁をつけます。via: https://b.hatena.ne.jp/entry/4748592896526814671/comment...

{let timerId;new MutationObserver(((mutationList,observer)=>{mutationList.forEach((mutation=>{swi...

便利

(()=>{const title=document.querySelector("#productTitle").textContent.trim().replaceAll(/[~‐‑...

NAVITIMEの任意の時刻表を、東急向けのNAVITIE電鉄・バス事業者向けソリューションで開くやつ

javascript:(()=>{var indexOfQuestion=document.URL.lastIndexOf('?')+1;var params;if(indexOfQuestio...

ついているはてなスターを見たり、はてなスターをつけられるあのパネルを開く

(function(){window.open('https://s.hatena.ne.jp/js/widget/entry.html?url='+encodeURIComponent(loc...

ブックマークレットを使ってからメールスレッドやタイトルなどをクリックしてください

{const targetDataAttributeNames=["data-legacy-last-message-id","data-legacy-message-id","data-leg...

Twitter(X)のユーザープロフィールからメディア検索画面に遷移する

(()=>{'use strict';const media_tab=document.querySelector('[role="presentation"] a[href$="/media"...

60秒間再生するとログイン画面をポップアップして一時停止させられるのでその前に変数を上書きする

setTimeout((function(){let s=document.createElement('script');s.innerHTML='__INITIAL_STATE__.user...

Twitterの個別ツイート(https://twitter.com/<name>/status/<id>)のURL(<id>)からおおよその投稿時刻を...

(()=>{'use strict';const twitter_epoch_time=1288834974657n,threshold_tweet_id=300000000000000n;le...
onk b2023-10-26

はてなブックマークのコメント一覧ページに遷移する

(()=>{location.href=`https://b.hatena.ne.jp/entry/${location.href.replace('#','%23')}`})();

my bookmarklet

document.querySelectorAll("video[disableremoteplayback]").forEach((function(e){e.removeAttribute(...
1 2 3 4 5 6 7 8 9 10