Automatic Link Targeting

View Demonstration in Webflow

Usage Notes

In most situations, you will automatically want external links to open in a new tab.

This library automatically looks for FQDN links such as https://... and adds a target=_blank.

It will only add a target if none is specified.

Getting Started ( NOCODE )

STEP 1 - Add the Library

There are currently no configuration options for this library, so we’ll use a no-code integration approach.

Install JS in BODY, site-wide or on the specific pages you want the script to affect.

<script type="module" src="https://cdn.jsdelivr.net/gh/sygnaltech/webflow-util@4.2/src/nocode/webflow-url.js"></script>

See above notes.