Opera FAQs, Tips, Tricks & Tweaks

Tips for Opera browser since 2005

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.

5 years on My OperaChange Opera Speed Dial background image automatically

Comments

Angelikiellinidata Sunday, October 4, 2009 3:57:09 AM

wow!!! very brainy things again!
it will take sometime for me to digest but trust me I will be back again and again till I get all of them heart thanks!

lucideer Sunday, October 4, 2009 4:10:01 AM

Wow, macros - this I was completely unaware of. Excellent.

Now all we need is someone to develop a recorder... left right

Mağruf ÇolakoğluZAHEK Sunday, October 4, 2009 10:22:50 AM

bigsmile

Sarah angel292005 Sunday, October 4, 2009 1:55:32 PM

up

KarenNerak Tuesday, October 6, 2009 5:04:01 PM

Originally posted by Chas4:

Edit: banana


lol

banana Thanks for the tip, Tamil! banana

Tamil Tuesday, October 6, 2009 11:05:10 PM

Charles SchlossChas4 Tuesday, October 6, 2009 11:51:35 PM

:towels:

KarenNerak Wednesday, October 7, 2009 12:25:54 AM

lol Don't wipe up after him, Chas. It's far more funny with a ginormous puddle of drool! yes banana

endless lovepersianweblog Saturday, October 10, 2009 9:55:43 AM

up

NibelungT Friday, October 16, 2009 6:10:41 PM

bravo, Tamil
banana

KimberlySqueakeyCat Saturday, October 17, 2009 5:21:12 PM

Tamil, how do people get the little picture next to their name in a post and how do i put one next to mine? also, how do they get the little icons in the same line as the title, but at the right side????

plz help, ty

Tamil Saturday, October 17, 2009 5:34:30 PM

Originally posted by SqueakeyCat:

how do people get the little picture next to their name in a post and how do i put one next to mine?

You have to add CSS code for each user as shown below in your custom style sheet page.
.comment-by a[href='/Tamil/']:after {
    content:url(http://my.opera.com/community/graphics/smilies/monkey.gif);
    padding-left:4px;
    display:inline-block;
    vertical-align:middle;
    }

Originally posted by SqueakeyCat:

how do they get the little icons in the same line as the title, but at the right side????

You have upload icons for tags.

KimberlySqueakeyCat Saturday, October 17, 2009 5:58:08 PM

ok, thanks, Tamil...will work on it after i get my watch list taken care of...

thanks for all your help with things

Strathos Sunday, October 25, 2009 9:24:44 AM

On those where there's a "show details" button, you can use
Set visibility, "Advanced_group", 1
On [Bookmark Folder Menu] I've got
Item, M_DOCUMENT_POPUP_MENU_BOOKMARK_PAGE		= Add to bookmarks, -2, "hotlistid" & Set visibility, "Advanced_group", 1

Unregistered user Saturday, March 6, 2010 8:56:54 PM

Nev writes: Tamil, I need your advice very much ! My ISP shut me down because I was hacked ! When I got back to my blog, I found I was a "banned user", I previously had big problems with a member by the name of Macallan. I presume my ban was as a result of that. However I had asked the moderators for help many times, with no reply. Can you advise me please, I have tried sending emails to the moderators, to ask why I was banned, but no reply ! I like the Opera Forums greatly and would like to get back to my blog ! best regards, Nev, email, nevyok@hotmail.com.au ps. the murderer of the lovely little Indian boy should be hanged to death !

Tamil Sunday, March 7, 2010 8:58:46 AM

Did they unban you?

Tamil Thursday, January 20, 2011 12:08:50 AM

Action to send link in mail.
Copy link & Compose mail & Delay, 50 & Focus next widget & Focus next widget & Focus next widget & Focus next widget & Delay, 50 & Paste & Focus previous widget & Focus previous widget & Focus previous widget & Focus previous widget

experttease Thursday, January 20, 2011 11:48:25 AM

Woah, thanks Tamil! Where do I put this awesome little piece of code?

edit1: OK, I put it as the action next to the shortcut: ctrl shift e, as I was doing before, and it composes an email, but it doesn't quote the address in the address bar. What have I done wrong?

Tamil Thursday, January 20, 2011 11:52:14 AM

Do you want to create keyboard shortcut or menu item?

experttease Thursday, January 20, 2011 12:03:13 PM

keyboard shortcut please smile

edit: in the context menu on a web page there's the option "send link by mail". is it possible to include the F8 function in the automation?

Tamil Thursday, January 20, 2011 12:15:44 PM

Originally posted by experttease:

in the context menu on a web page there's the option "send link by mail"

It is for sending current page link.

Create a new keyboard shortcut under application section with the following action.
Send document address in mail

experttease Thursday, January 20, 2011 12:34:37 PM

How did I miss that one?! Such an idiot, thanks for your help!

Tamil Thursday, January 20, 2011 2:00:12 PM

You can find action code in ui\standard_menu.ini file.

Unregistered user Saturday, July 23, 2011 3:08:30 AM

Anonym writes: I have added this line to the "Quick Preferences Menu" section to switch content blocking: Item, D_NEW_PREFS_ENABLE_CONTENT_BLOCKER=Set preference, "Network|Enable Content Blocker=1" | Set preference, "Network|Enable Content Blocker=0"

Unregistered user Wednesday, April 25, 2012 4:58:20 AM

J.C. writes: For Example 2: Enable "Open tabs inside current window" in manage sessions dialog. I found that it wouldn't work but if I added an extra "& Focus next widget" (and previous widget to balance it) it worked as expected (opera v11.62). So the replacement line reads now: Item, M_BROWSER_SESSION_MENU_MANAGE = Select session, -1 & Focus next widget & Focus previous widget & Focus previous widget & Focus previous widget & Click button & Focus next widget & Focus next widget

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies