简体   繁体   English

AdBlock阻止了我的页面之一

[英]AdBlock preventing one of my pages

We have an html page, and the javascript libraries used for that page are chosen.js and cgnotify both of which we are using in other pages. 我们有一个html页面,并且选择了用于该页面的javascript库。js和cgnotify我们在其他页面中都使用了这两种。 There is no content marked and named as "ad" or anything containing "ad" but adblock for no reason blocks it. 没有标记和命名为“ ad”的内容或包含“ ad”的任何内容,但adblock无缘无故将其阻止。 I fully erased the page content and tried again and still it blocks the page. 我完全擦除了页面内容,然后再次尝试,但仍然阻止了页面。 Any ideas ? 有任何想法吗 ?

First, you can go to the forums at http://easylist.adblock.org and let them know. 首先,您可以访问http://easylist.adblock.org上的论坛,并让他们知道。 They are usually pretty quick about addressing problems of this sort. 他们通常很快就会解决此类问题。

In the meantime, check your console and see if Adblock is causing any errors due to scripts not loading. 同时,检查控制台,查看Adblock是否由于未加载脚本而引起任何错误。

Typically (depending on your browser) when JavaScript hits a couple errors it will prevent subsequent scripts from executing. 通常(取决于您的浏览器),当JavaScript遇到几个错误时,它将阻止后续脚本的执行。 If you're using any JavaScript to render your page, it's possible that script is never executing due to Adblock creating errors higher on the page. 如果您使用任何JavaScript呈现页面,则可能由于Adblock在页面上方创建错误而导致脚本无法执行。

I'd be willing to bet you have an external script failing to load, and that's causing some dependency errors, so your page is never rendering. 我敢打赌,您的外部脚本无法加载,这会导致一些依赖性错误,因此您的页面永远不会呈现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM