81982 Bookmarklets! Create

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

PCからも「視聴しました!」ツイートができたらいいなと思い作成しました.

javascript:(function(){var pauseInfo=document.getElementById("pauseInfo");var pauseInfoTxt1_eleme...

my bookmarklet

const baseUrl="https://amazon.co.jp/product-reviews/"+location.href.match(/\/([A-Z0-9]{10,})(\/|\...
acomagu PDF Dark Mode2022-09-24

FirefoxのPDF Viewerで白黒反転します

(()=>{viewer.style='filter: grayscale(1) invert(1) sepia(1)'})();

なんか、パーセントエンコーディングがアレ←プロトコルでリダイレクトされてた

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

scrapboxで特定行にスクロールする

(()=>{document.getElementById("L"+location.hash.substr(1)).scrollIntoView()})();

imgタグのalt属性が未指定の要素を赤くハイライトします。指定されていたら緑色でハイライトします。一...

(()=>{const highlight=element=>{element.querySelectorAll("img").forEach((img=>{img.style.outline=...
yuta25 sbquote2022-08-17

Scrapboxに貼りやすいように選択中のテキストをクリップボードにコピー

async function sbquote(){const quote=window.getSelection().toString();const url=window.location.h...

U-フレット の機能Box をPC画面で横並びにしないためのもの

(()=>{const funcbox=document.querySelector("div.settings");funcbox.classList.remove('settings')})();

imgまたはimg[data-src]の入った要素で、横400px高さ700pxを超える画像を見開きで読むためのブックマー...

var dataSrc=[];var count=0,_width=400,_height=700;(function(){'use strict';document.querySelector...
xtetsuji Copy htmllink2022-06-27

現在見ている URL を HTML形式でクリップボードにコピーします

(function(w,d,l){var b=d.createElement("input"),bs=b.style;b.size=120;bs.zIndex=99999;bs.left=bs....
xtetsuji Copy githublink2022-06-27

現在見ている GitHub Issue/PR URL を OWNER/REPO#ID フォーマットでコピーします

(function(w,d,l){var b=d.createElement("input"),bs=b.style;b.size=120;bs.zIndex=99999;bs.left=bs....

予測線と終了日をプロットします。完了ポイントは線形に伸び、総ポイントは変化しない想定。

(()=>{function intersect(x1,y1,x2,y2,x3,y3,x4,y4){if(x1===x2&&y1===y2||x3===x4&&y3===y4){return f...

Archive a URL converted from mobile.twitter by archive.today .

javascript:void open('http://archive.is/?run=1&url='+encodeURIComponent(document.location.href.re...

はてな匿名ダイアリーのトラックバック(「記事への反応」)を全部開きます

javascript:var tgl=document.querySelectorAll("[href='#']");for(var i=1;i<tgl.length;i++){tgl[i].c...

/shorts/~ を /watch?v=~ にする

(function(){if(/^https:\/\/(www|m)\.youtube\.com\/shorts\//.test(location.href)){location.href=lo...

my bookmarklet

javascript:(function(){var d=document,c=d.cookie.split(';'),l=location,p=l.pathname+l.search,i,j;...
nkoz Amazon2NDL(asin)2022-05-07

便利

const asin=document.querySelectorAll(`input[name^="ASIN"]`)[0].value;window.open("https://iss.ndl...

https://blog.sushi.money/entry/2022/04/02/221344

document.body.innerHTML=document.body.innerHTML.replace(/ゾンビ/gi,'トンビ');

開いているURLでTwitter検索をアプリで開く(スマートフォン向け)

(function(){location.href='twitter://search?query='+encodeURIComponent(location.href)})();
<< 1 2 3 4 5 6 7 8 9 10