Possible Duplicate:
Refused to execute a JavaScript script. Source code of script found within request
我想在我的主页上显示我的最新推文。首先,我查看了推特小部件,但它们太大了,不适合我的设计。所以我决定使用Twitter API。我尝试使用以下代码:
<div id="twitter_update_list"></div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/username.json?callback=twitterCallback2&count=1"></script>
但是当我在chrome中检查控制台日志时,我看到了这个错误:
Refused to execute a JavaScript script. Source code of script found within request.
Obviously, no tweets are shown now :( Any ideas? Thanks!