HTTPS Only - README
With this tool, browser can only access HTTPS addresses, and all other protocols(HTTP, etc) are disabled. Optionally, you can configure whitelist of domains - your browser will be unable to access outside of whitelist.
If browser tries to access HTTP address, you will have three options: try HTTPS, Google Cache, or copy-and-paste the address.
How to use:
1. Run the "httpsonly.py" script
2. Change the proxy of browser to PAC file(displayed by "httpsonly.py")
3. Visit "switch" URL(displayed by "httpsonly.py") to disable or enable HTTPS Only
Configuration:
txt/socks.txt - SOCKS proxy for HTTPS connection(such as "localhost:9999". The default value is empty, which means direct connection)
txt/ip.txt - IP address for the service of "httpsonly.py"(the default value is 127.0.0.1, which means localhost)
txt/port.txt - Port number for the service of "httpsonly.py"(the default value is 5000)
txt/whitelist.txt - Whitelist of domains allowed for browser to access(the default value is empty, which means all domains are accessible)
txt/switch.txt - If the content is "whatever", the "switch" URL will be "http://whatever.arpa/"(the default value is empty, which means random)
Visit project home page https://www.httpsonly.net/ for detailed information.
HTTPS Only, Version 3.1 - visit https://www.httpsonly.net/#v3.1 to check whether it's up to date.