We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab4ae1 commit ab3f25eCopy full SHA for ab3f25e
viewer/web/viewer.html
@@ -413,6 +413,8 @@
413
</div>
414
415
416
+ <script src="//hypothes.is/embed.js"></script>
417
+
418
</body>
419
</html>
420
viewer/web/viewer.js
@@ -5945,6 +5945,12 @@ var PDFViewerApplication = {
5945
5946
setTitleUsingUrl: function pdfViewSetTitleUsingUrl(url) {
5947
this.url = url;
5948
5949
+ var rel_canonical = document.createElement('link');
5950
+ rel_canonical.href = url;
5951
+ rel_canonical.rel = "canonical";
5952
+ document.head.appendChild(rel_canonical);
5953
5954
try {
5955
this.setTitle(decodeURIComponent(getFileName(url)) || url);
5956
} catch (e) {
0 commit comments