Problems using external filters
Posted: Sun Sep 16, 2012 4:19 pm
I have made a custom external filter for Noscript using Sophos command line scanner and a custom script to scan plugin content before they are displayed by Firefox. The problem is that the scan completes successfully (takes about 13 seconds) but the plugin does not load.
The source of the script which works as the interface between the scanner and Noscript is as below:
MIMEtypes to be filtered are: No exceptions are present.
Please help me with this issue.
Thanks in advance.
The source of the script which works as the interface between the scanner and Noscript is as below:
Code: Select all
::pluginfilter.cmd
@echo off
::Check if both parameters are present
if "%~1"=="" (
exit /B 1
)
if "%~2"=="" (
exit /B 1
)
::Append current directory to path variable
set path=%~dp0;%path%
::Start scanner
sav32cli.exe "%1"
::Copy the file if file is clean
if %errorlevel%==0 (
copy "%1" "%2"
if not %errorlevel%==0 (
exit /B 1
)
exit /B 0
)
Code: Select all
shockwave|futuresplash|java
Please help me with this issue.
Thanks in advance.