Created
March 10, 2012 06:34
-
-
Save ngsw/2010601 to your computer and use it in GitHub Desktop.
diff -uw bookmark_button.js bookmark_button_wo_al.js
This file contains hidden or 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
| --- 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(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment