Fossil

Check-in [571df2e8]
Login

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

Overview
Comment:The hyperlinks in the hamburger menu drop-down still had the anti-robot defense activated. Defeated it.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | js-hamburger-menu
Files: files | file ages | folders
SHA3-256:571df2e8b4129e5f4af8a746863c6431e2cf2e2d01d784ae9a293bcedee34f27
User & Date: wyoung 2018-09-06 03:56:20
Context
2018-09-09
17:41
Reverted [59c7ca0509]: drh says we can't use jQuery. Also, there was a syntax error that sent all hyperlinks to the honeypot in some conditions. check-in: 5a62b395 user: wyoung tags: js-hamburger-menu
2018-09-06
03:56
The hyperlinks in the hamburger menu drop-down still had the anti-robot defense activated. Defeated it. check-in: 571df2e8 user: wyoung tags: js-hamburger-menu
03:56
Converted src/href.js to jQuery as a demonstration: the code's nearly half the size, and it's clearer as a result. check-in: 59c7ca05 user: wyoung tags: js-hamburger-menu
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to skins/default/footer.txt.

24
25
26
27
28
29
30



31
32
33
34
35
36
37
38
39
40
      }
      else if (needSitemapHTML) {
        // Only get it once per page load: it isn't likely to
        // change on us.
        $.get(home + '/sitemap', function(reply) {
          panel.html($("ul#sitemap", reply));
          needSitemapHTML = false;



          showPanel();
        });
      }
      else {
        showPanel();   // just show what we built above
      }
      return false;  // prevent browser from acting on <a> click
    });
  })();
</script>







>
>
>










24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
      }
      else if (needSitemapHTML) {
        // Only get it once per page load: it isn't likely to
        // change on us.
        $.get(home + '/sitemap', function(reply) {
          panel.html($("ul#sitemap", reply));
          needSitemapHTML = false;
          if (window.setAllHrefs) {
            setAllHrefs();   // don't need anti-robot defense here
          }
          showPanel();
        });
      }
      else {
        showPanel();   // just show what we built above
      }
      return false;  // prevent browser from acting on <a> click
    });
  })();
</script>