Do not use this if you use the latest SEO extension. The SEO extension now includes an external links in a new tab feature.
I'll still keep this available just in case someone doesn’t use the SEO extension and wants to use this. But, I personally will be going with the SEO extension.
What is this?
A minimal no non-sense Flarum extension which opens only external links in a new tab. Internal links are left alone. Why is it called "elint?" External Links In New Tab.
Some folks ask: Isn't there already an external links extension? Yes/no. There's an extension out there which opens all links in a new tab. This one only touches the external links so that links to other posts (internal links) still open in the same window. This also adds a class called "external-links" to external links so you may style them differently if you'd like. Plus, it ensures external links have "noopener," "nofollow," and "ugc" attributes.
composer require zerosonesfun/elint
composer update zerosonesfun/elint
composer remove zerosonesfun/elint