【问题标题】:stop twitter share button from loading incorrectly阻止 twitter 分享按钮加载不正确
【发布时间】:2015-01-27 14:44:34
【问题描述】:

当我启用模糊和 adblock plus 时,twitter 按钮显示为超链接,更糟糕的是,它共享当前页面的 URL(这是我不想共享的内容)。无论如何我可以阻止这个推文按钮在加载不正确时完全加载吗?什么是好的指标?

【问题讨论】:

    标签: javascript jsp twitter-button


    【解决方案1】:

    所以 twitter 按钮被包裹在 iframe 中。当推文按钮呈现为超文本链接时,此 iframe 不再包装 div。所以我检查了 iframe 是否存在,并相应地显示/隐藏 Tweet 按钮。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-04-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-08
      相关资源
      最近更新 更多