Search by

walsgit / external-links-in-new-tab

walsgit

Opens all external links in a new tab

Package info

github.com/WalsGit/external-links-in-new-tab

Forum

Type:flarum-extension

pkg:composer/walsgit/external-links-in-new-tab

Fund package maintenance!

Website

Statistics

Installs: 7 188

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

2.2.1 2026-10-18 21:25 UTC

This package is auto-updated.

Last update: 2026-10-18 21:26:08 UTC


README

License Latest Stable Version Total Downloads Donate here

A Flarum extension.

Opens all external links in a new tab:

  • Links inside posts are handled on the backend (target="_blank" rel="noopener noreferrer" is added when posts are rendered).
  • Other external links on the forum frontend (menus, navigation bar, etc.) are opened in a new tab on click event.
  • When Flarum is installed in a subfolder (example.tld/flarum), links to other paths (example.tld/blog) are considered external.

Versions

Starting with the version 2.0.0 of this extension, it will only be compatible with Flarum v2.*. Latest version of the extension compatible with Flarum v1.8.* is walsgit/external-links-in-new-tab:"1.2.0".

Installation

Install with composer:

composer require walsgit/external-links-in-new-tab:"*"

Updating

composer update walsgit/external-links-in-new-tab:"*"
php flarum cache:clear

Notes

Links