By modifying the registry, the purpose of modifying the IE protocol header is achieved.
Registration path = "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\Post Platform\"
Two text variables to install protocol headers
windows = “Mozilla/4.0?(compatible;?MSIE?6.1;?Windows?XP)”
android = “Mozilla/5.0 (Linux; U; Android 2.2) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1”
Write a mobile phone agreement registration form
Write registration items (#local machine, registration path + android, android)
Restore the computer protocol registry
Write registration items (#local machine, registration path + windows, windows)
Determine the local registration situation and the agreement header
.If (whether the registration item exists (#local machine, registration path + windows))
Delete the registration item (#local machine, registration path + windows)
.otherwise
.If ended
.If (whether the registration item exists (#local machine, registration path + android))
Delete the registration item (#local machine, registration path + android)
.otherwise