diff --git a/overrides/main.html b/overrides/main.html
index 3c2a0e29..fe368811 100644
--- a/overrides/main.html
+++ b/overrides/main.html
@@ -12,20 +12,6 @@
const redirectUrl = path.replace(redirectPattern, 'https://developers.amadeus.com/self-service/apis-docs/guides/$1');
document.write(``);
}
-
- // Event listener for link clicks
- window.addEventListener('DOMContentLoaded', (event) => {
- document.body.addEventListener('click', function (event) {
- var target = event.target;
- if (target.tagName === 'A') {
- var href = target.getAttribute('href');
- if (href.startsWith('https://developers.amadeus.com')) {
- event.preventDefault();
- window.location.href = href;
- }
- }
- });
- });
{% endblock %}