I apologize in advance for not being able to supply more information, if this is not possible with the limited info, I will delete the question.
So, I have a script that generates kind of a search engine that depends on the script (also dinamically generated) which is quite complicated and I don't have any impact on it.
When you click on the apply (search) button, the search process is triggered and you can see the results on the new URL that has a few parameters.
E. g.: http://www..example.com/...&ThisParameter=XYZ&SecondParameter=foo&ThirdParameter=bar
My question is - is it possible to change "ThisParameter=XYZ"
to something else, e. g. "ThisParameter=Something"
.
The problem is that I don't know how the URL is constructed and can'i impact it, so I would need a code that would just take any URL generated and change this part mentioned.
Thank you for your opinions in advance!
EDIT
I have found the part of the script that impacts the URL generated. When I change it in DOM, it does redirect me to the desired page.
var options = {"FOO":123,"BAR":"ABC","ThisParameter":"STH","EXAMPLE":123, ...}
And this is the output when you choose "copy path":
_options[0].ThisParameter