From 31812d3f9daab98561b1059adbd9c71b03066b65 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Tue, 17 Mar 2026 21:13:33 +0100 Subject: [PATCH] f --- theme/ai.js | 7 ++++++- theme/index.hbs | 17 +++++++---------- theme/pagetoc.css | 34 ++++++++++++++++++++++++++++++++++ theme/sponsor.js | 33 ++++++++++++++++++++++++++++++++- 4 files changed, 79 insertions(+), 12 deletions(-) diff --git a/theme/ai.js b/theme/ai.js index f8ac9a30f..f4e5766b2 100644 --- a/theme/ai.js +++ b/theme/ai.js @@ -6,7 +6,12 @@ (() => { try { const host = window.location.hostname; - if (host === "localhost" || host === "127.0.0.1") return; + const port = window.location.port; + if ( + host === "localhost" || + host === "127.0.0.1" || + port === "3377" + ) return; } catch (e) {} const KEY = 'htSummerDiscountsDismissed'; const IMG = '/ima * HackTricks AI Chat Widget v1.17 – enhanced resizable sidebar diff --git a/theme/index.hbs b/theme/index.hbs index ead6e7697..41fa91d1d 100644 --- a/theme/index.hbs +++ b/theme/index.hbs @@ -32,7 +32,7 @@ {{/if}} - + {{#if copy_fonts}} {{/if}} @@ -60,15 +60,6 @@ -
@@ -324,6 +315,12 @@ + +