Last active
February 19, 2022 07:30
-
-
Save PassionPenguin/1df2d3d8dab8ea5b9dd03b787dadad52 to your computer and use it in GitHub Desktop.
Enable Flash
This file contains 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
REM Enable Flash in Chrome via Reg. | |
@echo off | |
echo Windows Registry Editor Version 5.00 > com.google.Chrome.reg | |
echo.>>com.google.Chrome.reg | |
echo [HKEY_CURRENT_USER\Software\Policies\Google\Chrome\PluginsAllowedForUrls]>>com.google.Chrome.reg | |
echo "1"="https://*">>com.google.Chrome.reg | |
echo "2"="http://*" >> com.google.Chrome.reg | |
REGEDIT com.google.Chrome.reg | |
del /f /s /q com.google.Chrome.reg |
This file contains 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
# Enable Flash => in macOS X | |
curl https://raw.githubusercontent.com/timsutton/mcxToProfile/master/mcxToProfile.py --output mtp.py | |
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE plist PUBLIC \"-//Apple/DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"><plist version=\"1.0\"><dict> <key>PluginsAllowedForUrls</key> <array> <string>https://*</string> <string>http://*\"</string> </array></dict></plist>" >> com.google.Chrome.plist | |
sudo python ./mtp.py --plist com.google.Chrome.plist --identifier com.google.Chrome | |
open ./com.google.Chrome.mobileconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment