81992 Bookmarklets! Create
Hatena::Let でブックマークレットをかんたんに作成・公開しよう!
自分がインスタンスに登録した日時を表示します。
(j=>alert(new Date(j.accounts[j.meta.me].created_at).toLocaleString()))(JSON.parse(document.query...
CWを自動で開きます。まる。
((target,proc)=>(new MutationObserver((m=>m.forEach((r=>proc(r.addedNodes))))).observe(target,{ch...
カスタム絵文字の後ろについているスペースをゼロ幅スペースに変換します。
((t=document.querySelector('.compose-form textarea'),b=(s=>s.replace(/[^\r\n]/g,'')))=>{if(t){Obj...
try to take over the world!
var piyo=document.evaluate('//div[@class="comment_p piyobox"]',document,null,7,null);var dummy=do...
Add ICON to Hatena Star like Hatena Blog Star
(function(){var D_=document;var RE_USER=/^(\S+)( \(\w+\))?$/;var RE_FACEBOOK_ID=/@facebook$/;var ...
Add ICON to Hatena Star like Hatena Blog Star
(function(){var D_=document;var RE_USER=/^(\S+)( \(\w+\))?$/;var RE_FACEBOOK_ID=/@facebook$/;var ...
var r_n=document.evaluate('//a[@class="resnumhead"][./following-sibling::span[@class="trip"]]',do...
紀伊国屋Bookweb個別ページから
const isbn=document.querySelector('*[content^=isbn]').textContent.split(':')[1];const title=docu...
mobile optimization
(()=>{'use strict';const url=location.href;const proxy='https://googleweblight.com/?lite_url=';lo...
翻訳してしまっている場合でも原文からコピーしてきて修復
(()=>{const execAll=function*(re,str,m=null){while((m=re.exec(str))!==null)yield m};const src_str...
document.body.innerHTML=document.body.innerHTML.replace(/<span class="name"><\/span\>/,'<span cla...
list global props of content-scripts
{const sandbox=document.body.appendChild(document.createElement('iframe')).contentWindow;console....
javascript:(function(){document.querySelectorAll('#main a').forEach((function(element,index){cons...
enforce English page w/o login/sign-in
(()=>{'use strict';const url=new URL(location.href);const langQuery=new Set(['hl','lang']);[...la...
choice English page w/o login/sign-in
(()=>{'use strict';const url=new URL(location.href);const langQuery=new Set(['hl','lang']);[...ur...
get Signed INT32 max value 2147483647 w/ DOM API
(()=>{'use strict';const wall=document.head||document.body||document.documentElement;const sandbo...
my bookmarklet
nz='';$('.task__name-inner').each((function(){nz+=$(this).text()+'\n'}));$('#logo').append('<text...
extremely smooth scrolling by Vanilla JS/CSS
(()=>{'use strict';const y=Math.max(...[window.pageYOffset,window.scrollY,document.documentElemen...
smooth scrolling by Vanilla; for jQuery.animate() lover
(()=>{'use strict';const y=Math.max(...[window.pageYOffset,window.scrollY,document.documentElemen...
get Hatena Haiku spam keywords abstract
(async()=>{'use strict';const KEYWORD_FILTER='https://haikuantispam.lightni.ng/api/recent_keyword...