Skip to content

Instantly share code, notes, and snippets.

View 2u841r's full-sized avatar

Zubair Ibn Zamir 2u841r

View GitHub Profile
// ==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*
@2u841r
2u841r / detect-js-framework.js
Last active June 26, 2025 15:13 — forked from rambabusaravanan/detect-js-framework.js
Detect JS Framework used in a Website
// 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');