From 0584b15acdd72308df09c8caca6b92fa0f79fada Mon Sep 17 00:00:00 2001 From: baustinlynch Date: Sat, 13 Dec 2025 18:26:27 +0000 Subject: [PATCH] Add alert for invalid URL input in shortcut creation --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index 353a00c..6207d92 100644 --- a/app.js +++ b/app.js @@ -379,6 +379,7 @@ document.addEventListener('DOMContentLoaded', () => { new URL(url); } catch (_) { console.error("invalid URL"); + alert("Invalid URL. Please remember to include the protocol (http:// or https://)."); return; } addShortcut(name, url);