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,