81971 Bookmarklets! Create

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

unarist Inject js/css2017-04-28

(function(){var url=prompt("Enter .js or .css URL:");document.head.appendChild(url.match(/\.js$/)...

サイト上のテキスト書式をリセットします。

(function(){var meta=document.createElement('meta');meta.setAttribute('name','viewport');meta.set...

Redmineのチケットの一覧から任意のチケットを選択します。

(function($){var $checks=$('.list.issues td input[type="checkbox"]').prop('checked',false);var in...
fmn10 SearchLyrics2017-04-20

歌詞検索

javascript:(function(t){t=''+getSelection();t=t||prompt('SearchLyrics');t&&open('https://www.goog...
noromanba T/U area2017-04-18

show textarea for copy title/url

(()=>{"use strict";const append_element=(paren,tag,attr)=>paren.appendChild(Object.assign(documen...

マストドンがカスガドンになります。

((d=document,b=d.body,r,x,i,n)=>{(r=t=>{x=d.evaluate('.//text()',t.target,null,6,x);for(i=0;i<x.s...
tdnogm no title2017-04-17

javascript:(function(){Game.LoadMod('http://aktanusa.github.io/CookieMonster/CookieMonster.js')})();

割といける。

((r=window.getSelection(),s=String(r),p=r.anchorNode,e='',a,t)=>{if(p.nodeType==3)p=p.parentNode;...

全Textノードを舐めてそれらしい文字列をデコードしてみるという大胆さ

(()=>{const iter=document.createNodeIterator(document.body,NodeFilter.SHOW_TEXT);while((node=iter...
mojimojikun Only on Amazon2017-04-14

Amazonの商品検索をAmazonのみにします

(function(){location.href+="&emi=AN1VRQENFRJN5"})();

選択部分を Base64 のエンコード済み文字列とみなしてデコードします。時々化けます。

((r=window.getSelection(),s=String(r),p=r.anchorNode,e='',a,t)=>{if(p.nodeType==3)p=p.parentNode;...

URL の一部を書き換えてからジャンプします (sample)

(url=>{const d_=document;const variable="@@@";const width=60;const c_style_={backgroundColor:"gre...

アイコンが大きくなります。

[...document.querySelectorAll('img.profile-image')].forEach((n=>{n.style.cssText='width: 64px; he...
shiiiiir Google翻訳2017-04-11

範囲選択した箇所をGoogle翻訳ページで表示。範囲選択してなければ現在のURLをページごと翻訳、もしくは...

(function(s){var url;if(s.length>0){url='//translate.google.com/#auto/ja/'+encodeURIComponent(s)}...
noromanba Base64=2017-04-11

stupid decoder of various encoded Base64

(()=>{'use strict';const wall=document.head||document.body||document.documentElement;wall.appendC...

いろはす討滅戦 キャンペーンコード入力支援ブックマークレット

(function(){var div_element=document.createElement("div");div_element.style="margin-left: 10px;";...
noromanba isNotoSerif!2017-04-07

[DONE] fix "NotoSerif Subset OTF" wrong links

(()=>{'use strict'})();

TL;DR: ` のすぐ内側に " or ' を入れる。内部でそれらを使う時はエスケープ。

{let LET_ID="foo";alert(`'<div class="${LET_ID}" onclick="alert('test')">\n  </div>'`.slice(1,-1))}

起動すると現在のURLがデフォルトで入力状態のプロンプトが起動してOKでQRコード表示、URLを指定してQR...

(function(){var im,u;if(u=prompt('please input url!',location.href)){im=document.createElement('i...

これ自体は何もしないよ。

<< 19 20 21 22 23 24 25 26 27 28