Skip navigation.

exploreopera

| Help

Sign up | Help

Opera FAQ's, Tips, Tricks & Tweaks

More about Opera browser

Posts tagged with "Search"

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

Play with Opera language file

, , , ...

You can modify strings in language file to your need.

Create a copy of language file, english.lng in Opera installation directory and rename it to english-modified.lng. Then Tools → Preferences... → General → Language → Details... → Use Interface language → Choose... → [SELECT] english-modified.lng

  1. Modify string -2061349988 to impress your friends with custom message in Opera startup dialog.
    -2061349988="Welcome to Opera"
    to
    -2061349988="Welcome back, Tamil!"

    Opera Startup Dialog
    Opera startup dialog

  2. Most of us don't use some of the labels. You can modify and use them.
    1827310912="Call back"
    1665342300="Meeting"
    to
    1827310912="Work"
    1665342300="Friends"

    Opera labels
    Opera labels

  3. Modify string -1713924769 to have advanced search, thumbnails & sorting in opera:cache. See Thumbnails in opera cache post.

    Advanced search, thumbnails & sorting in opera:cache
    Advanced search, thumbnails & sorting in opera:cache

  4. Modify string -1303632626 to show plugin versions in opera:plugins. See Descriptions in opera:plugins and more post.

    Descriptions in opera:plugins
    Descriptions in opera:plugins

Note: You have to update english-modified.lng file when there is an major update to Opera. See Update Opera custom keyboard setup/menu setup/mouse setup/language/dialog files using WinMerge.

Update:
Mar 24, 2008
Jun 16, 2008

How to delete various search histories in Opera?

, , , ...

Opera bookmarks search history
Bookmarks search history

Close Opera, open opera6.ini from profile directory and remove unwanted line(s) starting with the following under [Matches] section.

Bookmarks View       Searches in manage bookmarks
Bookmarks View Small Searches in bookmarks panel
File_types_treeview  Searches in Tools → Preferences → Advanced → Downloads
Groups_treeview      
History View         Searches in history
History View Small   Searches in history panel
Input_treeview       Searches in keyboard setup, mouse setup & voice
Links View Small     Searches in links panel
Mail View            Searches in mail/feed
Notes View           Searches in notes
Notes View Small     Searches in notes panel
Server_treeview      Searches in server manager (cookies & wand)
Search histories in [Matches] section.
[Matches]
Bookmarks View=""opera", "https""
Bookmarks View Small=""software""
File_types_treeview=""exe", "rar""
History View=""opera", "google", "www""
History View Small=""my""
Input_treeview=""gesture", "alt", "shift", "ctrl""
Links View Small=""unread""
Mail View=""rss""
Notes View=""bugs", "@""
Notes View Small=""shortcuts""
Server_treeview=""google""

Update: Jan 25, 2007

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.

Ways to open Opera bookmark/link/go to URL/search in new tab

, , , ...

Keyboard Shortcuts

Shift + Click/Enter/Left click - Bookmark/Link/Go to Web Address/Search will open in new tab

Ctrl + Shift + Click/Enter/Left click - Bookmark/Link/Go to Web Address/Search will open in background tab

Mouse Gestures

Point link, hold right mouse button and move down - Link will open in new tab

Point link, hold right mouse button and move down then up - Link will open in background tab

Others

To open search results & bookmarks in new tab
Opera 9: Tools → Preferences... → Advanced → Tabs → [DISABLE] Reuse current tab
Opera 8: Tools → Preferences... → Advanced → Browsing → [DISABLE] Reuse current tab

Configure mouse middle click action
Tools → Preferences... → Advanced → Shortcuts → Middle-Click Options... [or] Shift+Mouse middle click

Opera mouse middle-click options
Mouse middle-click options

Opera inline search or find in page search without popup box

, , , ...

Press keyboard shortcut . (dot) or / and then type search term to search in text.
Press keyboard shortcut , (comma) and then type search term to search in links.
Press keyboard shortcut, F3 to find next.
Press keyboard shortcut, SHIFT+F3 to find previous.

Enable Use Integrated Search to use "Find in page" field instead of dialog for "Find in page" when you press keyboard shortcut, CTRL+F.

Opera inline find in page text
Inline find in page text

Opera inline find in page links
Inline find in page links

Opera version 8 & below: Tools → Preferences... → Advanced → Search → [ENABLE] Use inline find in page

Use inline find in page

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

July 2008
SMTWTFS
June 2008August 2008
12345
6789101112
13141516171819
20212223242526
2728293031