81972 Bookmarklets! Create

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

ページ途中へのフラグメント付きURL(#xxx)が欲しい時に

{const pipe=x=>f=>f?pipe(f(x)):x;const $attr=attr=>val=>e=>{if(val==null)return e.getAttribute(at...

make eid notation

(d=>{if(!d.documentElement.hasAttribute('data-entry-eid'))return;const Header=d.getElementById('i...

今後は https://greasyfork.org/ja/scripts/411491-yn-searchorigin 参照(Yahoo!ニュースでは元記事へ...

(()=>{'use strict';const yahoo_news_hostname=new URL(location.href).hostname,cwin=window.open('ab...

Twitterで引用ツイートを嫌がる方のツイートを引用したい場合に使ってみる?

(()=>{const width=1024,height=768;let matches=new URL(location.href).pathname.match(/^\/([^/]+)\/...

閲覧中のページを Full HD (1920x1080) の新しいウィンドウで開きます。

window.open(location.href,"1920x1080","width=1920,height=1080");

新しいタブで開くと迷子になるので。

location.href=new URL(location.href).searchParams.get('u');
jigendaddy nishino_gamp2020-07-24

try to take over the world!

var result2=document.evaluate('//div[@class="entry-text"]//td/ancestor::*[./ancestor::div[@class=...

忘れるのでメモ。

void(s=>prompt('',/\D/.test(s)?String(BigInt(new Date(s.replace(/[年月]/g,'/').replace(/[時分]/g,...

[URL:title=タイトル]という形式でページのタイトルとURLをpromptします

(function(){const content=`[${location.href}:title=${document.title}]`;prompt('',content)})();

[タイトル](URL)という形式でページのタイトルとURLをalertします

(function(){const content="["+document.title+"]("+location.href+")";alert(content)})();

深呼吸を促す

(function(){var wrap=document.createElement('div');wrap.style.backgroundColor='rgba(255,250,255, ...

ツイートのURLを開いた状態で使うと投稿時刻をミリ秒まで表示する

((d,p)=>alert(`${d.getFullYear()}/${p(d.getMonth()+1)}/${p(d.getDate())} ${p(d.getHours())}:${p(d...
fuysr4 ねぎ姉さん2020-06-16

http://negineesan.com/ で実行するとギャラリーになる

(()=>{const root=document.createElement("div");root.style.position="fixed";root.style.left="50%";...

https://ja.wikipedia.org/?curid= に移動します。

(async()=>{location.href='/'+`?curid=${(new DOMParser).parseFromString(await(await fetch(location...
mizdra nowbrowsing2020-06-04

NowBrowsing

window.open('https://twitter.com/intent/tweet?text='+encodeURIComponent(`NowBrowsing: ${document....

できるといいなくらいで。

void(s=>prompt('',/\D/.test(s)?Math.trunc(new Date(s).getTime()/1e3):new Date(s*1e3).toLocaleStri...
jigendaddy nishino_ele_32020-05-30

try to take over the world!

$('.skin-entryBody>iframe').wrap("<div></div>");$('.skin-entryBody *:has(*:not(img):not(iframe))'...
jigendaddy nishino_img2020-05-17

try to take over the world!

$('.skin-entryBody a:has(img)').addClass("a_pic");$('.skin-entryBody img').addClass("img_pic");va...

料金案内 > 通信量照会

(()=>{if(!document.URL===/^https:\/\/my.uqwimax.jp\/member/)return;const PKT_ELM=document.querySe...

Get Hatena.Bookmark.entry.eid の ./entry/EID URLを作る

(d=>{if(!d.documentElement.hasAttribute('data-entry-eid'))return;const HBEntry='https://b.hatena....
<< 3 4 5 6 7 8 9 10 11 12