防止我的网站中出现广告网络弹出窗口

发布于 2024-07-15 18:39:18 字数 103 浏览 7 评论 0原文

有没有办法阻止广告网络在我的网站上创建弹出窗口。 我正在使用 OpenX 来管理我的广告。 我明确告诉网络不要显示任何弹出窗口。 由于我有很多广告网络,我无法确定哪一个正在调用弹出窗口。

Is there a way to prevent ad networks from creating pop-ups in my site. I am using OpenX to manage my ads. I explicitly told the networks not to show any pop-ups. As I have many ad networks I cannot be sure which one is invoking the pop-ups.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挥剑断情 2024-07-22 18:39:18

我想这些广告是由 javascript 生成的,该 javascript 在网络浏览器打开页面时运行。

因此,您无法在服务器端进行任何处理或过滤来确定这一点并停止它。 确定这一点的客户端脚本也很难生成。

为了扩展客户端脚本问题,如果您确实想一致地解决此问题,您可以创建一个模仿用户的程序,然后这可以捕获创建的任何弹出窗口并记录它们。
您可以使用它来测试引用页面的结果,通过更改您的 IP 地址或其他测试。
这实际上取决于您想在这方面花费多少时间。
顺便说一句,您的广告提供商可能根本不喜欢这样,因为您这样做可能会构成欺诈。 (如果他们为每次广告浏览付费。)

我的建议是测试您的网页,并确定哪个广告提供商存在问题。

一旦你知道你可以删除它们,或者与他们讨论。

I would imagine the ads are being generated by javascript which is run when a webbrowser opens the page.

Thus you can't do any processing or filtering on the server side to determine this, and stop it. Client side scripting to determine this would also be very hard to produce.

To expand on the client side scripting issue, if you really want to solve this problem consistently, you could create a program which mimics a user, this could then trap any popup's which are created, and log them.
You could use this to test results from referring pages, by changing your IP address, or other tests.
It really depends how much time you want to spend on this.
Incidently, your ad providor's might not like this at all, as you are possibly commiting fraud by doing this. (If they pay you for each ad view.)

My advise would be to test your webpage, and determine which ad provider is the problem.

Once you know that you can either remove them, or discuss it with them.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文