首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >广告拦截器隐藏不是广告的CSS类

广告拦截器隐藏不是广告的CSS类
EN

Stack Overflow用户
提问于 2016-04-28 04:01:48
回答 1查看 120关注 0票数 0

我有几个网站访问者报告丢失了一些文本。原来他们安装了广告拦截器,缺失的文本被链接到发布带有自定义CSS类名的推文。下面是一个消失的例子:

代码语言:javascript
运行
复制
<a href="https://twitter.com/intent/tweet?text=xxxx&amp;url=http%3A%2F%2Fxxxx" class="tweet_quote">The text that disappears.</a>

下面是类tweet_quote的定义:

代码语言:javascript
运行
复制
.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

有没有人看到可能会触发广告拦截程序的东西?

EN

回答 1

Stack Overflow用户

发布于 2016-04-28 04:04:48

广告拦截通常也会屏蔽跟踪小工具,而大多数社交媒体分享工具栏都是这样的。

类名称中的tweet可能会导致问题。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36899785

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档