Convert save site preferences button for Opera USB?

Forums » General Opera topics » Customizing Opera

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

9. April 2010, 13:45:56

Polypheme

Posts: 21

Convert save site preferences button for Opera USB?

A long time ago someone (Tamil?) posted a custom button for the desktop install of Opera that allows me to save the site preferences I want for a particular webpage. This is very useful if I do not want to login each time I go to the website (for example, newspaper registration). However, the script for the desktop button is not the same style of the script that is used for buttons in Opera USB. Can someone more savvy than me rewrite the desktop script so that it works in Opera USB?

The original button script is in the [Bookmarks Panel Toolbar.content] section of the toolbar.ini file of the desktop install and reads:

Button20, "Edit site preferences"=Edit site preferences, , , , "Lock Panel" & Cycle to next page & Focus next widget & Uncheck item & Click default button + Edit site preferences & Cycle to next page & Focus next widget & Check item & Click default button

This is a crosspost from the OperaUSB Forum. Thanks.

10. April 2010, 07:50:11

Moderator

Tamil

:-(|)

Posts: 115322

Originally posted by Polypheme:

However, the script for the desktop button is not the same style of the script that is used for buttons in Opera USB.

Nope, same.

12. April 2010, 12:28:31

Polypheme

Posts: 21

OK, thanks but that doesn't help me. Here is the toolbar.ini file from Opera USB:

standard_toolbar.ini

Where in the toolbar.ini file do I put the block preferences script mentioned above so that it will place that button on the toolbar?

12. April 2010, 15:49:57

Moderator

Tamil

:-(|)

Posts: 115322

Add the following under [Customize Toolbar Custom.content] after closing Opera.
Button3, "Edit site preferences"=Edit site preferences, , , , "Lock Panel" & Cycle to next page & Focus next widget & Uncheck item & Click default button + Edit site preferences & Cycle to next page & Focus next widget & Check item & Click default button
Start Opera, drag & drop that button from SHIFT+F12 > Buttons > My Buttons to required toolbar.

13. April 2010, 15:55:57

Polypheme

Posts: 21

Worked like a charm (although I mistakenly edited the toolbar.ini file in the ui folder instead of the one in the profile folder). Many thanks Tamil, for this and other tips.

Forums » General Opera topics » Customizing Opera