差し替える。
WordPress 用 のプラグインで現在は Github 上でも公開されている
utahta/WP-Social-Bookmarking-Light · GitHub
を直接さわった。
WordPress 用 のプラグインで現在は Github 上でも公開されている
utahta/WP-Social-Bookmarking-Light · GitHub
を直接さわった。
--- bookmark_button.js 2012-03-08 15:57:54.000000000 +0900+++ bookmark_button_wo_al.js 2012-03-08 15:57:54.000000000 +0900@@ -742,17 +742,6 @@ } }); --(function () {- var domains = 'www.toyokeizai.net member.toyokeizai.net excite.co.jp exblog.jp mainichi.jp jp.msn.com *.jp.msn.com itmedia.co.jp bizmakoto.jp atmarkit.co.jp eetimes.jp ednjapan.cancom-j.com ednjapan.com barks.jp www.asahi.com *.asahi.com jp.techcrunch.com japanese.engadget.com jp.autoblog.com celebrity.aol.jp www.nikkei.com *.nikkeibp.co.jp japan.cnet.com japan.zdnet.com builder.japan.zdnet.com japan.gamespot.com www.re-source.jp www.yomiuri.co.jp groupon.jp';- var pattern = '^(?:' + domains.replace(/\./g, '\\.').replace(/\*\\\./g, '(?:[^.]+\\.)+').replace(/\s+/g, '|') + ')$';- if (isLocal || !/^https?:$/.test(location.protocol) || new RegExp(pattern).test(location.hostname)) return;- window.mad_partner_id = '6';- var script = E('script', { type: 'text/javascript', src: '//send.microad.jp/js/conv0000.js' });- var anchor = document.getElementsByTagName('script')[0] || document.getElementsByTagName('head')[0].firstChild;- anchor.parentNode.insertBefore(script, anchor);-})();- })(Hatena); Hatena.Bookmark.BookmarkButton.setup();Originhttps://github.com/utahta/WP-Social-Bookmarking-Light/blob/master/modules/services.php
--- services.php_org 2011-11-30 02:49:15.000000000 +0900+++ services.php 2012-03-10 15:07:22.000000000 +0900@@ -89,7 +89,7 @@ .' title="'.$alt.'">' .' <img src="http://b.st-hatena.com/images/entry-button/button-only.gif"' .' alt="'.$alt.'" width="20" height="20" style="border: none;" /></a>'- .'<script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>');+ .'<script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button_wo_al.js" charset="utf-8" async="async"></script>'); } /**