Browser beta

Handling special links

Special links are links that open specific programs when clicking on them (for example, a link with an email address launches an email program).

The following web protocols are used to handle special links:

  • mailto to open an email application.
  • webcal to add events to a calendar.

Installing protocol handlers

Each protocol has its own handlers which are provided by the corresponding web services. The sites for certain web services offer to install protocol handlers. When this happens, the SmartBox displays the icon (for the mailto protocol) or (for the webcal protocol).

If the web service's site doesn't offer to install a protocol handler, you can download it yourself:

Set Yandex.Mail as the mailto protocol handler

Note. If you turn on the Yandex.Mail Button extension, Yandex.Mail will be assigned as the handler for mailto links. To undo this, click the Settings button in the extension description.

  1. Go to the Yandex.Mail page.
  2. Use the keyboard shortcut Ctrl + Shift + J (Windows) or + + J (Mac OS) to open the JavaScript console.
  3. Enter the following command in the console, then press Enter:
    navigator.registerProtocolHandler("mailto",
                                      "https://mail.yandex.com/compose?mailto=%s",
                                      "Yandex.Mail");
  4. The right part of the SmartBox should display the icon . Click it and allow Yandex.Mail to open all mailto protocol links (select Use Yandex.Mail). Click Done.
Tip. To close the JavaScript console, use the icon
[no-highlight[

In the top right corner of the console

]no-highlight]
  or the keyboard shortcut Ctrl + Shift + J (Windows) or + + J (Mac OS).
Set Yandex.Calendar as the webcal protocol handler
  1. Go to the Yandex.Calendar page.
  2. Use the keyboard shortcut Ctrl + Shift + J (Windows) or + + J (Mac OS) to open the JavaScript console.
  3. Enter the following command in the console, then press Enter:
    navigator.registerProtocolHandler("webcal","https://calendar.yandex.ru/import?url=%s","Yandex.Calendar");
  4. The right part of the SmartBox will show the icon . Click it and allow Yandex.Calendar to open all webcal protocol links (select Use Yandex.Calendar). Click Done.
Tip. To close the JavaScript console, use the icon
[no-highlight[

In the top right corner of the console

]no-highlight]
  or the keyboard shortcut Ctrl + Shift + J (Windows) or + + J (Mac OS).

Managing protocol handlers

To view the list of active installed protocol handlers, follow these steps:

  1. Click the button
    [no-highlight[

    In the top right corner of the browser window

    ]no-highlight]
      Settings.
  2. In the lower part of the Settings page, click the Show advanced settings button.

  3. In the Privacy section, click Content settings.

  4. In the Handlers section, click Manage handlers.

The Protocol Handlers window shows a list of all installed handlers. You can manage installed protocol handlers in this window.

Change the website specified as a protocol handler
  1. Open the drop-down list and select one of the installed handlers.
  2. Click Done.

Disable protocol handlers
  1. Open the drop-down list and select the option (none).
  2. Click Done.

Delete a specific website from the list of handlers for the selected protocol
  1. Select a service from the list and click the link
    [no-highlight[

    The link appears when moving the mouse to the protocol row

    ]no-highlight]
    remove this site.
  2. Click Done.

Prohibiting protocol handling

To prohibit protocol handling, follow these steps:

  1. Click the button
    [no-highlight[

    In the top right corner of the browser window

    ]no-highlight]
      Settings.
  2. In the lower part of the Settings page, click the Show advanced settings button.

  3. In the Privacy section, click Content settings.

  4. In the Handlers section, select Do not allow any site to handle protocols.

special links
protocol handlers
mailto
webcal