Rules

The Rules tab lists rules. Rules tell Linklever which browser to open.

When opening a link, Linklever starts at the top of the rule list. It moves down and selects the first matching rule. If there are multiple matches, it selects the first match. If there is no match, it selects the catch-all rule, which matches any URL.

Anatomy of a Rule

Each rule consists of a pattern, a type, a browser, and a profile.

Pattern

Patterns are regular expressions. For help creating patterns, follow our Pattern Guide.

Type

The type specifies whether to select a browser based on the URL or the app.

Url: Linklever chooses a browser by matching the URL.

App: Linklever chooses a browser by matching the name of the app that has focus when link is clicked.

On macOS, support for the App rule type requires that Linklever remain running.

On Linux, support for the App rule type has some dependencies.

For example, if Pattern is .*example.com.*$, Type is Url, and Browser is Safari, then all links for example.com will open in Safari.

For example, if Pattern is Microsoft Teams, Type is App, and Profile is Microsoft Edge, then all links opened in Microsoft Teams will open in Edge.

Browser

This is the browser that Linklever will open.

The available browsers are listed in the drop-down menu.

Profile

This is the browser profile that Linklever will open for the given URL.

The available profiles for the selected browser are listed in the drop-down menu.

Rule operations

Add

To add a rule, fill in the fields at the bottom of the app, and click the add button.

Example URL rule:

Example app rule:

Delete

To delete a rule, select it, and click the delete button.

Promote

To promote a rule (move it up the list), select it, and click the promote button.

It is not possible to promote the catch-all rule.

Demote

To demote a rule (move it down the list), select it, and click the demote button.

Saving

Changes are saved immediately on edit; there is no save button.