tools / commit
cleanup
separator-page/index.html | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/separator-page/index.html b/separator-page/index.html index 004f231..5097ac8 100644 --- a/separator-page/index.html +++ b/separator-page/index.html @@ -4,8 +4,7 @@ <head> <meta charset="utf-8" /> <title>Separator</title> - <link rel="icon" id="favicon" - href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wAA//8AAP//AAD//wAA/n8AAP5/AAD+fwAA/n8AAOAHAADgBwAA/n8AAP5/AAD+fwAA/n8AAP//AAD//wAA" /> + <link rel="icon" id="favicon" /> <script src="https://cdn.jsdelivr.net/npm/showdown/dist/showdown.min.js"></script> <script src="https://pavelsafronov.gitlab.io/tools/separator-page/lz-string.js"></script> <style> @@ -315,9 +314,7 @@ technically *some* scripts can get your local separator page info // Function to handle legacy hash-based data function handleLegacyHashData() { console.debug('Checking for legacy hash data...'); - console.debug('Current location:', window.location); const hash = window.location.hash; - console.debug('Current hash:', hash); if (hash && hash.length > 1) { try { const base64String = hash.substring(1); // Remove the '#' character @@ -398,7 +395,7 @@ technically *some* scripts can get your local separator page info function resetToDefaultIcons() { const confirmMessage = "Are you sure you want to reset to default icons?\n\nThis will permanently delete ALL your previous icons and replace them with the original template icons.\n\nThis action cannot be undone."; - + if (!confirm(confirmMessage)) { return; // User cancelled, do nothing } @@ -628,16 +625,10 @@ technically *some* scripts can get your local separator page info // Reset icons to defaults resetIconsButton.addEventListener("click", resetToDefaultIcons); - console.debug("here!"); // Title and description event listeners titleElement.addEventListener("input", () => { - console.debug('Title updated to:', titleElement.innerText); saveTabData(); }); - - descriptionElement.addEventListener("input", () => { - // console.debug('Description updated to:', descriptionElement.value); - }); </script> </body>