a4e6ec39723aef8e1233da1a55a7ad3079ed6592 lrnassar Fri Oct 10 19:00:34 2025 -0700 Tweaking the wording to be shorter, refs #36428 diff --git src/hg/lib/cart.c src/hg/lib/cart.c index ee4b5fe1bf9..e2defe2e184 100644 --- src/hg/lib/cart.c +++ src/hg/lib/cart.c @@ -1497,31 +1497,31 @@ printf("function showWidget() { \n" "turnstile.render('#myWidget', {\n" "sitekey: '%s',\n" "theme: 'light',\n" "callback: function (token) {\n" " const parser = new URL(window.location);\n" " parser.searchParams.set('token', token);\n" " window.location = parser.href;\n" " },\n" "});\n" "}\n", cfSiteKey); puts("</script>"); puts("</head><body>"); puts("<style>body, h1, h2, h3, h4, h5, h6 { font-family: Helvetica, Arial, sans-serif; }</style>\n"); puts("<h4>The Genome Browser is protecting itself from bots. This will just take a few seconds.</h4>"); - puts("<small>If you wish to make programmatic queries, see our FAQ: https://genome.ucsc.edu/FAQ/FAQdownloads.html#CAPTCHA.</small>"); + puts("<small>To make programmatic queries, see our FAQ: https://genome.ucsc.edu/FAQ/FAQdownloads.html#CAPTCHA.</small>"); puts(""); puts("<script src='https://challenges.cloudflare.com/turnstile/v0/api.js?onload=showWidget' async defer></script>"); puts("<div id='myWidget'></div>"); puts("</body></html>"); sqlCleanupAll(); // we are wondering about hanging connections, so just in case, close them. exit(0); } static boolean isUserAgentException() /* return true if HTTP user-agent is in list of exceptions in hg.conf */ { char *agent = cgiUserAgent(); if (!agent) return FALSE;