[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report: make urls clickable #9224

Merged
merged 18 commits into from
Jun 29, 2019
Prev Previous commit
Next Next commit
noopener
  • Loading branch information
connorjclark committed Jun 17, 2019
commit 4bd8a9e60ca2c5f89b0e44673ca5f68be3b0f1d8
1 change: 1 addition & 0 deletions lighthouse-core/report/html/renderer/details-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class DetailsRenderer {
element.textContent = text;
element.href = href;
element.target = '_blank';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forget rel=noopener ;)

element.rel = 'noopener';
return element;
}

Expand Down