TNitro7669 This is very inconvenient since you can disable prompts. Instead use this:
if (window.getURLPath()[2] != (PROJECT ID HERE) {
throw'Don't be a dummy; dont hack projects!';
}
Also, you can use this to detect when someone is trying to press remix through the "view code" button by using this:
if (window.getURLPath()[3] == "view" {
throw'Big Dic Randy will find you for a failed attempt at remixing this project';
}
PS: You don't have to credit me if you use this instead.