0
我有几个网站访问者报告丢失了一些文本。事实证明,他们安装了广告拦截器,缺少的文本被链接到发布带有自定义CSS类名称的推文。以下是对消失的样本:隐藏不属于广告的CSS类的Adblockers
<a href="https://twitter.com/intent/tweet?text=xxxx&url=http%3A%2F%2Fxxxx" class="tweet_quote">The text that disappears.</a>
下面是类tweet_quote定义:
.tweet_quote {
color: black;
text-decoration: none;
background-image: url(images/Twitter_logo_blue_32.png);
background-repeat: no-repeat;
background-position: right;
background-size: 20px 20px;
transition: .2s;
padding-right: 20px;
}
.tweet_quote:hover {
color: white !important;
background-color: #56aeec;
background-image: url(images/Twitter_logo_white_32.png);
}
的Twitter_logo PNG,也被该广告拦截器。实际页面网址是https://skeptoid.com/episodes/4516
任何人都可以看到任何可能触发广告拦截器的内容?
可能是Tweet。有几个不同的网站使用嵌入的Twitter和Facebook的帖子有这个问题。这取决于adblocker正在使用的订阅,因为并非所有人都认为推文是不需要的。 –
非常好,谢谢。我会把它改变成不太可疑的东西。 –