Dynamic Web TWAIN: Modifying or removing Loading bars / Icons

Scenario: You would like to remove or edit the following overlay that appears when scanning with Dynamic WebTWAIN:

Solution:

During Scanning Operation:

    1. Open dynamsoft.webtwain.install.js file
    2. Comment out the following code and add your own customized code
function OnWebTwainPreExecuteCallback(){ 
// Dynamsoft.WebTwainEnv.OnWebTwainPreExecute(); 
} 

function OnWebTwainPostExecuteCallback(){ 
// Dynamsoft.WebTwainEnv.OnWebTwainPostExecute(); 
}

During Loading/ Downloading Operations:

Unfortunately disabling the prompts is not available for loading or downloading documents at this time.