81998 Bookmarklets! Create

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

noromanba props?2018-08-11

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){cons...
noromanba ENforce2018-08-02

enforce English page w/o login/sign-in

(()=>{'use strict';const url=new URL(location.href);const langQuery=new Set(['hl','lang']);[...la...
noromanba chosEN2018-08-02

choice English page w/o login/sign-in

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

get Signed INT32 max value 2147483647 w/ DOM API

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

my bookmarklet

nz='';$('.task__name-inner').each((function(){nz+=$(this).text()+'\n'}));$('#logo').append('<text...

extremely smooth scrolling by Vanilla JS/CSS

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

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-19

tiny inspector

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

reset pointed element font size

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

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-14

append Fragment Identifier links

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

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...
<< 12 13 14 15 16 17 18 19 20 21