An open API service indexing awesome lists of open source software.

https://github.com/mamoruds/obsidian-open-link-with

Open external link with specific brower in Obsidian
https://github.com/mamoruds/obsidian-open-link-with

Last synced: 11 months ago
JSON representation

Open external link with specific brower in Obsidian

Awesome Lists containing this project

README

          

# obsidian-open-link-with

[![all downloads](https://img.shields.io/github/downloads/mamoruds/obsidian-open-link-with/total?style=flat-square)](https://github.com/MamoruDS/obsidian-open-link-with)
[![latest release](https://img.shields.io/github/v/release/mamoruds/obsidian-open-link-with?style=flat-square)](https://github.com/MamoruDS/obsidian-open-link-with/releases/latest)

Choose your own way to open external links.

## Installation

### Manual installation

Download zip archive from [releases page](https://github.com/MamoruDS/obsidian-open-link-with/releases). Extract the archive into `/.obsidian/plugins`
Enable `Open Link With` under `Settings > Community plugins > Installed Plugins`

## Usage

Select which browser you want to open external link with in plugin's setting menu.



### Customization

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

```json
{
"waterfox": [
"/Applications/Waterfox.app/Contents/MacOS/waterfox"
],
"waterfox-private": [
"/Applications/Waterfox.app/Contents/MacOS/waterfox",
"--private-window"
]
}
```

For Windows

```json
{
"opera": [
"c:/Users/mamoru/AppData/Local/Programs/Opera/launcher.exe"
],
"opera-private": [
"c:/Users/mamoru/AppData/Local/Programs/Opera/launcher.exe",
"--private"
]
}
```

### Modifier key bindings

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.

## Changelog

[link](./CHANGELOG.md) of changelogs.