Firefox 102.13.0 modify response body not working ?
pascal1055 opened this issue · 1 comments
Hi; I'm trying out your add on and cannot manage to make the 'modify response body' work. I've set a rule to do a redirect to make sure the URL to use was correct and that works. Same with modify response header, works fine. But when using modify response body, nothing happens. Using a simple function as the example with:
return val.replace('[text present in the response]', 'updated value');
[text present in the response] is of course some text that is present in the page I want to modify the response body of. However, it does not change anything either on screen or in the source of the page.
I tried with a web page that returns simple HTML and JSON, no changes is applied.
I even tried with google.com to replace "English" (link of languages under the search bar) with "TEST" and nothing.
Can you provide a quick example to see what I am doing wrong here ?
Also: what is the "details" parameters of the custom function ? I tried to alter the 'val' and 'details' in my custom function, nothing is returned.
Thank you
Is there anybody reviewing tickets to provide some feedback ? :)