ctml
Interesting. Some people say this shouldn't happen. This uses JavaScript's window.location.hostname
which is supposed to not care about whether you have a subdomain or not. But, I guess that may be incorrect. Some people may think this is the case, but obviously it's not true.
Eventually I may find a better solution, and I know you won't love this and others won't either, but this is all I have time for right now... You may update to the latest version (3.2), and you can now manually go into this extension's extend.php file and you will see where you can list domains that you want to exclude. Line 23:
var excludes = ['domain0.com','www.domain1.com','domain2.com']; // Optionally exclude domains here
Also, at the very least this lays the ground work for someone who has more time and is more skilled than me to come along, fork this, and make a version with admin settings. They can use the same JavaScript this extension now uses which is able to do all of the following (and just add admin settings and a database table for more easily excluding the domains):
- Opens most internal links in the same tab (except subdomains)
- Opens external links in a new tab
- And with a manual tweak, can prevent certain URLs from opening in a new tab if you'd like
Have a great weekend everyone! I must TRY to not be on the computer all day today. 😀