web-platform-dx / baseline-status

Apache License 2.0
13 stars 4 forks source link

Add target=blank to open in a new tab #13

Closed devnook closed 3 weeks ago

devnook commented 3 weeks ago

The widget is quite often used in an iframe. It feels awkward to open a "Learn more" link that leads to the documentation inside of an iframe. It also allows to avoid CSP errors caused by the directive: "frame-ancestors 'none'".

bramus commented 3 weeks ago

Maybe best to use target="_top" here, so that it does not open in a new tab by default?