Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Further improvements to the search script. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | branch-3.22 |
Files: | files | file ages | folders |
SHA3-256: |
55959de4e850840fc9197072a1d554ce |
User & Date: | drh 2018-03-09 18:11:03.289 |
Context
2018-03-14
| ||
19:09 | Fix a typo in the whyc.html page. (check-in: c7663e0c39 user: drh tags: branch-3.22) | |
2018-03-09
| ||
18:11 | Merge search box fixes from the 3.22.0 branch. (check-in: 848c37b010 user: drh tags: trunk) | |
18:11 | Further improvements to the search script. (check-in: 55959de4e8 user: drh tags: branch-3.22) | |
17:59 | Improvements to Wapp to clean up the previous XSS fix. (check-in: 4652ea52c0 user: drh tags: branch-3.22) | |
Changes
Changes to search/search.tcl.in.
︙ | ︙ | |||
235 236 237 238 239 240 241 | wapp-subst {</center>\n} } } # This is the main entry point into the search result page generator # proc wapp-default {} { | | | 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | wapp-subst {</center>\n} } } # This is the main entry point into the search result page generator # proc wapp-default {} { wapp-content-security-policy {default-src 'self' 'unsafe-inline'} wapp-allow-xorigin-params if {[wapp-param-exists env]} { search_header wapp-trim { <h1>Environment Dump For Debugging</h1> <pre>%html([wapp-debug-env])</pre> } |
︙ | ︙ | |||
291 292 293 294 295 296 297 | <p>Page generated by <a href='fts5.html'>FTS5</a> in about %html($t). </center> <script> window.addEventListener('load', function() { var w = document.getElementById("searchmenu"); w.style.display = "block"; w = document.getElementById("searchtype"); | | | | 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 | <p>Page generated by <a href='fts5.html'>FTS5</a> in about %html($t). </center> <script> window.addEventListener('load', function() { var w = document.getElementById("searchmenu"); w.style.display = "block"; w = document.getElementById("searchtype"); w.value = "%string($searchType)" setTimeout(function(){ var s = document.getElementById("searchbox"); s.value = "%string([wapp-param q])" s.focus(); s.select(); }, 30); }); </script> } } wapp-start $argv |