Is there a way to remove the advertising pop-up in Confluence Cloud for every open link? I’ve tried inserting an HTML/JavaScript macro within the pages, but nothing seems to work or hide it.

The code I tried:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Popup Blocker</title>
<script>
// Function to block popups
function blockPopups() {
var popupInterval = setInterval(function() {
// Check for open windows
var windows = window.open("", "_blank");
// If there's an open window, close it
if (windows) {
windows.close();
alert("Popup blocked!");
}
}, 1000); // Check every second
}
window.onload = function() {
blockPopups(); // Call blockPopups function after page load
};
</script>
</head>
<body>
thank you in advance