Skip to content

Instantly share code, notes, and snippets.

@moyashi
Created January 26, 2019 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moyashi/1ed217fc396a171a467be42dd860dd90 to your computer and use it in GitHub Desktop.
Save moyashi/1ed217fc396a171a467be42dd860dd90 to your computer and use it in GitHub Desktop.
javascript:(function()%20%7B%20%20%20%20%20var%20h%20=%20String(location.hostname);%20%20%20%20%20if%20(h)%20%7B%20%09if%20(h.match(/blog.livedoor.jp/))%20%7B%20%09%20%20%20%20window.open(%22http://hemine.co/counters/livedoor?url=%22%20+%20%09%09encodeURIComponent(String(location.href)));%20%09%7D%20else%20%7B%20%09%20%20%20%20window.open(%22http://www.similarweb.com/website/%22%20+%20encodeURIComponent(h)%20+%20%09%09%22?utm_source=widget.similarweb.com&utm_medium=TrafficWidget&utm_campaign=mb_TrafficWidget_widget.similarweb.com%23overview%22);%20%09%7D%20%20%20%20%20%7D%20%7D)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment