browser.webRequest.filterResponseData missing in FF Webextensions
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)
选择的解决方案
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.