Skip to content

Instantly share code, notes, and snippets.

View 2u841r's full-sized avatar

Zubair Ibn Zamir 2u841r

View GitHub Profile
@2u841r
2u841r / C:\Users\Zubair\AppData\Roaming\FlowLauncher\Logs\1.20.2\2025-10-17.txt
Created October 17, 2025 02:23
C:\Users\Zubair\AppData\Roaming\FlowLauncher\Logs\1.20.2\2025-10-17.txt
01:27:21.3636+06:00 - INFO - App.RegisterExitEvents - Session Ending
05:38:16.7599+06:00 - INFO - Logger.SetLogLevel - Using log level: INFO.
05:38:16.7599+06:00 - INFO - App.OnStartup - Begin Flow Launcher startup ----------------------------------------------------
05:38:16.7599+06:00 - INFO - App.OnStartup - Runtime info:
Flow Launcher version: 1.20.2
OS Version: 26100.6899
IntPtr Length: 8
x64: True
05:38:18.3863+06:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
05:38:18.4213+06:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json
@2u841r
2u841r / SocialBrowserDetector.tsx
Last active October 6, 2025 23:49
FB shouldn't mess up with your user
"use client";
import React, { useState, useEffect } from "react";
// So your user can see the popup when they open the page in a social media app's internal browser
// This component detects if the user is in a social media app's browser
interface SocialBrowserDetectorProps {
className?: string;
}
// ==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');