Disqus 会根据要求自动放置定义的字幕。例如:添加新评论
我尝试在 ready() 上使用 jquery 更改其值:
$('#dsq-new-post h3').text('Paticipa con tu cuenta favorita');
没有成功:( ...我怎么知道 disqus 脚本何时完成解析数据,以便我可以更改 h3 的标题值?
顺便说一句,这是 Disqus 的电话:
(function(){
var dsq = document.createElement('script');
dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://xxxxxxxx.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();