Since Opera 7.10, you can add new buttons to Opera with drag'n'drop from a webpage. Since Opera 7.50, you can also drag links from a web page to create search fields or search buttons. The search fields can be placed on normal toolbars, without having to edit search.ini
. Search buttons can be placed next to a search field or to the address field, enable the Search panel in 7.5+ for the prime example of this use. Clicking the custom links on this page will open the 'Customize toolbars' dialog and place the field or button on the 'My buttons' tab.
On this page you'll find technical info and some examples. Also on offer is a dedicated page for search buttons and search fields that are especially suited for use in ODict, the standalone Opera dictionary tool. The dictionaries, thesauri, encyclopedias, reference works and translation services from that page might also be useful for others , so click here for more searches.
This special type of hyperlink is recognized by Opera:
<a href="opera:/edit/Search,"<search URL>""
title="<default field text>">
Clickable and draggable link</a>
<a href="opera:/button/Search,"<search URL>""
title="<default button text>">
Clickable and draggable link</a>
The double quotes around the search URL have to be escaped, so they come out as %22
. In the search URL, the placeholder %s
is used in the position of the search term, just like search strings in search.ini. Copy one of the links to have a look at how they're put together.