开发者

javascript, html document.write

开发者 https://www.devze.com 2023-01-08 22:30 出处:网络
I\'m trying to write a javascript using document.write but for some reasons it doesn\'t work . I also need to make a kind of trick to \'obfus开发者_如何学Ccate\' the url and \"src\" attribute by autom

I'm trying to write a javascript using document.write but for some reasons it doesn't work . I also need to make a kind of trick to 'obfus开发者_如何学Ccate' the url and "src" attribute by automated bots .Any idea why ?

<script type="text/javascript">
document.write("<scr\" + \"ipt type=\"text\/jav\" + \"ascript\"  s\" + \"rc=\"http:\/\/www.a\" + \"utotraderuae.net\/mem\" + \"bers.j\" + \"s\"><\/sc\" + \"ript>");

thanks in advance for any response.


It works fine with me, I just added the closing script tag at the end.

<script type="text/javascript">
document.write("<script type=\"text\/javascript\" src=\"http:\/\/www.autotraderuae.net\/members.js\"><\/script>");
</script>
0

精彩评论

暂无评论...
验证码 换一张
取 消