【发布时间】:2016-04-01 07:04:37
【问题描述】:
我希望在我的网站的移动版本上隐藏一个广告。我想这样做。
<script>
if(screen.width > 900){
"here call the script that is ad"
}
</script>
我的广告脚本也是 js 脚本,但它不在我的域中,所以我不能使用 ajax 调用来调用它。任何帮助表示赞赏。 我的广告代码如下所示
<script src='//url..'> </script>
【问题讨论】:
标签: javascript mobile web ads