참고 : 이 지침은 Windows에만 적용되지만 다른 OS에서는 작동합니다. 이 솔루션은 PDF.js 및 / 또는 다른 PDF 뷰어 플러그인 을 비활성화 하지 않으면 PDF에서 작동하지 않습니다 . Firefox에서 직접 열 수있는 파일 (예 : MP3 파일, 이미지, 비디오, text/plain
파일 등) 에서도 작동하지 않습니다 .
이 솔루션은 원하는만큼 사용자 상호 작용이 자유롭지 않지만 사용자 정의 버전의 Firefox를 제공 할 수 있거나 각 사용자의 컴퓨터에서 배치 스크립트를 실행할 수있는 경우 다음을 시도 할 수 있습니다.
최신 베타 버전의 자동 저장 폴더 (ASF) 설치
이와 같은 도메인의 모든 종류의 파일과 일치하는 필터를 작성하십시오.
또한 첫 번째 설치 안내서 를 읽으십시오

Save File
저장 대화 상자에서
자동으로 선택하도록 ASF 구성
FEBE를 설치 하고 브라우저 프로파일 (기본 설정 포함)을 백업하고 개별 컴퓨터에 복원
또는 사용자 컴퓨터에서 배치 스크립트를 실행할 수있는 경우 다음 스크립트를 실행하십시오 (ASF가 설치된 후).
파일 이름 : ASF.bat 구성
@ECHO OFF
:: Firefox가 실행 중이거나 그렇지 않으면 prefs.js가 업데이트되지 않으면 Firefox를 종료하십시오.
START ""/ WAIT / B "taskkill"/ F / IM firefox.exe
:: Firefox의 사용자 프로파일 디렉토리를 찾아서 탐색하십시오.
SET ProfileDir = % APPDATA % \ Mozilla \ Firefox \ 프로필
CD / D % 프로필 Dir %
FOR / F "토큰 = * USEBACKQ"%% F IN (`dir / A : D / B ^ | "default"찾기) DO (
"ProfileDir = % ProfileDir % \ %% F"설정
)
CD / D % 프로필 Dir %
:: 'extpref.txt'에서 ASF 환경 설정을 읽고 Firefox 환경 설정 파일에 추가
TYPE % ~ dp0 % \ extpref.txt >> prefs.js
:: 각 사용자의 사용자 이름이 변경되어야하므로 "다운로드"경로를 찾으십시오.
:: 폴더 및 prefs.js에 추가
SET DownloadsDir = % USERPROFILE % \ 다운로드
ECHO user_pref ( "extensions.asf.filters0.folder", "% DownloadsDir : \ = \\ %"); >> prefs.js
ECHO user_pref ( "extensions.asf.lastpath", "% DownloadsDir : \ = \\ %"); >> prefs.js
중지
파일 이름 : extpref.txt
user_pref ( "extensions.asf.dialogForceRadio", true);
user_pref ( "extensions.asf.dialogaccept", true);
user_pref ( "extensions.asf.filters0.active", true);
user_pref ( "extensions.asf.filters0.domain", "*");
user_pref ( "extensions.asf.filters0.domain_regexp", 거짓);
user_pref ( "extensions.asf.filters0.filename", "*");
user_pref ( "extensions.asf.filters0.filename_regexp", 거짓);
user_pref ( "extensions.asf.filtersNumber", 1);
user_pref ( "extensions.asf.tempdomain", "http://chrisblattman.com");
user_pref ( "extensions.asf.useDownloadDir", true);
user_pref ( "extensions.asf.version", "1.0.5bRev128");
user_pref ( "extensions.asf.viewdloption", true);
user_pref ( "extensions.asf.viewpathselect", true);
user_pref ( "extensions.asf@mangaheart.org.install-event-fired", true);
스크립트는 입력을 extpref.txt
스크립트 자체와 동일한 폴더에 있어야하며 ASF에 대한 환경 설정을 포함해야합니다.이 환경 설정은 Firefox의 환경 설정 파일 (prefs.js)에서 업데이트됩니다.
about:config
아래 에서 환경 설정을 읽 extensions.asf.*
거나 prefs.js
일반적으로 폴더에 있는 환경 설정을 얻을 수 있습니다 .
% APPDATA % \ Mozilla \ Firefox \ Profiles \ ????????. default \
만들 때 extpref.txt
메이크업을 반드시 포함하지 않는 extensions.asf.filters0.folder
및 extensions.asf.lastpath
그들은 각 사용자에 대해 다를 수 있기 때문이다.