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
The pattern matches a URL or app name.

For help creating patterns, follow our Pattern Guide.
Type
The type specifies how Linklever handles a matching link.


URL
Linklever chooses a browser by matching the URL.
For example, if Pattern is example.com, Type is Url, and Browser is Safari, then all links for example.com will open in Safari.
App
Linklever chooses a browser by matching the name of the app that has focus when link is clicked.
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.
On macOS, support for the App rule type requires that Linklever remain running.
On Linux, support for the App rule type has some dependencies.
Ask
When a URL matches an Ask rule, a browser picker appears. You can type to search for a browser and select one with the arrow keys and Enter or by clicking on it.

If there is more than one profile for the selected browser, a profile picker appears.

You can check Remember to create a new rule for the URL.
App
This is the app (usually a browser) that Linklever will open.

The available browsers are listed in the drop-down menu. The list may have different options on your system.

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, click the add button.

In the row that appears, fill in the fields, and click the confirm button.

To cancel, click the cancel button.

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.

Testing
To preview which browser will launch, type a URL into the address bar. The Launch button will show the matched browser name.
