开发者

If impossible to modify header in JSONP. How does twitter extension in Chrome work?

开发者 https://www.devze.com 2023-01-26 16:07 出处:网络
Now I\'m working to do twitter client with Javascript. After I read this topic, I have question Modify HTTP Headers for a JSONP request

Now I'm working to do twitter client with Javascript.

After I read this topic, I have question

Modify HTTP Headers for a JSONP request

He told 开发者_StackOverflow社区impossible way to modify HTTP Header when using JSONP.

If it's true. How does twitter extension work in Chrome ?

I think Chrome extension use Javascript, too.


Extensions have more privileges then "normal" JavaScript code executing within a page. Check here:

  • http://code.google.com/chrome/extensions/xhr.html
0

精彩评论

暂无评论...
验证码 换一张
取 消