Skip to content

Instantly share code, notes, and snippets.

@bdunnette
Created July 12, 2016 20:35
Show Gist options
  • Save bdunnette/0e19c2b9dc0e8a780a85038c0ead8854 to your computer and use it in GitHub Desktop.
Save bdunnette/0e19c2b9dc0e8a780a85038c0ead8854 to your computer and use it in GitHub Desktop.
// In SpectrumMin.js, find the ChooseViewer function...
function ChooseViewer(){var viewer=null;
// Insert the following line before if(wPressed||aPressed)...
if(IsChrome()){wPressed=true;} // If user is running Chrome, sets web viewer as default to avoid SIS download
if(wPressed||aPressed){if(SystemParms.SessionMode=="IVD"){alert("WebViewer is disabled in IVD mode");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment