Skip to content

Instantly share code, notes, and snippets.

@VillainsRule
Created December 18, 2023 00:30
Show Gist options
  • Save VillainsRule/417750d729fb2cf82e5a2834328872df to your computer and use it in GitHub Desktop.
Save VillainsRule/417750d729fb2cf82e5a2834328872df to your computer and use it in GitHub Desktop.
removes youareanidiot.cc's ability to open windows.
// ==UserScript==
// @name youareanidiot.cc cleaner
// @version 6.9
// @description removes youareanidiot.cc's ability to open windows.
// @match https://*.youareanidiot.cc/*
// @icon https://youareanidiot.cc/favicon.ico
// @grant unsafeWindow
// @run-at document-start
// ==/UserScript==
unsafeWindow.open = (...args) => console.log('Locked window open with', ...args);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment