noromanba (233)

noromanba iframe2link2016-02-28

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

emoji makes number two

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

hidden emoi emoji

(()=>{const clean=(ctx)=>Array.from(ctx.querySelectorAll('.emoji'),img=>{img.parentNode.removeChi...
noromanba search by img2016-02-25

search similar images by image

(()=>{const attach=(ctx)=>{Array.from(ctx.querySelectorAll('img'),img=>{img.style.cursor='help';i...
noromanba t.um block2016-02-11

detox t.umblr.com link on tumblr.com

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

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...
noromanba copylet2016-01-24

show minified code on Hatena::Let; for copy of mobile

(()=>{if(!/let\.(?:st\-)?hatelabo\.(?:jp|com)$/.test(location.hostname)||location.pathname.split(...
noromanba 2copylet2016-01-24

show minified code on Hatena::Let when 2-exec; for copy of mobile

(()=>{if(location.hostname==='let.hatelabo.jp'){location.hostname='let.st-hatelabo.com';return;}i...
noromanba Amaznorm2016-01-23

normalize redundant url/canonical on www.amazon.tld

(function(){var path=location.pathname;if(!/(?:www\.)*amazon\.[\a-z]{2,3}(?:\.[\a-z]{2})*$/.test(...
noromanba path--2016-01-21

declement last path number stupidly, tiny RW

(()=>{const paths=location.pathname.match(/\D*(\d+)\D*/g);paths.push(paths.pop().replace(/\d+/,(d...
noromanba path++2016-01-21

inclement last path number stupidly, tiny FF

(()=>{const paths=location.pathname.match(/\D*(\d+)\D*/g);paths.push(paths.pop().replace(/\d+/,(d...
noromanba Twimedi2016-01-21

open current tweet medias in new tab/window

(()=>{if(!/twitter\.com/.test(location.hostname)||location.pathname.split('/').slice(1)<3){return...
noromanba ->*img-link2016-01-21

simple image viewer; open all image-link in new tab/window

(function(){var container=document.createDocumentFragment().appendChild(document.createElement('d...
noromanba ->*img2016-01-21

simple image viewer; open all images in new tab/window

(function(){var container=document.createDocumentFragment().appendChild(document.createElement('d...
noromanba Twimgs@2016-01-17

view twitter.com-@user all images w/ timg.azurewebsites.net in newtab/window

(()=>{const canon=(()=>{return(document.head.querySelector('meta[property="og:url"][content]')||{...
noromanba restore my rights2016-01-15

(x_x)

(()=>{const clearEvents=(node)=>{node.getAttribute&&node.getAttribute('unselectable')&&node.setAt...

Hatena::Let Fortune cookie

(function(){if(location.hostname!=='let.hatelabo.jp'){location.href='http://let.hatelabo.jp';retu...
noromanba -><-2016-01-10

centering

(function(){document.body.style.textAlign='center';document.body.style.marginLeft='initial';docum...
noromanba 2016-01-10

centering

(function centering(){var addStyle=(function createContainer(){var parent=document.head||document...
<< 1 2 3 4 5 6 7 8 9 10