Improved edit link switchover when CORS support absent.