1
我試圖將以下代碼轉換爲添加到HREF代碼的「onClick」事件。我有限的JavaScript體驗,但我知道它可以完成。任何類型的指導將不勝感激。DoubleClick Floodlight onClick
<script type="text/javascript">
var axel = Math.random() + "";
var a = axel * 10000000000000;
document.write('<iframe src="https://4607507.fls.doubleclick.net/activityi;src=4607507;type=ustac0;cat=lwt16db;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
</script>
<noscript>
<iframe src="https://4607507.fls.doubleclick.net/activityi;src=4607507;type=ustac0;cat=lwt16db;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
</noscript>