Leaving Notice Popup For External Links – nofollow, noopener & New Tab
Leaving Notice Popup for External Links is a lightweight WordPress plugin that displays a customizable exit confirmation popup whenever a visitor clicks an external link, giving them a moment to continue or stay on your site.
Beyond the leaving notice, the plugin lets you fully manage your outbound links: automatically apply rel attributes like nofollow, noopener, noreferrer, sponsored, ugc, and external; display SVG icons next to external links; choose whether the Continue button opens links in a new tab or the same tab; and whitelist trusted domains so they bypass the popup entirely.
It is an essential tool for affiliate marketers, government sites, educational portals, and any site that needs exit confirmation dialogs or legal disclaimers for third-party content.
Why use this plugin?
* Leaving Notice Popup: Show a fully customizable exit confirmation modal whenever a visitor clicks an outbound link, protecting your traffic and reducing unintended exits.
* nofollow, noopener & More: Automatically add rel="nofollow", rel="noopener", rel="noreferrer", rel="sponsored", rel="ugc", or rel="external" attributes to external links for better SEO control and security.
* Open in New Tab Control: Choose whether the Continue button opens external links in a new tab or the same tab.
* External Link Icons: Display one of 5 built-in SVG icons next to outbound links, with left/right positioning and an option to skip icons on linked images.
* Smart Domain & URL Whitelist: Exclude trusted affiliate partners or sister sites by domain or exact URL; they will open without triggering the popup.
* CSS Class Exclusion: Skip the popup and rel attribute processing entirely for links that carry specific CSS classes.
* Advanced Page Filtering: Restrict the leaving notice to specific Page IDs, or enable it conditionally on archives, categories, and the home page using built-in filters.
Key Features
- Customizable Popup: Change the title, message, and button text to match your brand
- Button Color Control: Choose custom colors for both the “Continue” and “Stay” buttons
- rel Attributes: Add nofollow, noopener, noreferrer, sponsored, ugc, or external to outbound links
- New Tab Toggle: Control whether Continue opens the external link in a new tab or same tab
- SVG Link Icons: Show one of 5 icons beside external links, positioned left or right
- Domain Whitelist: Exclude specific domains from triggering the notice
- URL Whitelist: Exclude specific URLs from triggering the notice
- CSS Class Exclusion: Skip links that carry a specified CSS class
- Page-Level Filtering: Show the popup only on chosen pages, posts, archives, or categories
- Widget Support: rel attribute processing also applies to widget text areas
- Responsive Design: Works perfectly on all devices and screen sizes
- Accessible: Built with accessibility best practices
- Lightweight: Minimal impact on page load time with deferred script loading
- Easy Setup: No coding required, just activate and configure
Use Cases
- Show an exit confirmation dialog when visitors click outbound links
- Add nofollow to external links to protect SEO link equity
- Add noopener and noreferrer to external links for security
- Mark affiliate links with rel=”sponsored” per Google’s guidelines
- Display an external link icon to signal outbound navigation
- Provide a legal disclaimer before visitors leave for third-party sites
- Whitelist trusted domains so affiliate partners open without interruption
- Meet legal or compliance requirements for certain jurisdictions
Privacy
This plugin does not collect or store any personal data from your visitors.
My other small free plugins projects on WordPress
- Super Web Share – For Native social sharing
- Copy Link to Heading – quickly add a copy icon near to your headings
- Social Profile Frame Generator – Custom Social Media Frames Creator
