diff --git a/README.MD b/README.MD index 5b7bf3b..30ae3e3 100644 --- a/README.MD +++ b/README.MD @@ -17,6 +17,7 @@ Improvements in this fork: - Global toggle, for pow mode only. - Choose whitelist, pow or pow+captcha per-domain or per-domain+path, with paths taking priority. - Include dataplaneapi, to sync map files to disk if edited during runtime. +- In POW only mode, provide instructions and an encoded script to find the solution. - Many bugfixes. #### How to test diff --git a/src/scripts/hcaptcha.lua b/src/scripts/hcaptcha.lua index 1cd63b9..85c1794 100644 --- a/src/scripts/hcaptcha.lua +++ b/src/scripts/hcaptcha.lua @@ -60,6 +60,9 @@ local body_template = [[ a,a:visited{color:var(--text-color)} body,html{height:100%%} body{display:flex;flex-direction:column;background-color:var(--bg-color);color:var(--text-color);font-family:Helvetica,Arial,sans-serif;text-align:center;margin:0} + details{max-width:80vw;text-align:left;margin:0 auto;} + summary{text-align:center;} + code{background-color:#dfdfdf30;border-radius:3px;padding:0 3px;} h3,p{margin:3px} footer{font-size:small;margin-top:auto;margin-bottom:50px}h3{padding-top:30vh} @@ -73,6 +76,7 @@ local body_template = [[ %s