aws-lex-web-ui icon indicating copy to clipboard operation
aws-lex-web-ui copied to clipboard

refreshing main window on link clicked with a matching domain

Open pdkn opened this issue 3 years ago • 0 comments

Markdown <a href> links open in a new window by default. If you want links of a specific domain to refresh the current window rather than launch a new one you can add the domain to match in the config ui.refreshWindowOnLinkClick. Using a matching string allows you to set the value to; a full domain name (including subdomain prefix) or a root domain (excluding subdomain prefix). i.e

ui.refreshWindowOnLinkClick = "" (default) all links will launch a new window
ui.refreshWindowOnLinkClick = "amazon.com" current window will refresh if any links match this root domain
ui.refreshWindowOnLinkClick = "www.amazon.com" or "aws.amazon.com" current window will only refresh if links match the subdomain

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

pdkn avatar Nov 25 '20 13:11 pdkn