Choose your own way to open external links.
Download zip archive from releases page. Extract the archive into <your vault>/.obsidian/plugins
Enable Open Link With
under Settings > Community plugins > Installed Plugins
Select which browser you want to open external link with in plugin's setting menu.
Put your custom profile in plugin's settings menu. Profile should contain name(string): commands(string[])
which is demonstrated in the following:
PS. If the name in the user defined profile is same as the preset, it will be ignored.
Examples:
For MacOS
{
"waterfox": [
"/Applications/Waterfox.app/Contents/MacOS/waterfox"
],
"waterfox-private": [
"/Applications/Waterfox.app/Contents/MacOS/waterfox",
"--private-window"
]
}
For Windows
{
"opera": [
"c:/Users/mamoru/AppData/Local/Programs/Opera/launcher.exe"
],
"opera-private": [
"c:/Users/mamoru/AppData/Local/Programs/Opera/launcher.exe",
"--private"
]
}
The plugin supports multiple open settings by binding modifier key after version 0.1.5
. You can set the modifier key bindings to match your personal preferences through the plugin's settings menus.
By default, any modifier key and any mouse button (left or middle button) click will use the global browser, i.e. the browser profile selected in the setting Browser
. You can create a custom modifier binding by clicking the New
button and setting whether the binding is triggered only by middle mouse button clicks. You can create multiple bindings to personalize the plugin's behavior, and the bindings will be matched from top to bottom.
For example, in the above setting, the link will be opened by chrome when shift is pressed and the middle mouse button is clicked; the link will be opened by safari when shift is pressed and the left mouse button is clicked; in other cases, it will be opened by global browser firefox.
link of changelogs.