Skip navigation.

Opera FAQs, Tips, Tricks & Tweaks

Cool tips for Opera browser

Posts tagged with "Menu"

Change an option in Opera dialog automatically

, , ,

Some of us change an option in particular Opera dialog always and it can be done automatically with the help of following action codes.

Action Description
Cycle to next page Activates next tab
Cycle to previous page Activates previous tab
Focus next widget Focuses next item
Focus previous widget Focuses previous item
Next item Focuses next item in dropdown list
Previous item Focuses previous item in dropdown list
Focus next radio widget Selects next ratio button
Focus previous radio widget Selects previous ratio button
Check item Enables checkbox
Uncheck item Disables checkbox
Show dropdown Shows dropdown list
Close dropdown Closes dropdown list
Click button Clicks button or changes state of checkbox
Click default button Clicks default highlighted button
Select item Selects an item
Go to start Focuses first item in a list
Go to end Focuses last item in a list
Delay, X Delays next action for X milliseconds

Following examples are for modifying menu configuration but you can use them in keyboard shortcuts or mouse gestures.

Example 1: Enable "Open pop-ups in background" and "Enable content blocking" in site preferences dialog

Under [Document Popup Menu] section replace

Item, M_EDIT_SITE_PREFERENCES = Edit site preferences
with
Item, M_EDIT_SITE_PREFERENCES = Edit site preferences & Focus next widget & Show dropdown & Previous item & Select item & Cycle to next page & Cycle to next page & Focus next widget & Focus next widget & Focus next widget & Focus next widget & Check item

The above code has 12 actions in the following order and animation shows functioning of code.

  1. Edit site preferences
  2. Focus next widget
  3. Show dropdown
  4. Previous item
  5. Select item
  6. Cycle to next page
  7. Cycle to next page
  8. Focus next widget
  9. Focus next widget
  10. Focus next widget
  11. Focus next widget
  12. Check item

Opera Site Preferences animation
Functioning of code

Site preferences dialog can be closed automatically by adding the following at the end of above code.

& Click default button

Example 2: Enable "Open tabs inside current window" in manage sessions dialog

Under [Browser Session Menu] section replace

Item, M_BROWSER_SESSION_MENU_MANAGE = Select session, -1
with
Item, M_BROWSER_SESSION_MENU_MANAGE = Select session, -1 & Focus previous widget & Focus previous widget & Click button & Focus next widget & Focus next widget

Example 3: Enable "Detailed Options" in delete private data dialog

Under [Browser Tools Menu] section replace

Item, MI_IDM_CLEAR_PERSONAL_INFORMATION = Delete private data
with
Item, MI_IDM_CLEAR_PERSONAL_INFORMATION = Delete private data & Focus previous widget & Click button

The above can be also accomplished by modifying dialog.ini file.

Use delay action between actions to check functioning of code.

How to add/change icon for custom buttons or menu items in Opera?

, , , ...

One can locate a menu item easily and quickly by seeing an icon rather than text.

To add/change icon
  1. Create/find an image in any image format (GIF, JPG, ICO or PNG but PNG is recommended) and resize it to 16 x 16 pixels. If you use large size, Opera will show resized icon. For example, we will add Google favicon as icon for Google Auto Translation menu item.
  2. Place icon image inside a folder (for example, custom_buttons) and add folder to zipped skin file after creating a backup.
  3. Open skin.ini from zipped skin file, add relative path to image with icon name as shown below under [Images] section and update it in skin file.
    google = custom_buttons/google.ico
  4. To add/change icon for menu item, open menu configuration! file, find menu item and specify icon name. For Google Auto Translation menu item, change
    Item, Google Auto Translation = Go to page, "http://translate.google.com/translate_c?u=%u"
    to
    Item, Google Auto Translation = Go to page, "http://translate.google.com/translate_c?u=%u", , , google
  5. Activate modified skin and menu setup or restart Opera.

Similarly, you can add/change icon for custom buttons by editing toolbar configuration file.

Opera custom menu icon
Google Auto Translation menu item without and with icon

The general syntax for a button/menu item is

Button/Menu item = Command, parameter-1, parameter-2, button tooltip, icon name
If there is no parameter-1 or parameter-2 or button tooltip leave them blank. Since there is no parameter-2 and button tooltip in Google Auto Translation menu item, they are left blank.

To remove icon

To remove icon from menu item, remove icon name and if there is no icon name then you have to specify a dummy name to override the default icon as shown in the following example.

To remove icon for Go to Web Address from hotclick menu, in menu configuration! file under [Hotclick Popup Menu] change

Item, M_HOTCLICK_POPUP_MENU_GOTO_URL = Go to page, "%t"
to
Item, M_HOTCLICK_POPUP_MENU_GOTO_URL = Go to page, "%t", , , Dummy

Opera will ignore icons on an action that follows an "&" symbol.

! = You should not modify ui\standard_menu.ini (defaults\standard_menu.ini for versions below 10) file as Opera will overwrite it during update. Create a copy of standard menu and edit it.

You can use existing skin images as icons without modifying skin file.

Updates:
Feb 7, 2009
Aug 2, 2009

Full screen mode with toolbars in Opera

, , , ...

Opera full screen mode with tab bar & address bar
Full screen mode with tab bar & address bar

By default, full screen mode doesn't have any toolbars but you can enable them by

  • using following full screen buttons
  • modifying action for keyboard shortcut, F11
  • modifying right click full screen menu item action Enter fullscreen | Leave fullscreen under [Document Popup Menu]
  • creating a new mouse gesture in Application section

Full screen with Action code for keyboard shortcut or mouse gesture! Button#
without scroll bar with scroll bar
Tab bar Leave fullscreen | Enter fullscreen & View page bar, 6 Full Screen Full Screen
Address bar Leave fullscreen | Enter fullscreen & View address bar, 6 Full Screen Full Screen
Status bar Leave fullscreen | Enter fullscreen & View status bar, 6 Full Screen Full Screen
Tab bar & Address bar Leave fullscreen | Enter fullscreen & View page bar, 6 & View address bar, 6 Full Screen Full Screen
Tab bar & Status bar Leave fullscreen | Enter fullscreen & View page bar, 6 & View status bar, 6 Full Screen Full Screen
Address bar & Status bar Leave fullscreen | Enter fullscreen & View address bar, 6 & View status bar, 6 Full Screen Full Screen
Tab bar, Address bar & Status bar Leave fullscreen | Enter fullscreen & View page bar, 6 & View address bar, 6 & View status bar, 6 Full Screen Full Screen

! If you want scroll bar in full screen mode, add & Delay, 10 & Enable scroll bars to the end of action code.
# To add, drag & drop button to a toolbar and accept confirmation message.

  • Opera won't show address bar and status bar in inactive tabs.
  • It is not possible to show panel toggle at the edge of the window in full screen mode.

Update: 2009: Feb 2 & 15

How to change hotclick dictionary/encyclopedia site in Opera?

, , , ...

You can change default hotclick dictionary site & encyclopedia site with preferred site.

Opera Hotclick Menu
Hotclick menu

If you don't know how to edit menu setup, see this.

To change dictionary site, under [Hotclick Popup Menu] replace

Item, MI_IDM_SELDICTIONARY = Hotclick search, 50
with
Item, MI_IDM_SELDICTIONARY = Go to page, "http://dictionary.reference.com/browse/%t"


To change encyclopedia site, under [Hotclick Popup Menu] replace

Item, MI_IDM_SELENCYCLOPED = Hotclick search, 51
with
Item, MI_IDM_SELENCYCLOPED = Go to page, "http://en.wikipedia.org/wiki/Special:Search?search=%t"


Go to your preferred dictionary/encyclopedia site → Right click on search box → Create Search... → Details >> → Copy address → Cancel. Replace search URL in above code with copied address and change %s to %t.

Lookup and spell check using WordWeb dictionary/thesaurus

, , , ...

Download WordWeb dictionary/thesaurus (size < 7.5 MB) and install it.

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

Item, WordWeb = Copy & Execute program, "C:\Program Files\WordWeb\wwnotray.exe"

You can spell check only one word at a time. If you have administrator privileges, install Aspell. See Spell-checking With Opera.

WordWeb Dictionary Lookup in Opera Hotclick Popup Menu
WordWeb lookup

WordWeb Spell Check in Opera Edit Widget Popup Menu
WordWeb spell check

WordWeb Suggestions
WordWeb suggestions

Update Opera custom keyboard setup/menu setup/mouse setup/language/dialog files using WinMerge

, , , ...

Updating customized keyboard setup/menu setup/mouse setup/language/dialog files manually is cumbersome and time consuming. You can use file comparision software (Windows: Freeware WinMerge or shareware Beyond Compare, Linux: Meld) to visualize difference and update custom setups easily.

The default keyboard setup, menu setup, mouse setup, dialog files are standard_keyboard.ini, standard_menu.ini, standard_mouse.ini & dialog.ini respectively inside ui folder (defaults for versions below 10) in Opera installation directory.

Your custom files will be inside keyboard, menu & mouse folders in your profile.

Load your setup file and corresponding default file in file comparision software, compare them and update your files.

Opera standard_menu.ini compared with custom menu file using Beyond Compare.
Opera standard_menu.ini compared with custom menu file using Beyond Compare.

Opera standard_menu.ini compared with custom menu file using Winmerge.
Opera standard_menu.ini compared with custom menu file using Winmerge.

Update: Aug 2, 2009

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 toggle/remove menu bar in Opera?

, , , ...

Toggle menu bar using keyboard shortcut
Toggle menu bar using button
Main menu as submenu in right click menu
Main menu via keyboard shortcut
Remove menu bar

Toggle menu bar using keyboard shortcut (ALT+F11)

In your keyboard setup, delete Platform Unix before F11 alt under Application section.

Opera menu bar
Before

Opera menu bar disabled
After

Toggle menu bar using button

Drag & drop Menu (click arrrow to view menu items or click Menu to enable/disable menu bar) or Menu (click to view menu items or click & hold to enable/disable menu bar) button to any toolbar.

Opera menu button
Click Menu to toggle menu bar & arrow to show menu items

Main menu as submenu in right click menu

In your menu setup, add Submenu, Menu, Browser Menu Bar under [Document Popup Menu] section.

Opera main menu as submenu in right click menu
Main menu as submenu in right click menu

Main menu via keyboard shortcut

Create a new keyboard shortcut with action Show popup menu,"Browser Menu Bar"

You can create ALT+F to open File menu, ALT+E to open Edit menu, etc...

f alt = Show popup menu, "Browser File Menu"
e alt = Show popup menu, "Browser Edit Menu"
v alt = Show popup menu, "Browser View Menu"
b alt = Show popup menu, "Browser Bookmarks Menu"
g alt = Show popup menu, "Browser Widgets Menu"
s alt = Show popup menu, "Browser Feeds Menu"
t alt = Show popup menu, "Browser Tools Menu"
w alt = Show popup menu, "Browser Window Menu"
h alt = Show popup menu, "Browser Help Menu"

Remove menu bar

Uncheck Show Menu and restart Opera.

Updates:
2007: Jul 3, Nov 6

"Save with image as..." in Opera file menu & keyboard shortcut

, , , ...

Opera 9.27 & below

File menu

If you don't know how to edit menu setup see this. Add Item, Save with images as = Save document As, 1 under [Browser File Menu] as shown below.

[Browser File Menu]
...
Item, 50003 = Save document
Item, Save with images as = Save document As, 1

Keyboard shortcut: Ctrl+Alt+S

Button: Drag & drop Save button to any toolbar.




Opera 8.54 & below

File menu

Opera save with image as

If you don't know how to edit menu setup see this. Remove Platform Mac under [Browser File Menu] as shown below.

[Browser File Menu]
...
Item, 50003 = Save document
Platform Mac, Item, 50977 = Save document with images as
to
[Browser File Menu]
...
Item, 50003 = Save document
Item, 50977 = Save document with images as

Keyboard shortcut: Ctrl+Shift+S

Open keyboard setup file from keyboard directory in profile and remove ; (semicolon) in line ;s ctrl shift= Save document with images as under [Application] as shown below.
[Application]
...
s ctrl= Save document
;s ctrl shift= Save document with images as
to
[Application]
...
s ctrl= Save document
s ctrl shift= Save document with images as

"Open folder" in Opera transfers right click menu

, , , ...

Open folder in transfers right click menu
"Open folder" in transfers right click menu

If you don't know how to edit menu setup see this. Under [Transfers Item Popup Menu], remove Platform Unix, in the line Platform Unix, Item, 69697= Open transfer folder.

[Transfers Item Popup Menu]
Item, 14134= Resume transfer
Item, 14136= Stop transfer
Item, 67477= Restart transfer
--------------------1
Item, 67478= Delete
Item, 69422= Remove all finished transfers
--------------------2
Include, Internal Shell
Platform Unix, Item, 69696= Open transfer
Platform Unix, Item, 69697= Open transfer folder
--------------------3
Item, 22109= Copy transfer info
to
[Transfers Item Popup Menu]
Item, 14134= Resume transfer
Item, 14136= Stop transfer
Item, 67477= Restart transfer
--------------------1
Item, 67478= Delete
Item, 69422= Remove all finished transfers
--------------------2
Include, Internal Shell
Platform Unix, Item, 69696= Open transfer
Item, 69697= Open transfer folder
--------------------3
Item, 22109= Copy transfer info
Download Opera, the fastest and most secure browser