From bfcfca57ea9517d564e423532551c790ef9e56b5 Mon Sep 17 00:00:00 2001 From: rgthree Date: Fri, 15 Sep 2023 22:53:07 -0400 Subject: [PATCH] Links source file --- ts/html/links.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts/html/links.ts b/ts/html/links.ts index 8ed0850..1fd9b6b 100644 --- a/ts/html/links.ts +++ b/ts/html/links.ts @@ -1,6 +1,10 @@ // @ts-ignore import { getPngMetadata } from "/scripts/pnginfo.js"; +if (!document.title.includes('rgthree')) { + throw new Error('rgthree: Skipping loading of js file not meant for app.'); +} + type SerializedLink = [ number, // this.id, number, // this.origin_id,