我有一个我正在使用的工具,它嵌入了javascript来跟踪它的托管登录页面。
我想在我自己的域上托管登陆页面,并且希望我可以使用javascript并以某种方式操纵它以便它仍然可以跟踪但是从我的页面中我无法担心托管页面管理。
以下是代码......如果可能的话,任何建议都会很棒!
<script type="text/javascript">
johnie = '225032';
ehe = '2846';
(function() {
function async_load(){
var s = document.createElement('script'); s.type = 'text/javascript';
s.src = ('https:' == document.location.protocol ? 'https://steve' : 'http://cdn') + ‘.steveo.com/pd.js';
var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c);
}
if(window.attachEvent) { window.attachEvent('onload', async_load); }
else { window.addEventListener('load', async_load, false); }
})();
</script>