81973 Bookmarklets! Create

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

引用スターの数値文字参照をデコードします。

[...document.querySelectorAll('blockquote')].forEach((b=>b.textContent=b.textContent.replace(/&#(...
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...

スターがハートになります。

(()=>{if(typeof Hatena=='undefined'||!Hatena.Star)return;const v=['','-green','-red','-blue','-pu...
pacochi メタスター2017-02-16

スターに引用スターを付けたり付けられなかったりします。

(()=>{const d_=document;const c=Hatena.Star.EntryLoader;const entries=c.entries;const jsonurl='//...

remove title attribute of hatena-news at www.hatena.ne.jp

(()=>{const MAX_TITLE_LENGTH=20;Array.prototype.forEach.call(document.querySelectorAll("#s-hatena...
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...

読み込まれているスクリプトとスタイルシートの URL がコンソールに出ます。

[...document.querySelectorAll('link[rel="stylesheet"],script[src]')].forEach((e=>console.log(e.sr...

AtCoderやyukicoderなどの競技プログラミングのサイトにおける提出結果のページで、そのIDが素数ならば...

var subPath=window.location.pathname.split("/");var subID=parseInt(subPath[subPath.length-1]);if(...

(function(){'use strict';const tweet_box=document.querySelector('.tweet_box');const clearDecorati...

s/どれみ/cde/g

(()=>{if(location.href.indexOf('http://karaoke-labo.gungun.net/hamorifu/')!==0)return;const _S=v=...

Google だと引っかからないページが割とあるみたいです。

(()=>{const i=document.body.appendChild(document.createElement('iframe'));document.getElementById...

jQuery 使いたいけど @require じゃ https の壁を越えられないって時に Fork するものです。

(_=>{with(document)with(body.appendChild(createElement('script'))){onload=x=>_($.noConflict(1));s...

ID コールされた人のコメントをコールの近くにくっつけます。メタブの場合は一段下も見ます。

(()=>{const c={};const h='http://';const b=h+'b.hatena.ne.jp/entry/';const q=document.querySelect...

http://goqr.me/api/ を使って現在開いているページのQRコードを表示。

(function(){var t=encodeURIComponent(location.href);var w=window.open('about:blank','_blank','wid...

http://d.hatena.ne.jp/barcode を使って現在開いているページのQRコードを表示。

(function(){var t=encodeURIComponent(location.href);var w=window.open('about:blank','_blank','wid...

Google Chart API を使って現在開いているページのQRコードを表示。

(function(){var t=encodeURIComponent(location.href);var w=window.open('about:blank','_blank','wid...

(function(){function handler(e){e.target.parentNode.removeChild(e.target);document.removeEventLis...

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

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

(function(images){d=window.open().document;for(i=0;i<images.length;++i){x=is[i];if(x.height<100)c...
<< 22 23 24 25 26 27 28 29 30 31