-
-
Save anonymous/9a89753c9383f5d3eccac00f709544cf 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
if (window.location.host.indexOf('item.taobao') >= 0) { | |
$('.J_LinkBuy').click(function() { | |
chrome.runtime.sendMessage({ | |
type: "pajax", | |
postdata: { | |
url: window.location.href, | |
type: "1" | |
}, | |
url: "http://jx.ufanw.com/AbcStatistics.ashx" | |
}) | |
}); | |
$('.J_LinkAdd').click(function() { | |
chrome.runtime.sendMessage({ | |
type: "pajax", | |
postdata: { | |
url: window.location.href, | |
type: "2" | |
}, | |
url: "http://jx.ufanw.com/AbcStatistics.ashx" | |
}) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment