PHPackages                             devmindslab/link-redirect-confirm - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. devmindslab/link-redirect-confirm

ActiveFlarum-extension[Utility &amp; Helpers](/categories/utility)

devmindslab/link-redirect-confirm
=================================

Require confirmation before opening external links posted in Flarum.

v1.0.4(3mo ago)0108MITJavaScript

Since Jan 28Pushed 3mo agoCompare

[ Source](https://github.com/DevMindsLab/link-redirect-confirm)[ Packagist](https://packagist.org/packages/devmindslab/link-redirect-confirm)[ RSS](/packages/devmindslab-link-redirect-confirm/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

External Link Confirmation (Flarum)
===================================

[](#external-link-confirmation-flarum)

This extension shows a confirmation modal before opening external links posted anywhere in the forum.

Features
--------

[](#features)

- Confirmation modal for external links
- Whitelist support (domains without confirmation)
- Automatically excludes the forum's own domain
- Shows the destination URL in the modal

Installation
------------

[](#installation)

```
composer require devmindslab/link-redirect-confirm

```

Configuration
-------------

[](#configuration)

Set a whitelist in the Admin panel (comma-separated). Wildcards are supported via `*.example.org`.

By default, the forum's own domain is always allowed.

Whitelist behavior
------------------

[](#whitelist-behavior)

Whitelisted domains skip the confirmation modal and open in the same tab. Non-whitelisted external links show the modal and open in a new tab after confirmation.

If you want whitelisted external links to also open in a new tab, you can optionally combine this extension with the Flarum extension walsgit/external-links-in-new-tab.

That extension forces all external links to open in a new tab and works well together with this confirmation extension.

You can install it via Composer using `composer require walsgit/external-links-in-new-tab`.

Translations
------------

[](#translations)

The extension ships with German and English translations located in `resources/locale/de.yml` and `resources/locale/en.yml`.

Additional languages can easily be added by copying `en.yml` and translating the strings.

Styling
-------

[](#styling)

You can fully customize the modal via LESS variables, e.g.:

- `--link-redirect-confirm-modal-max-width`
- `--link-redirect-confirm-modal-padding`
- `--link-redirect-confirm-modal-radius`
- `--link-redirect-confirm-modal-bg`
- `--link-redirect-confirm-header-bg`
- `--link-redirect-confirm-title-color`
- `--link-redirect-confirm-body-color`
- `--link-redirect-confirm-overlay-bg`
- `--link-redirect-confirm-buttons-gap`

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance79

Regular maintenance activity

Popularity13

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

110d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/206451371?v=4)[DevMindsLab](/maintainers/DevMindsLab)[@DevMindsLab](https://github.com/DevMindsLab)

### Embed Badge

![Health badge](/badges/devmindslab-link-redirect-confirm/health.svg)

```
[![Health](https://phpackages.com/badges/devmindslab-link-redirect-confirm/health.svg)](https://phpackages.com/packages/devmindslab-link-redirect-confirm)
```

###  Alternatives

[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[fof/user-bio

Add a user bio to user profiles

2196.5k9](/packages/fof-user-bio)[flarum/extension-manager

An extension manager to install, update and remove extension packages from the interface (Wrapper around composer).

12211.5k](/packages/flarum-extension-manager)[flarum/nicknames

Allow users to set nicknames.

10288.4k9](/packages/flarum-nicknames)[flarum/pusher

See new discussions and posts in real-time using Pusher.

22367.3k4](/packages/flarum-pusher)[fof/drafts

Allow users to create post and discussion drafts

1771.1k5](/packages/fof-drafts)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
