You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: