2020-12-29 09:53:15 +00:00
|
|
|
const char HTTP_HEADER1[] PROGMEM =
|
|
|
|
"<!DOCTYPE html><html lang=\"%s\" class=\"\">"
|
|
|
|
"<head>"
|
|
|
|
"<meta charset='utf-8'>"
|
|
|
|
"<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"
|
2022-01-08 09:45:17 +00:00
|
|
|
#ifdef USE_WEB_FAVICON // No impact when using unishox as compressor ignore #if
|
2022-01-08 09:17:30 +00:00
|
|
|
"<link rel=\"icon\" href=\"data:image/x-icon;base64,base64,AAABAAEAEBACAAEAAQCwAAAAFgAAACgAAAAQAAAAIAAAAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP5/b+H6X2/h8k9v4eZnb+Hud2/h7ndv4e53b+FmZm/hMkxv4ZgZb+HOc2/h5+dv4fPPb+H5n2/h/D9v4f5/b+EAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4E\">"
|
2022-01-08 09:45:17 +00:00
|
|
|
#endif
|
2020-12-29 09:53:15 +00:00
|
|
|
"<title>%s - %s</title>"
|
|
|
|
|
|
|
|
"<script>"
|
|
|
|
"var x=null,lt,to,tp,pc='';" // x=null allow for abortion
|
|
|
|
|
|
|
|
// Following bytes saving ES6 syntax fails on old browsers like IE 11 - https://kangax.github.io/compat-table/es6/
|
|
|
|
"eb=s=>document.getElementById(s);" // Alias to save code space
|
|
|
|
"qs=s=>document.querySelector(s);" // Alias to save code space
|
|
|
|
"sp=i=>eb(i).type=(eb(i).type==='text'?'password':'text');" // Toggle password visibility
|
|
|
|
"wl=f=>window.addEventListener('load',f);" // Execute multiple window.onload
|
|
|
|
;
|