🚀 Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
users
/
2
/
fujibow
/
web
/
@180914
/
js
✏️
Editing: externallink.js
$(function(){ var conf = { className : 'externalLink' }; var v = new RegExp(/^\d+\.\d+/); if ( $().jquery.match(v)-0 < 1.3 ) var a = 'a[@href^="http"]'; else var a = 'a[href^="http"]'; $(a).click(function(){ var host_name = new RegExp(location.hostname); if(!$(this).attr('href').match(host_name)){ window.open($(this).attr('href'), "_blank"); return false; } }).addClass(conf.className); });
💾 Save Changes
❌ Cancel