81773 Bookmarklets! Create

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

jigendaddy no title08/22

document.body.innerHTML=document.body.innerHTML.replace(/<span class="name"><\/span\>/,'<span cla...
noromanba props?08/10

list global props of content-scripts

{const sandbox=document.body.appendChild(document.createElement('iframe')).contentWindow
console....
unarist T/U box08/09

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...
lololo345 no title08/05

javascript:(function(){document.querySelectorAll('#main a').forEach(function(element,index){conso...
noromanba ENforce08/01

enforce English page w/o login/sign-in

(()=>{'use strict';const url=new URL(location.href);const langQuery=new Set(['hl','lang',]);[...l...
noromanba chosEN08/01

choice English page w/o login/sign-in

(()=>{'use strict';const url=new URL(location.href);const langQuery=new Set(['hl','lang',]);[...u...

get Signed INT32 max value 2147483647 w/ DOM API

(()=>{'use strict';const wall=document.head||document.body||document.documentElement;const sandbo...
nippa218 test07/26

my bookmarklet

nz='';$('.task__name-inner').each(function(){nz+=$(this).text()+'\n';});$('#logo').append('<texta...
noromanba H::H -spam07/24

Hatena Haiku spam filter

(async()=>{'use strict';if(window.self!==window.top)return;const controller=new AbortController()...

extremely smooth scrolling by Vanilla JS/CSS

(()=>{'use strict';const y=Math.max(...[window.pageYOffset,window.scrollY,document.documentElemen...
noromanba grosscroll07/24

smooth scrolling by Vanilla; for jQuery.animate() lover

(()=>{'use strict';const y=Math.max(...[window.pageYOffset,window.scrollY,document.documentElemen...

get Hatena Haiku spam keywords abstract

(async()=>{'use strict';const KEYWORD_FILTER='https://haikuantispam.lightni.ng/api/recent_keyword...
noromanba why GV?07/20

what is the origin of GigaViewer

new WeakSet(...[...document.body.querySelectorAll('img.page-image')].map(img=>[...img.attributes]...
noromanba selector?07/18

tiny inspector

(()=>{'use strict';const log=console.log;document.body.addEventListener('click',evt=>{log(documen...
noromanba initial F07/18

reset pointed element font size

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

reset font size/family

(()=>{'use strict';const wall=document.head||document.body;wall.append(Object.assign(document.cre...
noromanba Nakashoku07/18

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...
<< 1 2 3 4 5 6 7 8 9 10