Use inline script to open url in new tab