绿色版浏览器DIY,大家别乱用网上的非官方绿色版,自己动手吧,很简单!(2015-11-26更新)

第一步:准备工具:7z解压缩,安装后。

下载firefox,Chrome,360极速版V8+,世界之窗6四款浏览器的安装文件,别安装,用7zip打开;这步可解决Chrome安装文件不能安装的老毛病!

第二步:解压到你的专门存放绿色软件的目录中,记得别放在系统盘中!

第三步:精简文件,把用不上的一些DLL、EXE等文件删除,当然有顾虑可以不删。下面分别介绍:

360极速浏览器8.x或7.x

安装包二次解压后,根目录只留360chrome.exe一个文件,

和8.1.0.295文件夹(版本号)~其文件夹中只保留除Locales 子文件夹,其它子文件夹都可删除~如果经常上网银保留plugins子目录,可在浏览器地址栏输入chrome://plugins自定义要启动的插件8.1.0.295文件夹所有exe文件都可删除,名称中带swf的DLL文件也可删除,我们还是用系统经常更新的Flash插件更好些!

嗯,将默认的广告过滤规则文件也删除了,那二个规则文件太大了太低效,到http://bbs.theworld.cn/thread-231668-1-1.html下个过滤规则吧!

最后提一下,最好将 设置-广告拦截 页面的“管理例外网站”中的白名单全删了

360的制作也就完成了,360chrome.exe锁定到任务栏就行了,运行后,在根目录生成User Data文件夹,好做设置并安装好常用的插件就可以将之备份云或USB。现在在User Data文件夹中新建一个批处理清理垃圾文件:

:: rd/s/q "Media Cache"2>NUL
cd Default
rd/s/q "Pepper Data"
md "Pepper Data"
rd/s/q IndexedDB
md IndexedDB
del/q ChromeDWriteFontCache
del /s/f/q "Application Cache\*"
del /s/f/q "Media Cache\*"
del /q "Local Storage\http*"
del /s/f/q Cache\*
del /s/f/q GPUCache\*
del /q bookmarks_*
::del /q JumpListIcons\*
::del /q JumpListIconsOld\*
del /s/q *.tmp
del /s/q *.bak
::del /s/q *.log
::del /s/q *.old
echo.&echo.
::pause

世界之窗6

这步和360差不多,毕竟同源嘛。

6.2.0.128文件夹中子目录只保留Locales,名称中带swf的DLL文件也可删除

第四步一并讲了:

根目录右击theworld.exe新建快捷方式:命名好,在快捷方式 页 :目标框尾部加参数: --user-data-dir=..\data

注意这里是用相对路径,直接在Exe文件所在目录建立个人配置目录

将刚刚建立的快捷方式附加到开始菜单或任务栏中,运行生成Data目录,进入目录新建个批处理:

cd Default
del /q bookmarks.big
del /q bookmarks_*
del /q History*
del /q "Media Cache\*"
del /q JumpListIcons\*
del /q JumpListIconsOld\*
del /s/q *.tmp
del /s/q *.bak
:: echo.&echo.
pause
最后上面提到的BBS下载个过滤规则文件。


Firefox简单讲一下,毕竟其它地方讲得太多了:

同上,也是新建快捷方式......加参数: /Prefetch:1 -turbo -profile ..\profiles

记住别用-p参数。profiles目录和Firefox.exe所在目录同级,这样不易搞混

清理、备份批处理:

@echo off
taskkill /im firefox.exe
@echo 关闭火狐浏览器后自动开始备份……
ping -n 3 127.1>nul
::取得当前批处理所在路径
cd /d %~dp0
::设置要备份目标的路径
set ProfilesPath=..\..\
rd/s/q "%ProfilesPath%cache2"
rd/s/q "%ProfilesPath%crashes"
rd/s/q "%ProfilesPath%datareporting"
rd/s/q "%ProfilesPath%gmp"
rd/s/q "%ProfilesPath%gmp-eme-adobe"
rd/s/q "%ProfilesPath%gmp-gmpopenh264"
rd/s/q "%ProfilesPath%minidumps"
rd/s/q "%ProfilesPath%safebrowsing"
rd/s/q "%ProfilesPath%sessionstore-backups"
rd/s/q "%ProfilesPath%startupCache"
rd/s/q "%ProfilesPath%webapps"
del /s/q "%ProfilesPath%*.swf"
del /s/q "%ProfilesPath%*.tmp"
del /s/q "%ProfilesPath%*.bak"
del /s/q "%ProfilesPath%Cache*"
del /s/q "%ProfilesPath%*Cache"
::del /s/q "%ProfilesPath%bookmarkbackups"
del /s/q "%ProfilesPath%fftmp"
del /s/q "%ProfilesPath%healthreport*"
del /s/q "%ProfilesPath%LocalAppData\Temp\*"
::del /q "%ProfilesPath%gm_scripts\*.db-wal"
del /q "%ProfilesPath%places.sqlite*"
del /q "%ProfilesPath%webapps*"
del /q "%ProfilesPath%cookies.sqlite"
::设置备份存放的路径以及压缩包文件名,通常使用的是长日期那么就是%date:~5,2%%date:~8,2%)
set ArchiveName=..\..\..\Profiles_%date:~5,2%%date:~8,2%.7z
::设置要打包的文件以及文件夹,请酌情自己添加
7z.exe u -up1q3r2x2y2z2w2 %ArchiveName% "%ProfilesPath%*"
@echo 备份已完成!


Chrome制作步骤基本同360极速,快捷方式参数参考世界之窗6

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值