Here is a small code snippet allowing to skip Open/Save us popup downloading a .zip file:
In case we download .csv file:
..or pdf file:
We can also apply settings for a list of all downloadable files:
(application/... 부분은 엔터없이 "application/x-xpinstall;application/x-zip;application/x-zip-compressed;application/octet-stream;application/zip;application/pdf;application/msword;text/plain;application/octet"같이 붙여 쓸 것)
The best place in code to apply setPreferences of Firefox is @BeforeClass:
'Working, Studying, 잡다구리보관소 > IT, Science' 카테고리의 다른 글
모의해킹 시 유용한 크롬 플러그인 (0) | 2014.09.05 |
---|---|
크롬 URL 리스트(Chrome URLs) (0) | 2014.09.04 |
크롬 앱중에 분명히 스토어에 있는데 검색이 안되는 앱들은 뭘까.... (0) | 2014.08.19 |
ALM(Application LifeCycle Management) 위한 소프트웨어 (0) | 2014.06.11 |
맥에서 root 패스워드 설정하기 (0) | 2014.06.05 |