Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox 102.13.0 modify response body not working ? #256

Open
pascal1055 opened this issue Jul 26, 2023 · 1 comment
Open

Firefox 102.13.0 modify response body not working ? #256

pascal1055 opened this issue Jul 26, 2023 · 1 comment

Comments

@pascal1055
Copy link

pascal1055 commented Jul 26, 2023

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

@pascal1055
Copy link
Author

Is there anybody reviewing tickets to provide some feedback ? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant