我有几个网站访问者报告丢失了一些文本。原来他们安装了广告拦截器,缺失的文本被链接到发布带有自定义CSS类名的推文。下面是一个消失的例子:
<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也被广告拦截器拦截。实际的页面URL是https://skeptoid.com/episodes/4516
有没有人看到可能会触发广告拦截程序的东西?
发布于 2016-04-28 04:04:48
广告拦截通常也会屏蔽跟踪小工具,而大多数社交媒体分享工具栏都是这样的。
类名称中的tweet
可能会导致问题。
https://stackoverflow.com/questions/36899785
复制相似问题