From dbfc1f88d5dd47bc1703b3b01dfd5187d2515f91 Mon Sep 17 00:00:00 2001 From: tiyn Date: Wed, 15 May 2024 00:30:36 +0200 Subject: [PATCH] nativefier: added url unblock --- wiki/nativefier.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/wiki/nativefier.md b/wiki/nativefier.md index 83e8c95..268069b 100644 --- a/wiki/nativefier.md +++ b/wiki/nativefier.md @@ -37,6 +37,22 @@ nativefier --name Mastodon \ --single-instance https://mastodon.technology ``` +By default URLs that are not belonging to the one that is given by `--single-instance` will be +blocked. +There is an unchangeable whitelist. +Single URLs that are not on the whitelist can be excluded and so not be blocked by using the +`--internal-urls` flag. +A complete example using this flag can look like the following. + +```sh +nativefier --name Mastodon \ +--platform linux --arch x64 \ +--width 1024 --height 768 \ +--tray --disable-dev-tools \ +--internal-urls 'outlook.office365.com/*' \ +--single-instance https://mastodon.technology +``` + ### Navigating Back and Forward In a normal [browser](/wiki/web_browser.md) there are buttons to navigate back and forth through