Możesz też napisać kod pod view-source.
<body style="background: darkgoldenrod;">
<a href="http://example.com">example.com</a>
<a href="http://google.com">google.com</a>
----
let links = document.querySelectorAll('a[href]');
links.forEach((a) => {
window.open(a, null, "noopener");
});
lub
let links = document.querySelectorAll('a[href]');
links.forEach((a) => {
if(a.href.search(/^.*goo/g) != -1) {
window.open(a, null, "noopener");
}
});
----
</body>