Adblock Plus 屏蔽了我的社交媒体链接

Adblock Plus is blocking my social media links

在 Chrome 中启用 Adblock Plus 后,我的 Facebook 和 Twitter images/links 不显示。当您将鼠标悬停在图像上时,我删除了标题,它们不再被阻止。有没有一种方法可以让我保留标题而不被 Adblock Plus 阻止?

以下是他们被阻止时的情况:

  <div class="row mar20">
    <div class="col-xs-6">
      <div class="img-responsive">
        <a href="https://facebook.com/RiskyBeeGame" title="Facebook">
          <img src=WebF.png class="pull-right">
        </a>
      </div>
    </div>

    <div class="col-xs-6">
      <div class="img-responsive">
        <a href="https://twitter.com/riskybeegame" title="Twitter">
          <img src=WebT.png>
        </a>
      </div>
    </div>

广告拦截器根据元素的属性阻止页面元素。如您所见,元素 ID、类、标题等都可用于过滤 'unwanted' 页面元素。

听起来您已经想出了如何通过删除 link 的标题来规避标准检测。

不清楚为什么要保留标题标签。

如果您对弹出式工具提示感兴趣——您最好的选择是使用数百个 Jquery 工具提示脚本中的一个。

如果由于页面上的某些其他脚本挂钩到 title 属性而需要 title 标签,则可以动态添加 title 属性 onload:

document.getElementById('mytwitterlink').setAttribute('title','Twitter');

这可能会也可能不会通过广告拦截器,具体取决于广告拦截器...

你最好的选择真的是改变任何寻找 title 属性的脚本 "Twitter" 并改变它们以寻找其他东西......