when trying moodle desktop app I found that it prevents the link from connecting to the app because when its launched it is launched in a new tab
sorry, I can't understand what you mean. Can you please explain it with more details?
Also, which OS are you using? Windows 10, Windows 7, MacOs, ...