=== EzerWeb External Link Alert ===

Contributors: 2K1881
Tags: external links, exit warning, outbound links, navigation alert, accessible dialog
Donate link: https://erickouassi.com/support.html
Requires at least: 5.0
Tested up to: 7.1
Stable tag: 1.0.1
Requires PHP: 7.4
License: MIT
License URI: https://github.com/erickouassi/external-navigation-notice?tab=MIT-1-ov-file

Displays an accessible warning dialog before visitors leave your website through external links.

== Description ==

EzerWeb External Link Alert detects outbound links and displays a customizable warning dialog before visitors navigate away from your website.

The dialog displays the destination URL and a countdown, allowing visitors to either continue to the external website or remain on the current page.

== Features ==

* Automatically detects external links
* Displays a leaving-site warning dialog with live countdown
* Accessible design with focus trapping, Escape key listener, and ARIA attributes
* Animated numerical countdown with pulsing effect
* Background scroll locking while dialog is active
* Shows the destination URL
* Supports bypass rules for selected links
* Ignores internal links automatically
* Ignores anchor links, mailto links, and telephone links
* Lightweight and easy to use

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the Plugins screen in WordPress.

== Frequently Asked Questions ==

= Does the plugin modify my links? =

No. The plugin does not modify URLs or add attributes to links.

= Can some links bypass the warning dialog? =

Yes.

Use:

data-exit-ignore="true"

or:

class="no-exit"

= Are internal links affected? =

No. Internal links are ignored automatically.

= Can visitors close the popup with the Escape key? =

Yes. The dialog includes full keyboard accessibility, allowing users to press `Esc` to close the overlay or use `Tab` to navigate controls within a focus trap.

== Screenshots ==

1. External link warning dialog
2. Destination URL preview

== Changelog ==

= 1.0.1 =

* Added focus trap and Escape key listener for full keyboard accessibility
* Added background scroll locking when the warning dialog is active
* Added smooth pulse scaling animation to the countdown timer
* Replaced brand logo image with customizable warning emoji
* Add donate link
* Add all the require icon and images
* Fix the code for the new tab 

= 1.0.0 =

* Initial release