Created
December 3, 2009 17:05
-
-
Save mollifier/248334 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Jetpack feature : disable-hatena-keyword-pageMods.js | |
// はてなダイアリー (http://d.hatena.ne.jp/) のキーワードを無効化する | |
// pageMods を使用するバージョン | |
jetpack.future.import("pageMods"); | |
var callback = function(targetDocument) { | |
$(targetDocument).find("a.keyword").each(function() { | |
$(this).replaceWith($(this).html()); | |
}); | |
}; | |
var options = {}; | |
options.matches = ["http://d.hatena.ne.jp/*"]; | |
jetpack.pageMods.add(callback, options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment