81838 Bookmarklets! Create

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

jigendaddy no title2018-08-22

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

list global props of content-scripts

{const sandbox=document.body.appendChild(document.createElement('iframe')).contentWindow
console....
lololo345 no title2018-08-05

javascript:(function(){document.querySelectorAll('#main a').forEach(function(element,index){conso...
noromanba ENforce2018-08-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 chosEN2018-08-01

choice English page w/o login/sign-in

(()=>{'use strict';const url=new URL(location.href);const langQuery=new Set(['hl','lang',]);[...u...
noromanba rounDOM INT32 MAX2018-08-01

get Signed INT32 max value 2147483647 w/ DOM API

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

my bookmarklet

nz='';$('.task__name-inner').each(function(){nz+=$(this).text()+'\n';});$('#logo').append('<texta...
noromanba H::H -spam2018-07-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 grosscroll2018-07-24

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

(()=>{'use strict';const y=Math.max(...[window.pageYOffset,window.scrollY,document.documentElemen...
noromanba H::H spam keywords2018-07-24

get Hatena Haiku spam keywords abstract

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

what is the origin of GigaViewer

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

tiny inspector

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

reset pointed element font size

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

reset font size/family

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

de-color to scanned printable recycled colored paper

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

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

(()=>{'use strict';class NotImplementedError extends ReferenceError{}const fullscreen='fullscreen...
noromanba spoart2018-07-14

open artwork on spotify.com

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

append Fragment Identifier links

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

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

document.documentElement.webkitRequestFullScreen();
<< 3 4 5 6 7 8 9 10 11 12