Opera FAQs, Tips, Tricks & Tweaks

Tips for Opera browser since 2005

Subscribe to RSS feed

Posts tagged with "Google"

Google search suggestions in Opera

, , ,

Opera 10.60 supports search suggestions and currently it is enabled for Bing and Wikipedia. You can enable for Google by following the steps below.

Google search suggestions
Google search suggestions

  1. Open search.ini file from profile directory in any text editor.
    If there is no search.ini file inside profile directory, delete Google search and create new Google search.
    1. CTRL+F12 > Search
    2. [Select] Google > Edit... > Details >> > Copy address > Cancel
    3. [Select] Google > Delete > Yes
    4. Add... > Enter name, keyword, paste address and enable 'use as default search engine' > OK
  2. At the end of Google search engine add the following code and save.
    Suggest Protocol=JSON
    Suggest URL=http://suggestqueries.google.com/complete/search?json&q={SearchTerm}
    After adding the code, it should look like the following.
    [Search Engine X]
    UNIQUEID=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Name=Google
    Verbtext=0
    URL=http://www.google.com/search?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8
    Query=
    Key=g
    Is post=0
    UseTLD=0
    Has endseparator=0
    Encoding=iso-8859-15
    Search Type=0
    Position=-1
    Nameid=0
    Deleted=0
    Suggest Protocol=JSON
    Suggest URL=http://suggestqueries.google.com/complete/search?json&q={SearchTerm}
  3. Restart Opera.

Opera will show only 3 search suggestions and there is no way to increase it.

[SearchEdit via forums]

Update: Jul 13, 2010

Use user style sheet to modify the look of a website in Opera

, , , ...

A user style sheet is a text file with CSS declarations. It allows you to have control over the look and feel of website. It can be used to hide annoying things like ads, change fonts and colors, etc.

!important declaration should be added to a rule to take precedence over author style sheet.

User style sheets can be applied to all sites Tools > Preferences... > Advanced > Content > Style Options... > My style sheet (restart required to apply style sheet) or per-site basis Right click on a site > Edit Site Preferences... > Display > My style sheet (reload required to apply style sheet).

Example 1: Hide friend request link in My Opera

My Opera friend request link in top bar
My Opera friend request link in top bar

  1. Create a text file with the following and save preferably inside profile\styles directory with CSS file extension.
    /* Friend request */
    #friendrequest { display: none !important; }

    CSS to hide friend request link and share this button
    CSS to hide friend request link and share this button

  2. Add path to CSS file in site preferences.

    Path to CSS file in site preferences
    Path to CSS file in site preferences

  3. Reload page to apply style sheet.

    My Opera friend request link hidden by CSS
    My Opera friend request link hidden by CSS

Example 2: Hide sponsored links in Google

Google Sponsored Links
Useless Google sponsored links

Google sponsored links can't be blocked by content blocker but it can hidden by following CSS code.

/* Top sponsored links */
#tads { display: none !important; }

/* Side sponsored links */
#mbEnd { display: none !important; }

Google & BabelFish translation in Opera right click menu

, , , ...

Google & BabelFish translation in Opera right click menu
Google & BabelFish translation in right click menu

If you don't know how to edit menu setup see this. Add the following under [Document Popup Menu].

Item, "Google Auto Translation"= Go to page, "http://translate.google.com/translate_c?u=%u"
Submenu, BabelFish Translation, BabelFish Translation Menu

Add the following section anywhere in your menu setup and save.

[BabelFish Translation Menu]
Item, Chinese (Simplified) to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=zh_en&trurl=%u"
Item, Chinese (Traditional) to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=zt_en&trurl=%u"
Item, Dutch to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=nl_en&trurl=%u"
Item, French to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=fr_en&trurl=%u"
Item, German to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=de_en&trurl=%u"
Item, Greek to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=el_en&trurl=%u"
Item, Italian to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=it_en&trurl=%u"
Item, Japanese to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=ja_en&trurl=%u"
Item, Korean to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=ko_en&trurl=%u"
Item, Portuguese to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=pt_en&trurl=%u"
Item, Russian to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=ru_en&trurl=%u"
Item, Spanish to English = Go to page, "http://babelfish.yahoo.com/translate_url?lp=es_en&trurl=%u"

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.

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