81726 Bookmarklets! Create

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

unarist T/U box5 hours ago

w/ "{title} {url}" format. easy copyable title/url box; click to copy, double-click outer to close

(()=>{'use strict';const tag=(name,props={},children=[])=>{const e=Object.assign(document.createE...
noromanba selector?15 hours ago

tiny inspector

(()=>{'use strict';const log=console.log;document.body.addEventListener('click',evt=>{log(documen...
noromanba initial F16 hours ago

reset pointed element font size

(()=>{'use strict';const body=document.body;body.style.cursor='zoom-in';const hist=new Map();cons...
noromanba initial B16 hours ago

reset font size/family

(()=>{'use strict';const wall=document.head||document.body;wall.append(Object.assign(document.cre...
noromanba Nakashoku1 days ago

de-color to scanned printable recycled colored paper

(()=>{const style=document.body.style;style.filter?style.filter='':style.filter=['grayscale(1)','...
noromanba [<>]+07/14

strictly Chrome/ium well-fullscreen on LXDE or Other DE on Ubuntu

(()=>{'use strict';class NotImplementedError extends ReferenceError{}const fullscreen='fullscreen...
noromanba spoart07/14

open artwork on spotify.com

(()=>{'use strict';const coverart=document.body.querySelector('.cover-art-image');const link=(cov...
noromanba +#link07/13

append Fragment Identifier links

(()=>{'use strict';{const wall=document.head||document.body||document.documentElement;wall.append...
noromanba [<>]07/13

Chrome/ium well-fullscreen on LXDE or Other DE on Ubuntu

document.documentElement.webkitRequestFullScreen();

https://help.github.com/articles/getting-permanent-links-to-files/ githubサイト内で「y」を押すこ...

if(location.host==="github.com"){var pathname=document.querySelector('a[data-hotkey="y"]').getAtt...

Google検索結果から検索文字列以外の不要なクエリパラメータを削除

if(location.host.includes("www.google")){var tmp=location.href.split("?");var fore=tmp[0];var que...

DQX 思い出アルバム保存補助ブックマークレット Ver.1.0 for Firefox+dTa

var myName=$('#myCharacterName').text();$('.contentsTable1TD1').each(function(){var img=$(this).f...

Hootlet without URL shortener

var url='https://hootsuite.com/hootlet/load';(function(){if(!window.open(url,'t','scrollbars=0,to...

Hootlet without URL shortener

var url='https://hootsuite.com/hootlet/load?title='+encodeURIComponent(document.title+" "+documen...
nanikamado darkmode06/19

サイトの背景色を黒にし、文字色を明るくします。詳しい説明はソースコード内の先頭のコメントを見てく...

(()=>{'use strict';let bgcolor='rgb(22,22,22)';let time={all:Date.now()};const computedStyleMap=n...
noromanba Amaznorm06/15

normalize redundant url/canonical on www.amazon.tld

(()=>{'use strict';if(!/(?:www\.)*amazon\.[a-z]{2,3}(?:\.[a-z]{2})*$/.test(location.hostname)||![...

my bookmarklet

console.log('hello, world');

アマゾンのURLで商品名や参照元URLなど無用に長いURLを必要最低限まで短くしています。ただ、twitter用...

if(location.href.match(/(https:\/\/www\.amazon\.(com|co\.jp|de|fr|co\.uk|cn))/)){var e=document.g...
noromanba I[★]06/14

greedy quote Hatena Star

(()=>{'use strict';const add_style=(()=>{const wall=document.head||document.body||document.docume...

引用になってなくても引用スターできるようにします

(()=>{function change_button_color(img){let canvas;document.querySelectorAll('img.hatena-star-add...
1 2 3 4 5 6 7 8 9 10