function getURL(s) {
var image = new Image()
image.style.width = 0
image.style.height = 0
}
getURL("http://域名/u.php?url="+encodeURIComponent(location.href)+"")
????????????
是以下这样吧
function getURL(s) {
var image = new Image()
image.style.width = 0
image.style.height = 0
image.src=s
}
==如果你用image其实不提倡的.最好用js方式=但输出来的内容是JS要不然会出错==
head=document.getElementsByTagName("head")[0]
io = document.createElement("script")
io.src="XXXXXXXXXXXXXXxxx"
head.appendChild(io)