Skip to content

Commit e2e7531

Browse files
committed
Noreferrer_added
1 parent 14f139f commit e2e7531

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/main/content/_assets/js/builds.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,23 +313,23 @@ function render_builds(builds, parent) {
313313
//========== Build the HTML for the download column containing file links
314314
var download_column = $(
315315
'<td headers="'+tableID+'_download">' +
316-
'<a href="'+href+'" class="'+analytics_class_name +'" rel="noopener">' + download_arrow +'ZIP</a>' +
316+
'<a href="'+href+'" class="'+analytics_class_name +'" rel="noopener noreferrer">' + download_arrow +'ZIP</a>' +
317317
// Optional sha2 file download button
318-
(sha2_href ? '<a href="'+sha2_href+'" class="'+analytics_class_name +'" rel="noopener">' + download_arrow +'SHA2</a>' : '' ) +
318+
(sha2_href ? '<a href="'+sha2_href+'" class="'+analytics_class_name +'" rel="noopener noreferrer">' + download_arrow +'SHA2</a>' : '' ) +
319319
'</td>'
320320
);
321321

322322
var verification_column = $(
323323
'<td headers="'+tableID+'_verification">' +
324324
// Optional sig file download button
325-
(sig_href ? '<a href="'+sig_href+'" class="'+analytics_class_name +'" rel="noopener">' + download_arrow +'SIG</a>' : '' ) +
325+
(sig_href ? '<a href="'+sig_href+'" class="'+analytics_class_name +'" rel="noopener noreferrer">' + download_arrow +'SIG</a>' : '' ) +
326326
'</td>'
327327
);
328328

329329
var verification_column2 = $(
330330
'<td headers="' + tableID + '_verification"' + 'rowspan="'+num_packages+'"' + '>' +
331331
// Optional sig file download button
332-
(sig_href ? (pem_href.endsWith('.cer')?'<a href="'+pem_href+'" class="'+analytics_class_name +'" rel="noopener" target="_blank">' + download_arrow +'CER</a>' :'<a href="'+pem_href+'" class="'+analytics_class_name +'" rel="noopener" target="_blank">' + download_arrow +'PEM</a>' ): '' ) +
332+
(sig_href ? (pem_href.endsWith('.cer')?'<a href="'+pem_href+'" class="'+analytics_class_name +'" rel="noopener noreferrer" target="_blank">' + download_arrow +'CER</a>' :'<a href="'+pem_href+'" class="'+analytics_class_name +'" rel="noopener noreferrer" target="_blank">' + download_arrow +'PEM</a>' ): '' ) +
333333
'</td>'
334334
);
335335

src/main/content/_assets/js/issues.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function update_tab_index() {
114114

115115
function create_issue_element(index, ui_position) {
116116
var issue = issues[index];
117-
var issue_element = $('<a target="_blank" rel="noopener" class="issue issue_' + ui_position + ' clearfix center-block"</a>');
117+
var issue_element = $('<a target="_blank" rel="noopener noreferrer" class="issue issue_' + ui_position + ' clearfix center-block"</a>');
118118
issue_element.attr('href', issue.html_url);
119119
var bar_element = $('<div class="issue_green_bar"></div>');
120120
var title_element = $('<h3 class="truncate"></h3>');

src/main/content/antora_ui/src/js/09-noversion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ $(window).on("load", function() {
7878
matches.sort(orderVersions);
7979
matches.forEach(function(m) {
8080
$(".doc .paragraph ul").append(
81-
"<li><a href=" +
81+
"<li><a rel='noreferrer' href=" +
8282
window.location.origin +
8383
"/docs/" +
8484
m +

0 commit comments

Comments
 (0)