Skip navigation.

Opera FAQs, Tips, Tricks & Tweaks

Cool tips for Opera browser

Posts tagged with "Dialog"

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.

More Color Schemes in Opera

, , , ...

Opera has 9 color schemes by default and you can change it from Tools > Appearance... > Skin > Color scheme. Following will add 140 (including 6 duplicates) color schemes.

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

[or]

  1. 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.
  2. Under [Customize Toolbar Dialog] section replace line starting with Dropdown, 0, Skin_color_scheme_dropdown with the following and save.
    Dropdown, 0, Skin_color_scheme_dropdown, 100, 290, 150, 23, Move down = Disable skin coloring,,,D_COLOR_SCHEME_NO_COLOR_S | Use system skin coloring,,,D_COLOR_SCHEME_SYSTEM_COLOR_S | Set skin coloring, #583F28,,D_COLOR_SCHEME_GOLD | Set skin coloring, #9A8454,,D_COLOR_SCHEME_SAND | Set skin coloring, #479B65,,D_COLOR_SCHEME_JUNGLE | Set skin coloring, #4E7A94,,D_COLOR_SCHEME_SEA | Set skin coloring, #283358,,D_COLOR_SCHEME_BLUE | Set skin coloring, #606090,,D_COLOR_SCHEME_INDIGO | Set skin coloring, #43354D,,D_COLOR_SCHEME_PURPLE | Set skin coloring, #BE324C,,D_COLOR_SCHEME_CRIMSON | Set skin coloring, #801010,,D_COLOR_SCHEME_RED | | Set skin coloring, #F0F8FF,,Alice Blue | Set skin coloring, #FAEBD7,,Antique White | Set skin coloring, #00FFFF,,Aqua | Set skin coloring, #7FFFD4,,Aquamarine | Set skin coloring, #333366,,Atlas Blue | Set skin coloring, #F0FFFF,,Azure | Set skin coloring, #F5F5DC,,Beige | Set skin coloring, #FFE4C4,,Bisque | Set skin coloring, #000000,,Black | Set skin coloring, #FFEBCD,,Blanched Almond | Set skin coloring, #0000FF,,Blue. | Set skin coloring, #8A2BE2,,Blue Violet | Set skin coloring, #A52A2A,,Brown | Set skin coloring, #DEB887,,Burly Wood | Set skin coloring, #5F9EA0,,Cadet Blue | Set skin coloring, #7FFF00,,Chartreuse | Set skin coloring, #D2691E,,Chocolate | Set skin coloring, #FF7F50,,Coral | Set skin coloring, #6495ED,,Cornflower Blue | Set skin coloring, #FFF8DC,,Cornsilk | Set skin coloring, #DC143C,,Crimson. | Set skin coloring, #00008B,,Dark Blue | Set skin coloring, #008B8B,,Dark Cyan | Set skin coloring, #B8860B,,Dark Golden Rod | Set skin coloring, #A9A9A9,,Dark Grey | Set skin coloring, #006400,,Dark Green | Set skin coloring, #BDB76B,,Dark Khaki | Set skin coloring, #8B008B,,Dark Magenta | Set skin coloring, #556B2F,,Dark Olive Green | Set skin coloring, #FF8C00,,Dark Orange | Set skin coloring, #9932CC,,Dark Orchid | Set skin coloring, #8B0000,,Dark Red | Set skin coloring, #E9967A,,Dark Salmon | Set skin coloring, #8FBC8F,,Dark Sea Green | Set skin coloring, #483D8B,,Dark Slate Blue | Set skin coloring, #2F4F4F,,Dark Slate Grey | Set skin coloring, #00CED1,,Dark Turquoise | Set skin coloring, #9400D3,,Dark Violet | Set skin coloring, #FF1493,,Deep Pink | Set skin coloring, #00BFFF,,Deep Sky Blue | Set skin coloring, #696969,,Dim Grey | Set skin coloring, #1E90FF,,Dodger Blue | Set skin coloring, #B22222,,Fire Brick | Set skin coloring, #FFFAF0,,Floral White | Set skin coloring, #228B22,,Forest Green | Set skin coloring, #FF00FF,,Fuchsia | Set skin coloring, #DCDCDC,,Gainsboro | Set skin coloring, #F8F8FF,,Ghost White | Set skin coloring, #FFD700,,Gold. | Set skin coloring, #DAA520,,Golden Rod | Set skin coloring, #808080,,Grey | Set skin coloring, #008000,,Green | Set skin coloring, #ADFF2F,,Green Yellow | Set skin coloring, #F0FFF0,,Honey Dew | Set skin coloring, #FF69B4,,Hot Pink | Set skin coloring, #CD5C5C,,Indian Red | Set skin coloring, #4B0082,,Indigo. | Set skin coloring, #FFFFF0,,Ivory | Set skin coloring, #F0E68C,,Khaki | Set skin coloring, #E6E6FA,,Lavender | Set skin coloring, #FFF0F5,,Lavender Blush | Set skin coloring, #7CFC00,,Lawn Green | Set skin coloring, #FFFACD,,Lemon Chiffon | Set skin coloring, #ADD8E6,,Light Blue | Set skin coloring, #F08080,,Light Coral | Set skin coloring, #E0FFFF,,Light Cyan | Set skin coloring, #FAFAD2,,Light Golden Rod Yellow | Set skin coloring, #D3D3D3,,Light Grey | Set skin coloring, #90EE90,,Light Green | Set skin coloring, #FFB6C1,,Light Pink | Set skin coloring, #FFA07A,,Light Salmon | Set skin coloring, #20B2AA,,Light Sea Green | Set skin coloring, #87CEFA,,Light Sky Blue | Set skin coloring, #778899,,Light Slate Grey | Set skin coloring, #B0C4DE,,Light Steel Blue | Set skin coloring, #FFFFE0,,Light Yellow | Set skin coloring, #00FF00,,Lime | Set skin coloring, #32CD32,,Lime Green | Set skin coloring, #FAF0E6,,Linen | Set skin coloring, #FF00FF,,Magenta | Set skin coloring, #800000,,Maroon | Set skin coloring, #66CDAA,,Medium Aqua Marine | Set skin coloring, #0000CD,,Medium Blue | Set skin coloring, #BA55D3,,Medium Orchid | Set skin coloring, #9370D8,,Medium Purple | Set skin coloring, #3CB371,,Medium Sea Green | Set skin coloring, #7B68EE,,Medium Slate Blue | Set skin coloring, #00FA9A,,Medium Spring Green | Set skin coloring, #48D1CC,,Medium Turquoise | Set skin coloring, #C71585,,Medium Violet Red | Set skin coloring, #191970,,Midnight Blue | Set skin coloring, #F5FFFA,,Mint Cream | Set skin coloring, #FFE4E1,,Misty Rose | Set skin coloring, #FFE4B5,,Moccasin | Set skin coloring, #FFDEAD,,Navajo White | Set skin coloring, #000080,,Navy | Set skin coloring, #FDF5E6,,Old Lace | Set skin coloring, #808000,,Olive | Set skin coloring, #688E23,,Olive Drab | Set skin coloring, #FFA500,,Orange | Set skin coloring, #FF4500,,Orange Red | Set skin coloring, #DA70D6,,Orchid | Set skin coloring, #EEE8AA,,Pale Golden Rod | Set skin coloring, #98FB98,,Pale Green | Set skin coloring, #AFEEEE,,Pale Turquoise | Set skin coloring, #D87093,,Pale Violet Red | Set skin coloring, #FFEFD5,,Papaya Whip | Set skin coloring, #FFDAB9,,Peach Puff | Set skin coloring, #CD853F,,Peru | Set skin coloring, #FFC0CB,,Pink | Set skin coloring, #DDA0DD,,Plum | Set skin coloring, #B0E0E6,,Powder Blue | Set skin coloring, #800080,,Purple. | Set skin coloring, #FF0000,,Red. | Set skin coloring, #BC8F8F,,Rosy Brown | Set skin coloring, #4169E1,,Royal Blue | Set skin coloring, #8B4513,,Saddle Brown | Set skin coloring, #FA8072,,Salmon | Set skin coloring, #F4A460,,Sandy Brown | Set skin coloring, #2E8B57,,Sea Green | Set skin coloring, #FFF5EE,,Sea Shell | Set skin coloring, #A0522D,,Sienna | Set skin coloring, #C0C0C0,,Silver | Set skin coloring, #87CEEB,,Sky Blue | Set skin coloring, #6A5ACD,,Slate Blue | Set skin coloring, #708090,,Slate Grey | Set skin coloring, #FFFAFA,,Snow | Set skin coloring, #00FF7F,,Spring Green | Set skin coloring, #4682B4,,Steel Blue | Set skin coloring, #D2B48C,,Tan | Set skin coloring, #008080,,Teal | Set skin coloring, #D8BFD8,,Thistle | Set skin coloring, #FF6347,,Tomato | Set skin coloring, #40E0D0,,Turquoise | Set skin coloring, #EE82EE,,Violet | Set skin coloring, #F5DEB3,,Wheat | Set skin coloring, #FFFFFF,,White | Set skin coloring, #F5F5F5,,White Smoke | Set skin coloring, #FFFF00,,Yellow | Set skin coloring, #9ACD32,,Yellow Green
  3. Enter path to Dialog Configuration file and save.
  4. Restart Opera.

Opera Color Scheme
More color schemes

Optional: Add HTML Named Colours & HEX Codes panel to view colors.

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

Update: Aug 2, 2009

Opera delete private data dialog tweaks

, , , ...

Delete private data dialog tweaks will

  1. Remove Detailed Options button.
  2. Add buttons for all items except Clear all e-mail account passwords & Clear all Wand passwords (to prevent accidental deletion) and you can quickly delete a single item without clearing previously selections. Buttons with * will reset your previous selection(s).
  3. Add two buttons for Clear history of visited pages, one to Clear history of visited links and another to Clear history of typed-in addresses.

Opera delete private data dialog after tweak
Opera delete private data dialog after tweak

Download (file contains all dialog tweaks) or create a text file dialog-modified.ini with following content, enter path to Dialog Configuration file, save and restart Opera.

Opera Preferences version 2.0
; Dialog specification file for Opera 7.0
; This file is stored in UTF-8 encoding

[Clear Private Data Dialog]
Title = DI_CLEAR_ALL_PRIVATE_DATA
Group, 0, , 0, 0, 0, 0, Size
;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, Details_expand, 0, 65, 300, 23, Size right, End = Switch groups, "Advanced_group"
;Group, 0, Advanced_group , 20, 90, 410, 300, Size right
Group, 0, , 0, 60, 410, 300, Size right
Checkbox, DI_IDM_CLEAR_NPCOOKIES, Delete_temporary_cookies, 0, 0, 250, 23, Size right
Button, * Delete Temporary Cookies,, 230, 0, 180, 23, Move right = Set Preference, "Clear Private Data Dialog|CheckFlags=4" & Delete private data & Click default button & Close page, 1 & Delay, 10 & Close page, 1
Checkbox, DI_IDM_CLEAR_ALLCOOKIES, Delete_all_cookies, 0, 30, 250, 23, Size right
Button, Manage Cookies,, 230, 30, 87, 23, Move right = Manage cookies
Button, * Delete Cookies,, 320, 30, 88, 23, Move right = Set Preference, "Clear Private Data Dialog|CheckFlags=1" & Delete private data & Click default button & Close page, 1 & Delay, 10 & Close page, 1
Checkbox, DI_IDM_CLEAR_PASSDOCS, Delete_passworddocs_and_data, 0, 60, 250, 23, Size right
Button, * Delete Password Protected Pages,, 230, 60, 180, 23, Move right = Set Preference, "Clear Private Data Dialog|CheckFlags=2" & Delete private data & Click default button & Close page, 1 & Delay, 10 & Close page, 1
Checkbox, DI_IDM_CLEAR_CACHE, Clear_cache, 0, 90, 250, 23, Size right
Button, Delete Cache, Empty_cache_now_button, 230, 90, 180, 23, Move right = Clear disk cache & Delay, 10 & Close page, 1
Checkbox, DI_IDM_CLEAR_GLOBHIS, Clear_visited_pages, 0, 120, 250, 23, Size right
Button, Clear Visited,, 230, 120, 87, 23, Move right = Clear visited history & Delay, 10 & Close page, 1
Button, Clear Typed-in,, 320, 120, 88, 23, Move right = Clear typed in history & Delay, 10 & Close page, 1
Checkbox, DI_IDM_CLEAR_DOWNHIS, Clear_transferred_files_history, 0, 150, 250, 23, Size right
Button, Clear All Finished Transfers,, 230, 150, 180, 23, Move right = Manage, "transfers" & Remove all finished transfers & Close page, 1
Checkbox, D_CLEAR_PRIVATE_DATA_CLEAR_BOOKM_VISITEDTIME, Clear_bookmark_visited_time, 0, 180, 250, 23, Size right
Button, * Clear Bookmark Visited Time,, 230, 180, 180, 23, Move right = Set Preference, "Clear Private Data Dialog|CheckFlags=1024" & Delete private data & Click default button & Close page, 1 & Delay, 10 & Close page, 1
Checkbox, DI_IDM_CLEAR_MAILPASS, Clear_email_account_passwords, 0, 210, 250, 23, Size right
Checkbox, DI_IDM_CLEAR_WANDPASS, Clear_wand_passwords, 0, 240, 250, 23, Size right
Button, D_CLEAR_PRIVATE_DATA_MANAGE_WAND_PW,, 230, 240, 180, 23, Move right = Manage wand
Checkbox, D_CLEAR_PRIVATE_DATA_CLOSE_ALL, Close_all_windows, 0, 270, 250, 23, Size right
Button, Empty Trash,, 230, 270, 87, 23, Move right = Empty page trash
Button, Close All Tabs,, 320, 270, 88, 23, Move right, End = Close all
You have to update dialog-modified.ini when you install major version of Opera.

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

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

Download Opera, the fastest and most secure browser