The page I made is shown on an someone else's server in what seems to be a 100% wide iframe
with JavaScript ads over it. Can I disable the ads changing the code of my page?
我制作的网页显示在其他人的服务器上,其中似乎是一个100%宽的iframe,上面有JavaScript广告。我可以停用更改网页代码的广告吗?
1 个解决方案
#1
1
No. JavaScript
is running client-side (in the browser), so you have no possibilities to disallow that.
不.JavaScript正在客户端运行(在浏览器中),所以你没有可能不允许这样做。
But what you can do is: you can prevent being iframed by this ad site and all other sites with some tricks, also in JavaScript
. See here: Prevent iframe stealing
但你可以做的是:你可以防止这个广告网站和所有其他网站使用一些技巧,也使用JavaScript。看这里:防止iframe偷窃
#1
1
No. JavaScript
is running client-side (in the browser), so you have no possibilities to disallow that.
不.JavaScript正在客户端运行(在浏览器中),所以你没有可能不允许这样做。
But what you can do is: you can prevent being iframed by this ad site and all other sites with some tricks, also in JavaScript
. See here: Prevent iframe stealing
但你可以做的是:你可以防止这个广告网站和所有其他网站使用一些技巧,也使用JavaScript。看这里:防止iframe偷窃