This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name DeleteThing - Auto-fill Deletion Fields | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Auto-fills deletion confirmation fields on various platforms | |
// @author You | |
// @match https://vercel.com/*/*/settings* | |
// @match https://app.netlify.com/projects/*/configuration/general* | |
// @match https://dash.cloudflare.com/*/pages/view/*/settings/production* | |
// @match https://dash.cloudflare.com/*/workers/services/view/*/production/settings* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Paste these lines into website's console (Win/Linux: Ctrl + Shift + I / Mac: Cmd + Alt + I) | |
if(!!window.React || | |
!!document.querySelector('[data-reactroot], [data-reactid]') || | |
Array.from(document.querySelectorAll('*')).some(e => e._reactRootContainer !== undefined || Object.keys(e).some(k => k.startsWith('__reactContainer'))) | |
) | |
console.log('React.js'); | |
if(!!document.querySelector('script[id=__NEXT_DATA__]')) | |
console.log('Next.js'); |