diff --git a/jslib b/jslib index 9bc7459eac..76ece834d1 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 9bc7459eacb55a234da8dd8aa71c059a4cd3e1ee +Subproject commit 76ece834d1d18e9cca71bb3c182d2284dae80958 diff --git a/src/app/main.ts b/src/app/main.ts index c6f0d55d0e..510cda54e1 100644 --- a/src/app/main.ts +++ b/src/app/main.ts @@ -13,3 +13,7 @@ if (!isDev()) { } platformBrowserDynamic().bootstrapModule(AppModule); + +// Disable drag and drop to prevent malicious links from executing in the context of the app +document.addEventListener('dragover', (event) => event.preventDefault()); +document.addEventListener('drop', (event) => event.preventDefault());