Skip to content

Instantly share code, notes, and snippets.

@nawada
Created April 2, 2020 03:50
Show Gist options
  • Save nawada/cc69527f0a4af5c51d063a91fb04bc41 to your computer and use it in GitHub Desktop.
Save nawada/cc69527f0a4af5c51d063a91fb04bc41 to your computer and use it in GitHub Desktop.
はてなブックマークのコメントページを表示するブックマークレットです。
javascript:var _s=location.protocol==='https:'?'s/':'';var _url=`https://b.hatena.ne.jp/entry/${_s}${location.host}${location.pathname}`;var _a=document.createElement('a');_a.href=_url;_a.target='_blank';_a.rel='nofollow';_a.click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment