81972 Bookmarklets! Create

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

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(...

event catpture の活躍の場

['contextmenu','selectstart','copy','mousedown'].forEach((ev=>window.addEventListener(ev,(e=>e.st...

my bookmarklet

(function(){var title=encodeURIComponent(document.getElementsByClassName('showcase-item__title')[...
a666666 Feel the birds:2023-07-25

focus

var dot=document.createElementNS("http://www.w3.org/2000/svg","circle");dot.setAttribute("cx",5.5...
Lhankor_Mhy test bookmarklet2023-07-13

https://teratail.com/questions/ncsqe99mif6af6#reply-2mcicqlromm4lp

void document.addEventListener('click',(e=>alert(`${e.clientX},${e.clientY}`)),{once:true});
Lhankor_Mhy test bookmarklet2023-07-13

https://teratail.com/questions/ncsqe99mif6af6

void document.elementFromPoint(400,0).click();
furyu-tei OpenKCR2023-07-13

Kindleの個別商品ページからKindle Cloud Readerを開く

(()=>{const is_kindle_page=()=>{const kindle_mark=document.querySelector('#bylineInfo > span:nth-...

ページ内にある~.PDFというリンクすべてからPDFファイルを取得して、zipして一括ダウンロードします。

(async()=>{function _import(s){return new Promise((function(resolve){const script=document.create...

Mahjong AI Utilities の牌譜レビューで URL から https:// より前にある文字を削除

if(location.href.match(/^https:\/\/mjai.ekyu.moe/)){var el=document.querySelector("#log-url");el....

my bookmarklet

navigator.clipboard.readText().then((s=>{document.querySelector("#log-url").value=s.replace(/.*ht...

メタブタイトルが「...のコメント」となってしまうところを、元ページのタイトルに変更する。自分が公開...

void(async()=>{if(!document.querySelector('.entry-edit')){alert('公開ブクマされていないようなので...
bashikoban widget2023-05-15

my bookmarklet

javascript:(function(){open('https://mail.google.com/mail/#inbox','_blank','width=600,height=600,...

はてなブックマークページから自分のコメントとeidベースURLを持ってツイート投稿フォームに遷移するブ...

javascript:(()=>{document.location.href='https://twitter.com/share?text='+encodeURIComponent(docu...

pre要素とcode要素にtranslate="no"を付けて翻訳対象から外します

document.querySelectorAll('pre, code').forEach((el=>el.setAttribute('translate','no')));
furyu-tei MS日英切替2023-04-05

マイクロソフトのサポートページで日本語ページ⇔英語ページを切り替える

(()=>{let matches=location.href.match(/^https?:\/\/(docs|support|learn)\.microsoft\.com\/(.+?)-(....

ツイートボタンをコピーボタンにします。

((D=document,B=(t=>`[class^="_${t}Button_"]`),T=((n=D)=>n?.querySelector?.(B('share'))),O=(e=>new...

Twitterでシェアする際のツイート内容を自分用にカスタマイズ(※アソシエイトツールバー有効時のみ)

(()=>{const show_text_link=()=>{document.querySelector('#amzn-ss-text-link a').click()},get_short...
OkadaHiroshi SaveChatGPT2023-03-23

ChatGPTのチャットをテキストファイルに

(()=>{function getUserName(element){const imgElements=element.querySelectorAll("img[alt]");for(co...
<< 1 2 3 4 5 6 7 8 9 10