Fixing unwanted error message in Muse

Some users might experience a weird error message in Muse after uploading saying:
“Some files on the server may be missing or incorrect. Clear browser cache and try again. […]”

This is a bug that Adobe needs to fix, but didn’t just yet.

So here is a quickfix for that issue:
(no sound, just watch)

And here is the code:

// Redirect alert() to console 
window.alert = function(msg) 
console.log('Conmunicator suppressed alert() : ' + msg); 
return true;