gpt4 book ai didi

javascript - Twitter 时间轴小部件在 Chrome 中不起作用

转载 作者:行者123 更新时间:2023-11-30 18:08:43 28 4
gpt4 key购买 nike

我的 Twitter 时间轴小部件无法在 Chrome 中加载,但在 Firefox 和 IE 中都能完美加载。当我检查 Chrome 的控制台时,我得到“失败的资源:http://platform.twitter.com/widgets.js”,但是当我点击该链接时,它起作用了。

这是我使用的代码:

<a class="twitter-timeline"  href="https://twitter.com/funnelholic"  data-widget-id="307229764530339840">Tweets by @funnelholic</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

我还将 www.funnelholic.com 和 funnelholic.com 都列入了白名单

有问题的站点是:http://funnelholic.com ,这是一个 Wordpress 网站,我正在使用文本小部件来显示它。

我该如何解决这个问题?

最佳答案

我遇到了同样的问题,并且非常沮丧,因为它在 Chrome 中不起作用。

好像是这个原因

enter image description here Adblock Plus

当我为我的页面停用 Adblock Plus 时,它起作用了!

我猜你,@theintellects,在它无法运行的计算机上也激活了 Adblock。

话虽如此,我已经在我的网页上添加了信息,如果用户使用 Chrome 而他们没有看到任何 Twitter 时间线,他们需要为此停用 Adblock Plus page

关于javascript - Twitter 时间轴小部件在 Chrome 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15147379/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com