MediaWiki:Common.js: Difference between revisions
MediaWiki interface page
More actions
MDElliottMD (talk | contribs) Open in new tab Template |
MDElliottMD (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
document.querySelectorAll( '.pcp-new-tab a' ).forEach( function ( a ) { | |||
a.target = '_blank'; | |||
a.rel = 'noopener noreferrer'; | |||
} ); | |||