noromanba (278)

noromanba &decode2017-02-17

stupid decoder of numeric-character/character-entity reference

(()=>{'use strict';const letter=String(window.getSelection());if(!letter)return;const decoded=Obj...
noromanba ++img-src2017-02-15

bulk replace linked images to link-to images

(function(){'use strict';Array.prototype.slice.call(document.body.querySelectorAll(['a[href] > im...
noromanba mobilet2017-02-15

easy copyable Hatena::Let for mobile

(function(){'use strict';var xhr=new XMLHttpRequest;xhr.open('GET',location.href+'.packed.js');xh...
noromanba r/matrix2017-01-31

Neo's-eyes simulator

(()=>{'use strict';const canvas=document.createElement('canvas');canvas.width=window.screen.width...
noromanba chika chika cc2017-01-29

C4 blink

(function(){'use strict';var slice=Array.prototype.slice;var divs=slice.call(document.body.queryS...
noromanba Scrapbox link2017-01-29

prompt Scrapbox link syntax

(function(){'use strict';var title=document.title.trim();var text='['+title+' '+location.href+']'...
noromanba +/-editable2017-01-29

toggle contentEditable

document.documentElement.contentEditable=!document.documentElement.isContentEditable;
noromanba nextH2017-01-08

scroll into next headings (h1-6)

Array.from(document.body.querySelectorAll([Array.from(Array(6).keys(),n=>'h'+(n+1))])).some(headi...
noromanba +/-passwd2017-01-08

toggle password visibility

(function(){'use strict';Array.prototype.forEach.call(document.body.querySelectorAll(['input[type...
noromanba +passwd2017-01-06

view password

Array.from(document.body.querySelectorAll(['input[type="password"]']),pass=>pass.type='text');
noromanba ↓Headings2017-01-06

scroll into next headings (h1-6)

(function(){'use strict';var currentPosition=function(){return document.documentElement.scrollTop...

hidden spam on Hatena::Let w/ Pager Extension (as UserScript)

'http://www.hatena.ne.jp/faq/q/let';(()=>{const invalidURL=/(?:^|[^"'\s\/^.\\dwstrnvfb0\[\]^|$()?...
noromanba feedback2016-03-05

goto Hatena::Let feedback-form

'http://www.hatena.ne.jp/faq/q/let';(function(){var support='http://www.hatena.ne.jp/faq/q/let';l...
noromanba YSSS↺2016-03-03

auto-reload Yahoo social stream search

(()=>{const state=document.body.querySelector('#msg_TSk_1[style]');if(!state)return;const reload=...
noromanba iframe2link2016-02-29

replace iframe to anchor link

(()=>{const whitelist=['[src^="javascript:"]','[src*="//www.facebook.com/plugins/"]','[class|="tw...
noromanba Coursera ERT2016-02-28

show Estimated Reading Time on Coursera

alert('total '+(Array.from(document.querySelectorAll('.text-hint'),node=>{return+(node.textConten...
noromanba 💩2016-02-26

emoji makes number two

(()=>{const poopee=ctx=>Array.from(ctx.querySelectorAll('img[src].emoji'),node=>{node.title=node....
noromanba -emoji2016-02-26

hidden emoi emoji

(()=>{const clean=ctx=>Array.from(ctx.querySelectorAll('.emoji'),img=>{img.parentNode.removeChild...
noromanba t.um block2016-02-12

detox t.umblr.com link on tumblr.com

(()=>{'use strict';const detox=ctx=>{if(!ctx.querySelectorAll)return;Array.from(ctx.querySelector...

hidden spam topics on Hatena Space via http://a-kuma3.hatenablog.com/entry/hatena_space_backup

(()=>{const spamTitle=/^(?:https?:\/\/\S+|[A-z0-9 =+<>*$'.!"\[\]():\^&#\-'{}_~\/|]+$)/;Array.from...
<< 1 2 3 4 5 6 7 8 9 10