Created
April 4, 2015 17:06
-
-
Save zhufenggood/8de9cc7c7f1e568198c4 to your computer and use it in GitHub Desktop.
Block any Flash video site p2p upload (windows)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Echo Off | |
REM 32 bit windows | |
if exist "%windir%\System32\Macromed\Flash\mms.cfg" echo RTMFPP2PDisable=1 >> "%windir%\System32\Macromed\Flash\mms.cfg" | |
REM 64 bit windows | |
if exist "%windir%\SysWOW64\Macromed\Flash\mms.cfg" echo RTMFPP2PDisable=1 >> "%windir%\SysWOW64\Macromed\Flash\mms.cfg" | |
REM chrome on windows | |
if exist "%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\" mkdir "%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\System" | |
if exist "%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\System" echo RTMFPP2PDisable=1 >> "%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\System\mms.cfg" | |
REM have a see | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment