Skip to content

Customization: custom buttons

szyk (grenadier) edited this page Sep 17, 2018 · 1 revision
  1. The code for the buttons on the toolbars should be put to toolBars.json file in a profile.
  2. The commas are important! In the group of the same entries a comma should be placed at the end of each entry, but not after last entry in the group. Otherwise the toolbar will disappear in the Otter Browser.

  1. Notes:
    • below is the code of custom "Main bar" toolbar with following buttons:
      • "Open in Firefox/Opera/Vivaldi/Chromium/Chrome" buttons with the icon of these browsers, in Base64 format;
      • "Open with" menu button with a list of the applications from a system, which are registered to open "text/html" mime type. The menu button has assigned "text-html" icon from the theme.
    • "urlPlaceholder" can be: {clipboard}, {frameUrl}, {imageUrl}, {linkUrl}, {pageUrl}, {selection}
  2. The code:
	...
	},
	{
		"actions": [
			{
				"identifier": "OpenUrlAction",
				"options": {
					"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAIpElEQVR42q1XCVRU5xX+3nszb1YYhs0RBZQBUaNGrbFqXOu+RFOxGuPWqLHWVGtbj2hSTa2aGNMUNYvlWJrjrjHdTiwxLid6YlXikbggKmJARRgGgRlnhhnmbb1vEAQRgp7+8OY9Hu/d+917v+/+dxg84wq3ddDIksgxdM1qtJK7rER8FjtMWx+M6tQlLHnQ+AlRXV8co0+w/8hs75zAai3hfAQD0et+4CkquiM4vr9QnnvmaMHXX2ZXFl/z/F8AtOvWp13PGYtXRg2eNt8VMEd43SI4E0dRM2Do4K1c6DlFAoL3BZijNeBLqlzVOf/8W/5//rq5/Pr58mcCoLfEMKlj5y6wL1i52a2xWGWGgRyUEawSyKkWnJGDXCuB03MN7yiKQh+AtdqJ2qAZUo23uuzIhysLju3OqqkqU34QwKhUvsuVUvGmV99R12v2uh3cc5Nm12rIpqCAj+QhBSQyKsHQwRCKvqUVcLiQZvoCScm9sPNKCipzs/fk7V//uqfsVqBFALFmRn9iSeSFl/coU6Jf3f6hmDBonCg9Aq1G3MOYj2h9Bc5oxoNhW05rrcOP2io3Jkbvw4qpVqw99RK+O5N7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MnK81KfuKnVlH75Yup9u+J5autbLG8tyPVyRFvzspNmzowwmhzsETDCh4tC+6JQ0u1Jik3Orbuz4tvr+MiuFt0UkbAtLbjfyYuXHWJeOjw4YZOUZXt102fbkOlKKUBIT731T7cg6UuTNv+YNf0U2hNeNPU2OtjmXsvc2GIXTNJhn4rokGPuluIFh8w1d7ySVKlWVB8Y5PkmnnQTUdbfq6/j8Tf1+eVvqC9wAAAABJRU5ErkJggg==",
					"text": "Open in Firefox"
				},
				"parameters": {
					"application": "firefox",
					"urlPlaceholder": "{pageUrl}"
				}
			},
			{
				"identifier": "OpenUrlAction",
				"options": {
					"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEUklEQVR42sWXf2xTVRTH32vXbmvXjnXrurYbZe0GhF8GpuJvITBmDDDij4AJjAQ0MAMaxX9IxAw1+JdEQzRGCfIrMQiJgvMPR5AQZoZxIAEkA+lat/V1a7tfdaVr19fn94ZJaHfvbbfMeJOTc94795z3uffde995ovA/N3EqQWfM9llGUeWEaYDIkOGhpOxdF5K6/zOALpuzVq9SNcCsg5gZ3fogLXeTySMVUue5aQHw2pxLDSrVAZiPTHJwl0aSyR0OqfPylAH6y6vegfoIkpPmikA+/SMe+ykhKOJD2rzncP0GRJfWbwyyq7jnzoFJA+Dh+6B2U1zhkCwvm+P3/P7gzVvWykdL1OqfYeopMU2A2Js1QNDu2qoSxa9ofkVRdpT43J8x4t5G3McUF8KULYg7nBGgvczhrMzRXGOMJNQcHSnf3N8bowF8XlSav15v9MEsorgjfjmxcIHf6+ECYOpPQr0k0NshTOVWgdMQfwxqI8N9AvEbmAC/WCqq52pyO2CqaNExRWmw+dzHeADYrq9hu37JcMtdibHqxb1/3Z+FFADQvw+1h5X8Snx0UW2g5zoPoNlsf/jx3PzfOF3ewyx8wAJoh6phBConImHj64OBER7AJ0Xm0k36wj5OlzYAPDEBYP8Mc97mgsIwTA0jMILAAiFDe9do0rxlNI0KjNeIFvs28rehcbBvLAXgVIlt/vI83Q1O7l4AWDMBjM/kMJSR5W+Pjc6tC/bcSgE4bbavfCo3/ywnrxsAVVkCeKEcLP/1eGzlskD3uXSAtQA4zcl7GwBzsgQgo5vNAagHwJl0gNUA+GGaANxQTg7AGgA0pwM8CYBWTl4vACqzBJCgmOsFAE8DoDUF4JCpzFqvK5A4eQcAUJwlAHcRXhi9a3shJPlTAMYDyTluY8TJxyNh3ZuDgTjv4U2FxdqdhqKowN6GPgyk/N+LdIAjUA2s5K2xaFV90OfmAXxtKnOs1RV4eV0AsIUK8Ke18nmTWv0jKxJ13xqX5GnmAbRZZtbO1mhbWH5USatQJd3f7ikAHxaWqBoNM8gWYu33vaBv4gGE7K7doijuY7hvHh4ZXrBrKKhQAUjz212btKJ4lJHgVwA8xgPAayRV0XKaL6EoL1t87lMP3psAgLNcxFl+HuazlBzKgCwvqfZ7rjKm34XpJzOoprhbAF+XfpNakl20VFTM0+SST6qF4r7QEo2seKXfL1NG/z1UPSWm985YvGZpX9eEbc4sSjuss2rM6hyyWGjl1UlUxNufCXQPkAscYgYcYvthvkrpOziclGudkodannPL8mtljvn2HA0ZFW1RktL8knDvz4isC9rB04kKeh0qaGYRk/HH5Jtiq2FVvp5UMI0Qbab+440cVl+0xaJ7Vgd9YV7HrH/NzpaWz1yizdsG80Xh3pcuPTYJIfXEdzjrD+Ks78km75R+Tg+aLGasD/JlJOuD7OmQlEh0oMoZmmyuKQFMZ/sHgHORMF751JgAAAAASUVORK5CYII=",
					"text": "Open in Opera"
				},
				"parameters": {
					"application": "opera",
					"urlPlaceholder": "{pageUrl}"
				}
			},
			{
				"identifier": "OpenUrlAction",
				"options": {
					"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsSAAALEgHS3X78AAAEP0lEQVRYw72XTWgbVxDHf28lJ7Wtr9RJY5mY+pLcAo50ksCyegwSobdgm5I0SUXISRUxBAT5cM5N3WPlQFso+biYHu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pnzr6VPWjZUjCfHacmtwsDYJNbtakngzP085l6P77FmkDvvCcjbL2tQUpdlZc/BCfNW2Ld+RZa1220ZH6Q0G6fZ4mmJeXV2lnMmwnUxSyWY7wblps1g+FIqi1AaTL412FqpV7R7X1QA1l0WbPsDA+psDL19+0dFotqcoFNXaLeoulcMoVuX7U4uLn+jSUJ3VPlcnFj0XhMBaU6hWMelwyjeBmzXlTdOxwXg+DDhl0HlBdK7wJ0mI1wLmuyVptnE8/wcIvXZyKpTC8gAAAABJRU5ErkJggg==",
					"text": "Open in Vivaldi"
				},
				"parameters": {
					"application": "vivaldi",
					"urlPlaceholder": "{pageUrl}"
				}
			},
			{
				"identifier": "OpenUrlAction",
				"options": {
					"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAHsklEQVR42sVXe3BU5RU/ex+7e/duNs9NIGYJBSJvQSR0HEugToCow1NGmII2U9tmkIFCbKBVSS3QIrYgpSNtLdIChar4KkMHRVrb0D9EKSWEYHEkGENCQPJgn3f37t3bc7577+YmWUdpdfolZ1/3u9/5nd/5nfN916HrOvw/h+N/uff+Jw59BUCHVzY/cAnow5cJYMGju/LlbP+3OE6sAE6YroMj276IA1I3dD15QtfUhnDvJ3te376y6wsBULXi6YK8IaU7BKdrmQM44Hg0jkfjbLfroKc00FIp0LQkUFrVRPxAd2frmmO/Xn/9vwXAza3bvViSs34r8LzP7XKDw+FgBuzfeCfideOFOaa/FAKJKQokk1owGgl+5+j2mpdxZupmAPCz1+7e6ZakR5yiAC6nyCLmTABpIFb85Ni0FJrBRAriiQRaEhQltuvtnTWrcar2eQDwX1vx7C9dkrTC45ZAQMp53sEA8P0AWLeTY0g7T6VMAGhJzbBITAFVif3qnedWrRoIYiAAbsqDW5a6ffkH3C4Xc8yjYwJB0XOcw8ZCZgCaBUCzgBjMJJCNRLhn2am961+wp6MfgEW1zwwpGHnHhaZz7/tcbpcxAWcw5yaANAO2+3QTBEVvsZAa0F+SySSkN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Z12hxv88JdUi9z4vUDwjeShFVxY2IAs1nz2yrXX7PRnsZSsMnzxx/3+pfvEetWDSF2FfvfYsNz3fBHQEJWq9FoLktyH6bOMwHpYVeOIcdsiTfnU6N3TlFT6z0hBTYvLa6/L2GY832RkQNv3D5U39+Preo5B4ZQdgB8Kbq7SNPxoMKCpLyHo1rcD2swswx2agBsR/tVnUkkkb0ra2tR1cuuPNhvHwNbK2YRlbJuDsn3vu9ncckt1uWcA8wDiN9jYfn+p+EaKhJjSk7kOeC20uzGFu63blGGxSVXgJ6Q0pkS+1Ds5vebWjCKSGAAdsxVUNlzdZvjiqfvQURZATAxMc50mlJYK1T2/j62Fy2+VgVgR3XiJyOZipRH4MTbx354bP1K/aS+mHgdmxpAe2WxfWHnioIjLrfgyCsUxFva7+UDWKCRZhMwdhiD4wuls2ojWZDzlWkXcHrvWEFLn7w71fqq2f9ANdvp9xbDgcdyajvoJUs2vDi5oJA2UJRwFy7xLQOrNMR24TQCW21lRPy2TXWjhGAqhmRR2IqhJUktHxw/rVN3656AtelM0AYPu1IZhOkD21oRfXGxaPK56wTRBEzgurmoN+ZkBxOHZEN/mxnX+TY/Mh5KBKnvEfe/evhp/dtraVj+RUqO/iMQ6kdhEyVUTjithHTH3qyLqeotJJjpxtKB8+0kSOLMLHUeEBSNQ0S2HrjZEj9lY9bjh/cVvezj86fbjEVH4HPeSy3p4NOpjloBf7hEwJT5j0yz1cYmISPaBMdvCCPHZaNzww8yz2e9yK93Vebrl3+qPGNfdsOt11obMP76KmoFy0ON/lgYh+CKU7SRpb57kYTJ82cTxsKNP7tTx1EAppi5jhkvscstX/auJmnY0qLkxybxpsGJrWaCYIskYnuTOM/uc6BUelP5+EAAAAASUVORK5CYII=",
					"text": "Open in Chromium"
				},
				"parameters": {
					"application": "chromium-browser",
					"urlPlaceholder": "{pageUrl}"
				}
			},
			{
				"identifier": "OpenUrlAction",
				"options": {
					"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCA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Dl49o9d/548GmW/Zi4HWdzgaS8btv8H0Srwl8MRtXRfHArQ+C8Es3WPzUe5oHlag/Wl3XRA89qy1duGSzuzPUOOv5hv7D8nt67adlZFvuxDBk/2OfDJBWf3DJvd6QqfLMSFKFQafI5EPAhHNOhrNfxUNkJhGjft23O7XTM7ZYuIEUOySR5Um6+eNPO3m/TKnYGSOBSR7KchIyQlF25cubKonkld8kBPhQMq+MgmCcsw8G2gi4sCMe8eFNKWW7MqdvFLVbzyVf+mNq746kBdiw/x8oO/+FQmgsRYpURrMybUXVz9fZgabBNJABJoa2YdkSBDqp1YhrbC3tdh9CRjzKdzgUaXQ0OH541X//OoYH72zsznX7GJ/ERj+W54aDdCfkkRYHycOX01qoVamFgjhyV6+mkHNo9bQBVoukeAw3DSfYPWye7zpvtj7w89NL7XZluWsf+FVHlQ8Nl/jHJHaKfnCw38vyr6j/PPRyzrM74MY7713Q22y81LuffMQsLOzBKvkzcspiFhi/6VO6eavwbHNBvTi+OgkIAAAAASUVORK5CYII=",
					"text": "Open in Chrome"
				},
				"parameters": {
					"application": "google-chrome-stable",
					"urlPlaceholder": "{pageUrl}"
				}
			},
			{
				"identifier": "OpenInApplicationMenu",
				"options": {
					"icon": "text-html",
					"mimeType": "text/html",
				},
				"parameters": {
					"urlPlaceholder": "{pageUrl}"
				}
			}

		],
		"buttonStyle": "auto",
		"fullScreenVisibility": "hidden",
		"identifier": "CustomBar",
		"location": "top",
		"normalVisibility": "visible",
		"row": -1,
		"title": "Main bar"
	},
	{
	...

  1. Notes:
    • the buttons: "Quick preferences", "Show images", "Enable JavaScript", "Plugins"
    • "Show images" and "Plugins" use option from advanced configuration (about:config)
    • "Show images" button has assigned "badge-local" icon from the theme.
  2. The code:
			...,
			"QuickPreferencesAction",
			{
				"identifier": "OptionMenu",
				"options": {
					"icon": "badge-local",
					"option": "Permissions/EnableImages",
				}
			},
			"EnableJavaScriptAction",
			{
				"identifier": "OptionMenu",
				"options": {
					"option": "Permissions/EnablePlugins"
				}
			},
			...

  1. Notes:
    • example button with custom menu has "Menu button" title and "badge-remote" icon from the theme;
    • content of the menu:
      1. New Tab,
      2. New Private Tab, with "qt" icon from the theme,
      3. separator,
      4. custom submenu named "Some submenu", with New Tab and New Private Tab entries,
      5. Enable JavaScript checkbox.
  2. The code:
			...,
			{
				"actions": [
					"NewTabAction",
					{
						"identifier": "NewTabPrivateAction",
						"options": {
							"icon": "qt"
						}
					},
					"separator",
					{
						"actions": [
							"NewTabAction",
							"NewTabPrivateAction"
						],
						"identifier": "CustomMenu",
						"options": {
							"text": "Some submenu"
						}
					},
					"EnableJavaScriptAction"
				],
				"identifier": "CustomMenu",
				"options": {
					"icon": "badge-remote",
					"text": "Menu button"
				}
			},
			...