I have a script that dynamically loads code. This is a kind of search engine. When I click the search button, the action starts and a new page opens with many options.
I want to override one of the parameters generated by the script in the new URL. The JS code is quite large and hard to read, but I found the important part in the Firebug DOM editor.
This is the URL pattern generated by the search:
http://www.example.com/...?ParameterOne=123&ParameterTwo=Two&ThisParameter=Sth&ParameterFour=Four...
What I want to change is "ThisParameter" and change its value. This is the part edited in the DOM that does what I want:
Foobar = { _options: [], ... var options = {"ParameterOne":123,"ParameterTwo":"Two","ThisParameter":"ABC","ParameterFour":Four,...} ...
And this is the result of "ThisParameter" when you select "Copy Path" on the Firebug DOM tab:
_options[0].ThisParameter
I am wondering if this is possible at all. What makes me think that this is so is the fact that I can change this setting in Firebug, and it works great. So, if Firebug can edit it, there must be a way to influence it with another script.
We look forward to offers, thank you in advance!
javascript jquery
take2
source share