Thread:Project:Support desk/External link opens in new window on request but not always :-(/reply (3)

Yes, replace the old script with the new one and it should work. Be sure to hard-reload the page (CTRL+R) or clear the cache to ensure it gets loaded.

And yes, I managed to simplify the script by using jQuery, which is loaded by default on MediaWiki and provides a lot of shorthands to do the same in fewer lines of code :)