Skip to content

Instantly share code, notes, and snippets.

@sorah
Last active December 19, 2015 01:09
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sorah/5874058 to your computer and use it in GitHub Desktop.
Save sorah/5874058 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name hateb_avoid_cussion
// @namespace http://sorah.jp/
// @description avoid cussion
// @include http://b.hatena.ne.jp/entry/*
// ==/UserScript==
var i = null
i = setInterval(function() {
if(document.getElementById("highlighted-bookmark")) {
clearInterval(i);
location.href = document.getElementById("head-entry-link").href;
}
}, 500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment