1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-05 03:24:41 +00:00

uwuzu version 1.2.28

This commit is contained in:
daichimarukana
2023-12-20 22:36:44 +09:00
parent 6367282bb5
commit 51d7d84b63
89 changed files with 2770 additions and 1998 deletions
+9 -2
View File
@@ -62,7 +62,11 @@ if(ua2.indexOf("windows nt") !== -1) {
/*SSL*/
if (location.protocol == 'http:') {
user_agent_ssl = "not_ssl";
if (location.hostname == 'localhost'){
user_agent_ssl = "not_ssl";
}else{
user_agent_ssl = "not_ssl_bad";
}
} else if (location.protocol == 'https:') {
user_agent_ssl = "ssl";
} else {
@@ -89,7 +93,10 @@ if (user_agent_browser == 'Microsoft_Internet_Explorer' || user_agent_browser ==
} else if (user_agent_ssl == 'Other') {
user_agent_access = 'bad';
errcode = 'NONE_SSL';
} else {
} else if (user_agent_ssl == 'not_ssl_bad') {
user_agent_access = 'bad';
errcode = 'NONE_SSL_SERVER';
}else{
user_agent_access = 'ok';
errcode = 'NONE_ERROR';
}