posthtml-noopener is a PostHTML plugin to add
rel="noopener noreferrer" to links that open in a new tab.
Anchor links with the
target="_blank" attribute are recommended to include a
rel="noreferrer" attribute to protect against cross-origin sites from exploiting
window.opener. By default, this plugin includes both attribute values.
Read more about the
yarn add -D posthtml-noopener# ORnpm i posthtml-noopener
const fs = ;const posthtml = ;const noopener = ;const html = fs;;
See the PostHTML Guidelines.