On Sun, Feb 8, 2009 at 8:53 PM, Henrik Marstrander <[email protected]>wrote:
> > Interesting to see the hidden url. Did you explain which tool/ method > you used to discover it > > Henrik > Well the first thing I tried (I was assuming the form used post variables) was to convert the forms method to get via Web Developer->Forms->Convert Form Methods->POSTs To GETs, but since this showed me that 0 forms had been converted, I reasoned that one of two things happened: 1) they were using javascript to do some magic (was hoping this wasn't the case) 2) they were sending it to an (i)frame I then simply filled out the form, submitted the search, and right clicked in the results. If there was an option to: This Frame -> Show Only This Frame, then I knew that it was #2. Clicking the aforementioned "Show Only This Frame" then takes you to the result page such that the url is visible in the location bar. Hope that made sense. -- cers / Christian Sonne > > > On 8 Feb, 15:46, Christian Sonne <[email protected]> wrote: > > On Sun, Feb 8, 2009 at 3:15 PM, Henrik Marstrander <[email protected] > >wrote: > > > > > > > > > Can anybody point me to a command which deals with a webpage where the > > > search terms doesn occour in the url (where the search prosess doesnt > > > awoke a new webpage) E.ghttp://www.trafikanten.no/ > > > > That page actually *does* pass the variables in the url, you just don't > see > > it because it loads the search in a frame... > > > > I tried searching fra: oslo til: hemsedalen (I don't know that many > > Norwegian locations :-)) and it yields the url: > http://www.trafikanten.no/Travel.asp?DepartureID=&DepartureType=&Depa... > > > > where you can see the two fields DepartureDesc=oslo and > > ArrivalDesc=hemsedalen > > > > TravelDate might also be something you'd want to pass > > > > Just for future reference, should you encounter a page that uses post > > variables to pass the search options, you can use > *Utils.openUrlInBrowser() > > *with an extra parameter containing the post variables - see the > > documentation for a better description* > > * > > -- cers / Christian Sonne* > > * > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ubiquity-firefox" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ubiquity-firefox?hl=en -~----------~----~----~----~------~----~------~--~---
