add rel="noopener" when target="_blank"

This commit is contained in:
JOduMonT
2019-01-19 18:19:44 +01:00
parent 1494aed01a
commit a48b5e80d5
9 changed files with 16 additions and 16 deletions

View File

@ -378,7 +378,7 @@ What this does is allow the prince-list.txt and toc.html files to iterate throug
You can add a download button for your PDF using some Bootstrap button code:
```html
<a target="_blank" class="noCrossRef" href="/pdf/mydoc.pdf"><button type="button" class="btn btn-default" aria-label="Left Align"><span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span> PDF Download</button></a>
<a target="_blank" rel="noopener" class="noCrossRef" href="/pdf/mydoc.pdf"><button type="button" class="btn btn-default" aria-label="Left Align"><span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span> PDF Download</button></a>
```
Here's what that looks like: