屏蔽国内视频网站Flash上传方法

之前发的贴,屏蔽国内搜狐sohu,优酷youku,爱奇艺iqiyi等Flash上传方法

然后这里是批处理,将一下代码复制,保存成bat后缀,运行即可
@echo off
::Chrome中屏蔽Flash上传
IF exist "%localappdata%\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\System\" (
echo RTMFPP2PDisable=1 >> "%localappdata%\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\System\mms.cfg"
) else (
mkdir "%localappdata%\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\System\"
echo RTMFPP2PDisable=1 >> "%localappdata%\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\System\mms.cfg"
)
::Windows系统屏蔽Flash上传
IF exist %windir%\system32\Macromed\Flash\mms.cfg (
echo RTMFPP2PDisable=1 >> %windir%\system32\Macromed\Flash\mms.cfg
)
IF exist "%windir%\syswow64\Macromed\Flash\mms.cfg" (
echo RTMFPP2PDisable=1 >> %windir%\syswow64\Macromed\Flash\mms.cfg
)
pause

Related Articles

Quote Of The Day