Ocasio External Links New Tab
Automatically opens outbound external links in a new browser tab with secure rel="noopener noreferrer" attributes.
by Kevin Ocasio · github.com/kevinocasio/ocasio-external-links-new-tab · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/kevinocasio/ocasio-external-links-new-tab/archive/refs/heads/main.zipLightweight WordPress plugin that automatically opens outbound external links in a new browser tab with secure
rel="noopener noreferrer"attributes.
Overview
When visitors click external links on your website, you don't want them navigating away permanently. Ocasio External Links New Tab scans your post and page content dynamically, detecting outbound links and adding target="_blank" with secure rel="noopener noreferrer" attributes.
Features
- Automatic Link Detection: Parses outbound external links and forces them to open in new tabs.
- Internal Link Protection: Keeps your own site links opening in the same tab.
- Security Hardened: Adds
rel="noopener noreferrer"to eliminate reverse tab hijacking vulnerabilities. - Zero Front-End Assets: Operates entirely in PHP with 0 bytes of extra CSS or JS loaded on public pages.
- Instant Dashboard Toggle: Manage active status directly under Ocasio Plugins -> Dashboard.
Installation
- Download
ocasio-external-links-new-tab.zipfrom Releases. - In your WordPress admin dashboard, navigate to Plugins -> Add New Plugin -> Upload Plugin.
- Choose the downloaded
.zipfile and click Install Now. - Click Activate Plugin.
- Check your settings under Ocasio Plugins -> Dashboard.
Author & Support
- Author: Kevin Ocasio
- Plugin Page: Ocasio External Links New Tab on KevinOcasio.com
- WordPress Plugins: Free WordPress Plugin Directory
- Software Portfolio: Live Projects & Digital Assets
- Tools & Resources: Recommended Tech Stack & Tools
- License: GPL-2.0-or-later