Skip navigation.

Opera FAQs, Tips, Tricks & Tweaks

Cool tips for Opera browser

Posts tagged with "Search Engine"

How to create search engine with two parameters in Opera?

, , , ...

Sometimes we need to specify two parameters for search as in the following search.

http://images.google.com/images?imgtype=face&q=monkey

It is possible to create search engine for the above using JavaScript.

By creating a search engine with the following JavaScript in address field, you can search Google Images from address bar by typing <search engine keyword><space><search parameter 1><space><search parameter 2> (example: gi face monkey)

javascript:var s='%s';var p=s.indexOf('+');if(p>-1){var s1=s.split('+');var s2=s.slice(p+1)};window.location.href='http://images.google.com/images?imgtype='+s1[0]+'&q='+s2;

To create search engine for another site, modify images.google.com/images?imgtype='+s1[0]+'&q='+s2; part in the above JavaScript. When you perform search, s1[0] will be replaced by first parameter & s2 with second parameter.

If <search parameter 1> is more than one word use the following JavaScript. Use dot instead of space as separtor between search parameters.

javascript:var s='%s';var p=s.indexOf('.');if(p>-1){var s1=s.split('.');var s2=s.slice(p+1)};window.location.href='http://images.google.com/images?imgtype='+s1[0]+'&q='+s2;

Update: Apr 28, 2008

How to set default search engine & Speed Dial search engine in Opera?

, , ,

Default search engine

Tools > Preferences > Search > [Select] Search engine > Edit... > Details >> > [Check] Use as default search engine

Speed Dial search engine

Tools > Preferences > Search > [Select] Search engine > Edit... > Details >> > [Check] Use as Speed Dial search engine

Google as default search engine & Speed Dial search engine
Google as default search engine & Speed Dial search engine

How to keep your search history private if you use Google search & Gmail?

, , , ...

When you use google.com search and Gmail, your searches can be associated with your gmail account because when you use Gmail, cookies will be stored for google.com and mail.google.com. To keep your search history private, use local Google (example: google.co.in) as your search engine & block cookies for it.

See How To Keep Your Search History Private for more tips.

How to always expand "Details>>" in Opera add bookmark, delete private data, search engine, opera link dialog boxes?

, , , ...

It is annoying to click Details>> button in dialog boxes every time.

Download dialog-modified.ini (file contains all dialog tweaks), enter path to dialog-modified.ini in Dialog Configuration, save and restart Opera.

[or]

Create a copy of ui\dialog.ini (defaults\dialog.ini for versions below 10) from Opera installation directory, rename it to dialog-modified.ini and open it in any text editor.

Opera add bookmark dialog before tweak

Opera add bookmark dialog before tweak
Add bookmark dialog before tweak

Bookmark dialog

Under [Add Bookmark Dialog] section replace

Button,,, 240, 60, 130, 23, Move right= Set visibility, "Advanced_group", 0, D_REPORT_SITE_PROBLEM_DETAILS_CLOSE | Set visibility, "Advanced_group", 1, D_REPORT_SITE_PROBLEM_DETAILS_OPEN
Group, 0, Advanced_group , 0, 90, 370, 180, Size right, End
with
;Button,,, 240, 60, 130, 23, Move right= Set visibility, "Advanced_group", 0, D_REPORT_SITE_PROBLEM_DETAILS_CLOSE | Set visibility, "Advanced_group", 1, D_REPORT_SITE_PROBLEM_DETAILS_OPEN
;Group, 0, Advanced_group , 0, 90, 370, 180, Size right, End
Group, 0, , 0, 90, 370, 180, Size right, End

Opera add bookmark dialog after tweak
Add bookmark dialog after tweak

Clear private data dialog

Under [Clear Private Data Dialog] section replace

Group, 0, , 0, 0, 430, 90, Size Right
MultilineEdit, D_CLEAR_PRIVATE_DATA_WARNING, Description_label, 0, 0, 430, 60, Size right
Expand, D_DELETE_PRIVATE_DATA_DETAILS, Destails_expand, 0, 65, 300, 23, Size right, End = Switch groups, "Advanced_group"
Group, 0, Advanced_group , 20, 90, 410, 300, Size right
with
;Group, 0, , 0, 0, 430, 90, Size Right
MultilineEdit, D_CLEAR_PRIVATE_DATA_WARNING, Description_label, 0, 0, 430, 60, Size right
;Expand, D_DELETE_PRIVATE_DATA_DETAILS, Destails_expand, 0, 65, 300, 23, Size right, End = Switch groups, "Advanced_group"
;Group, 0, Advanced_group , 20, 90, 410, 300, Size right
Group, 0, , 20, 90, 410, 300, Size right

Search engine dialog

Under [Search Engine Dialog] section replace

Button,,, 310, 30, 140, 23, Move right = Set visibility, "Advanced_group", 0, D_REPORT_SITE_PROBLEM_DETAILS_CLOSE | Set visibility, "Advanced_group", 1, D_REPORT_SITE_PROBLEM_DETAILS_OPEN
Group, 0, Advanced_group , 0, 60, 450, 130, Size right, End
with
;Button,,, 310, 30, 140, 23, Move right = Set visibility, "Advanced_group", 0, D_REPORT_SITE_PROBLEM_DETAILS_CLOSE | Set visibility, "Advanced_group", 1, D_REPORT_SITE_PROBLEM_DETAILS_OPEN
;Group, 0, Advanced_group , 0, 60, 450, 130, Size right, End
Group, 0, , 0, 60, 450, 130, Size right, End

Opera login link dialog

Under [Opera Login Link Dialog] section replace

Expand, D_OPERA_LINK_OPTIONS, Link_expand, 0, 0, 300, 23, Size right = Switch groups, "Link_full_group"
Progress, 0, server_progress_bar, 283, 3, 13, 16, Fixed, End
Group6, 0, Link_full_group, 0, 155, 300, 90, Size right
with
;Expand, D_OPERA_LINK_OPTIONS, Link_expand, 0, 0, 300, 23, Size right = Switch groups, "Link_full_group"
Progress, 0, server_progress_bar, 283, 3, 13, 16, Fixed, End
Group6, 0, , 0, 155, 300, 90, Size right

Enter path to dialog-modified.ini in Dialog Configuration, save and restart Opera.

You have to update dialog-modified.ini when you install major version of Opera.

Update:
Jun 13, 2008
Aug 2, 2009

Google search in local domain

, , , ...

Opera 9

Opera Google search

Tools → Preferences... → Advanced → Search → [SELECT] Google → Edit... → Details>>

Replace address

http://www.google.com/search?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8
with
http://www.google.local domain/search?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8
where local domain is
de for Deutschland
fr for France
co.uk for UK
co.jp for Japan
com.co for Colombia
ca for Canada
com.mx for México
nl for Nederland
com.au for Australia
co.id for Indonesia
com.ar for Argentina
com.br for Brasil
co.nz for New Zealand
co.in for India
pt for Portugal
co.za for South Africa
com.pk for Pakistan
ie for Ireland
com.my for Malaysia
com.sg for Singapore
com.cu for Cuba

Opera 8 & below

Note path to Opera directory by clicking this. Open search.ini from Opera directory & replace

http://www.google.com/search?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8
with
http://www.google.local domain/search?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8
and restart Opera.

Update: March 25, 2006

Download Opera, the fastest and most secure browser