diff --git a/README.md b/README.md index 96a075da..fff49fae 100644 --- a/README.md +++ b/README.md @@ -1837,7 +1837,7 @@ tell search engines you don't wanna be indexed, either using the good old [robo * volflag `[...]:c,norobots` does the same thing for that single volume * volflag `[...]:c,robots` ALLOWS search-engine crawling for that volume, even if `--no-robots` is set globally -also, `--force-js` disables the plain HTML folder listing, making things harder to parse for search engines +also, `--force-js` disables the plain HTML folder listing, making things harder to parse for *some* search engines -- note that crawlers which understand javascript (such as google) will not be affected ## themes diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 3ac80279..067552c9 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -6078,7 +6078,7 @@ class HttpCli(object): quotep(href), ) elif fn in hist: - margin = '#%s' % ( + margin = '#%s' % ( base, html_escape(hist[fn][2], quot=True, crlf=True), hist[fn][0], diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index d82290e0..05700924 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -5774,7 +5774,7 @@ var showfile = (function () { td.innerHTML = '-txt-'; + link.id + '" rel="nofollow">-txt-'; td.getElementsByTagName('a')[0].setAttribute('href', '?doc=' + fn); } @@ -7936,7 +7936,7 @@ var treectl = (function () { if (tn.lead == '-') tn.lead = '-txt-'; var cl = /\.PARTIAL$/.exec(fname) ? ' class="fade"' : '',