Skip to content

Instantly share code, notes, and snippets.

/aiqiyi.js Secret

Created February 24, 2017 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/9a89753c9383f5d3eccac00f709544cf to your computer and use it in GitHub Desktop.
Save anonymous/9a89753c9383f5d3eccac00f709544cf to your computer and use it in GitHub Desktop.
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