Link Decisions
Abandoned
A Flarum extension which lets people choose how to open links within post content in a cool way. I have tested this on a laptop and an iPhone in three different browsers and it works for me. Others in the replies below have said it doesn't always work for them. If it doesn't work for you, I apologize in advance but this is a free extension and like I said, the current version works fine for me with no errors. There is no translation support. But, if you read through the thread below, and/or search through Github, you might find a fork which does have translation support.
Installation
composer require zerosonesfun/link-decisions
Extra
Add this to your Custom CSS (admin appearance page) to add an external link icon at the end of external links. Important: Replace mysite.com with your domain name. (Thanks @UaMV for posting this tip long ago here.)
a[href*="//"]:not([href*="mysite.com"]) {
position: relative;
}
a[href*="//"]:not([href*="mysite.com"]):after {
content: "\f35d";
font-family: "Font Awesome 5 Free";
position: relative;
top: -.4em;
padding: 0 .4em;
font-size: 70%;
}
.sweet-alert a[href*="//"]:not([href*="mysite.com"]):after {
display: none;
}
Updating
composer update zerosonesfun/link-decisions
php flarum cache:clear
Removing
composer remove zerosonesfun/link-decisions
Links