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
- Host: GitHub
- URL: https://github.com/mamoruds/obsidian-open-link-with
- Owner: MamoruDS
- License: mit
- Created: 2021-04-14T08:35:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T08:51:48.000Z (over 3 years ago)
- Last Synced: 2025-03-31T03:14:41.176Z (over 1 year ago)
- Language: TypeScript
- Size: 596 KB
- Stars: 42
- Watchers: 1
- Forks: 3
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# obsidian-open-link-with
[](https://github.com/MamoruDS/obsidian-open-link-with)
[](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.