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.g http://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=&DepartureDistrict=&DepartureHouseNo=&ArrivalID=&ArrivalType=&ArrivalDistrict=&ArrivalHouseNo=&ChangePenalty=2&WalkingSpeed=100&Line1=&Line2=&Line3=&Line4=&Transportation=2758164&ChangeMargin=2&TypeOfRequest2=0&Return=0&Walk=0&MapLink=0&MaxRadius=&SearchType=0&SearchSimple=1&Proff=&cboModule=%2F&DepartureDesc=oslo&ArrivalDesc=hemsedalen&TravelDate=08.02.2009&TypeOfRequest=1&TravelTimeHour=15&TravelTimeMinute=45

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to