搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

browser.webRequest.filterResponseData missing in FF Webextensions

  • 1 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 Paul

more options

in the implementation of WebRequests API in chrome, you can modify a page's source before the dom tree is even being built using this function: let filter = browser.webRequest.filterResponseData(details.requestId); and then using filter.ondata = event => { this function (browser.webRequest.filterResponseData) is completely missing in FF.

in the implementation of WebRequests API in chrome, you can modify a page's source before the dom tree is even being built using this function: let filter = browser.webRequest.filterResponseData(details.requestId); and then using filter.ondata = event => { this function (browser.webRequest.filterResponseData) is completely missing in FF.

被采纳的解决方案

Hi

if you have a question about add-on development, I recommend you ask in the main add-on forums at https://discourse.mozilla.org/c/add-ons.

定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

Hi

if you have a question about add-on development, I recommend you ask in the main add-on forums at https://discourse.mozilla.org/c/add-ons.