Skip navigation.

Multiple variables for search queries

, ,

Someone in the My.Opera forums figured out how you can pass multiple variables to your custom searches, using a Javascript query string. The search defined below can be used with: 'key XXX NNN', where XXX will be used for the first variable and NNN for the second. This way, you can add a large number of variables, just add queryArray[2] etc.


[Search Engine X]
Name=Search name
URL=javascript:query="%s";queryArray=query.split("+");URI="http://www.example.com/var1="+queryArray[0]+"&var2="+queryArray[1];document.location.href=URI;
Query=
Key=key
Is post=0
Has endseparator=0
Encoding=utf-8
Search Type=0
Verbtext=17063
Position=-1
Nameid=0

Found on:
<http://my.opera.com/forums/showthread.php?s=&threadid=69107>

For those just getting started on search.ini customization, 'g search.ini' will get you to the basic info.

How efficient is keyboard use?User specified link styles

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

July 2009
S M T W T F S
June 2009August 2009
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31