0
如何將此HTML代碼轉換爲Action腳本代碼,我是一個android和actionscript開發人員,我對HTML和java腳本知之甚少。我曾嘗試不同的論壇,我知道這是可以轉換的,有人可以幫我將html代碼轉換爲actionscript代碼
<script type="text/javascript">
adroll_adv_id = "JD5ZGBNO4RBYVAMMMPX3J7";
adroll_pix_id = "CEJOJM5N5VAHBKCVMT2DML";
(function() {
var oldonload = window.onload;
window.onload = function(){
__adroll_loaded=true;
var scr = document.createElement("script");
var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");
scr.setAttribute('async', 'true');
scr.type = "text/javascript";
scr.src = host + "/j/roundtrip.js";
((document.getElementsByTagName('head') || [null])[0] ||
document.getElementsByTagName('script')[0].parentNode).appendChild(scr);
if(oldonload){oldonload()}};
}());
</script>
請問您可以向我解釋此代碼究竟在做什麼? –
看起來像它的加載廣告 –