使用带事件页面的webrequest api [英] Using webrequest api with event page
本文介绍了使用带事件页面的webrequest api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在事件页面中使用webrequest api时,获取错误:
'webRequest'API不能用于事件页面。 / p>
在网路上看,我发现这个主题:http://code.google.com/p/chromium/issues/detail?id=119613
我的问题:为什么我们不能(或者怎么可能)同时使用?
解决方案发现声明性WebRequest API ,这将是解决方案。
现在可在开发和测试版渠道使用。
When using webrequest api with event page, get the error :
The 'webRequest' API cannot be used with event pages.
Looking on the net, I found this topic : http://code.google.com/p/chromium/issues/detail?id=119613
My questions : why can't (or how can) we use both ?
解决方案
Found declarativeWebRequest API, that would be the solution.
Avalaible now in dev and beta channels.
这篇关于使用带事件页面的webrequest api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文