I have an idea that I've been throwing around since learning that Firefox 3 scans downloaded files ( http://www.ghacks.net/2008/06/04/disable-automatic-virus-scanning-in-fir... ), using locally installed virus scanning software... that is, is there a way to change that setting in order to stipulate that Firefox Portable use ClamWin Portable instead? This way, Firefox Portable 3 would still be entirely portable, instead of relying on software (virus scanner) installed on the local machine.
So far all I've come up with is to use Download Statusbar ( https://addons.mozilla.org/en-US/firefox/addon/26 ) , and set the "Anti-Virus program location" as your copy of ClamWinPortable.exe. There are two problems that I've identified so far:
1) you must know the commands to pass along in the "Arguments" field ( http://dlstatusbar.proboards43.com/index.cgi?board=dlscan&action=display... or type "clamwinportable.exe --help" (w/o quotes) in a command prompt which is currently in the folder which contains clamwinportable.exe), and
2) the addon requires the full path be specified, and not just the relative path.
I would imagine there might be an entry in about:config, but so far I've found nothing.
Any ideas, anyone??? I think this is a worthwhile question, as it affects the portability of everyone's beloved Firefox Portable. Opinions?
P.S. - a related idea: once this concept is accomplished, go the next step and have ClamWin auto-update before scanning any downloaded files. So far I have ClamWin do this anyhow (see below), but I'm not yet sure how you might implement this when it auto-scans downloaded files.
Create a batch file, located in the root of the folder containing ClamWinPortable.exe, with the following contents:
start /wait ClamWinPortable.exe --mode=update --close
start ClamWinPortable.exe
Launch ClamWin using that batch file.
No longer works! It appears (fromt he last thread @ dlstatusbar forum noted above - http://bit.ly/KS2vk) that it no longer likes the "=" in the suggested arguments to make this work. Does anyone have a workaround or identified another option?
[quote author=KillerD board=dlscan thread=696 post=4350 time=1227649724]The correct command which works is:
"-d c:\docume~1\alluse~1\.clamwin\db %1"
if you want a log to see if everything is working, try:
"-d c:\docume~1\alluse~1\.clamwin\db --verbose -l c:\log.txt %1"
The problem is ClamScan does not like the windows directory naming system but prefers [b]DOS 8.3 file/directory naming system[/b].
I.E - no spaces, thus no quotes.
[/quote]
The quote above is fromt he dlstatusbar forum again. Not sure how to make the slution portable though. Any help would be appreciated.