81716 Bookmarklets! Create

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

.packed.jsを匿名関数で囲ってdataURI化して遷移

var xhr=new XMLHttpRequest();xhr.open('GET',location.href+'.packed.js');xhr.onload=function(){loc...

(function(images){d=window.open().document;for(i=0;i<images.length;++i){x=is[i];if(x.height<100)c...

(function(images){d=window.open().document;for(i=0;i<images.length;++i){x=is[i];if(x.height<100)c...

(function(images){for(i=0;i<images.length;++i){img=images[i];if((link=img.parentElement)&&link.hr...

maximum-scaleを消したいだけ

document.querySelector("meta[name=viewport]").setAttribute('content','width=device-width');
pacochi atrix2017-01-31

思い付きでやったら思いの外肌色になって🖐こずりました。

(()=>{const fSize=12;const pSize=fSize-2;const oStep=20;const opacity=Array.from(Array(oStep),(x,...
noromanba r/matrix2017-01-30

Neo's-eyes simulator

(()=>{'use strict';const canvas=document.createElement('canvas');canvas.width=window.screen.width...
maRk joke bookmarklet2017-01-30

選択文字を仕事の流儀ぽく表示(音はでません)

(function(d,w){const box=d.createElement('div');box.id='echoText';box.style.position='absolute';b...
fjtjnj Linkisから脱出2017-01-29

Linkisを齧まされたページから本来のページに移動します。

(function(){var u=LinkData.longUrl;if(u.match(/^(https?:\/\/.+)$/)){location.href=u;}})();
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-28

prompt Scrapbox link syntax

(function(){'use strict';var title=document.title.trim();var text='['+title+' '+location.href+']'...
nyusupi no title2017-01-28

https:https:https:https:https:https:https:
nyusupi no title2017-01-28

https:https:https:https:https:https:https:
noromanba +/-editable2017-01-28

toggle contentEditable

document.documentElement.contentEditable=!document.documentElement.isContentEditable;
chanchihiro チカチカ2017-01-27

my bookmarklet

var divs=[];divs=document.getElementsByClassName('content');var body=document.getElementsByTagNam...

my bookmarklet

(function(){console.log("start");var all=document.createElement('div');all.innerHTML='<h2>油少な...
yuta25 matrix2017-01-27

my bookmarklet

(function(){let q=document.createElement('canvas');document.body.appendChild(q);let s=window.scre...

引用ツイートを最初の一つだけ表示してあとは葬ります。

(function(){const u={};Array.prototype.forEach.call(document.querySelectorAll('div.tweet_quote'),...

(function(){document.body.contentEditable=(document.body.contentEditable==='false')?'true':'false...

http://a-kuma3.hatenablog.com/entry/google_vs_cookpad

(function(){var n=0;Array.prototype.forEach.call(document.querySelectorAll('h3.r a[href*="//cookp...
<< 9 10 11 12 13 14 15 16 17 18