Fossil

Check-in [7d5ff435]
Login

Check-in [7d5ff435]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Removed the anti-robot defense stand-down call from the default skin's new footer JS: that's handled server-side now with /sitemap?popup=1.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7d5ff435ff8172f2b3bfab1bbcb8eef9a7263d8da2bc67d1916dc66bde6d21b6
User & Date: wyoung 2018-09-12 13:39:52
Context
2018-09-14
12:53
Update the change log. ... (check-in: d78f1f3c user: drh tags: trunk)
2018-09-12
13:39
Removed the anti-robot defense stand-down call from the default skin's new footer JS: that's handled server-side now with /sitemap?popup=1. ... (check-in: 7d5ff435 user: wyoung tags: trunk)
13:20
Added copyright and license comment to the top of the new skins/default/js.txt file. ... (check-in: 972ae10b user: wyoung tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to skins/default/js.txt.

103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
        var doc = xhr.responseXML;
        if (doc) {
          var sm = doc.querySelector("ul#sitemap");
          if (sm && xhr.status == 200) {
            // Got sitemap.  Insert it into the drop-down panel.
            needSitemapHTML = false;
            panel.innerHTML = sm.outerHTML;
            if (window.setAllHrefs) {
              setAllHrefs();   // don't need anti-robot defense here
            }

            // Display the panel
            if (animate) {
              // Set up a CSS transition to animate the panel open and
              // closed.  Only needs to be done once per page load.
              // Based on https://stackoverflow.com/a/29047447/142454
              calculatePanelHeight();







<
<
<







103
104
105
106
107
108
109



110
111
112
113
114
115
116
        var doc = xhr.responseXML;
        if (doc) {
          var sm = doc.querySelector("ul#sitemap");
          if (sm && xhr.status == 200) {
            // Got sitemap.  Insert it into the drop-down panel.
            needSitemapHTML = false;
            panel.innerHTML = sm.outerHTML;




            // Display the panel
            if (animate) {
              // Set up a CSS transition to animate the panel open and
              // closed.  Only needs to be done once per page load.
              // Based on https://stackoverflow.com/a/29047447/142454
              calculatePanelHeight();