Skip to content

Instantly share code, notes, and snippets.

View minanagehsalalma's full-sized avatar
🍒
Meow ?

mina nageh salama minanagehsalalma

🍒
Meow ?
  • no i won't tell you
View GitHub Profile
@minanagehsalalma
minanagehsalalma / ChromeDefaultFix.md
Created March 6, 2026 14:40
Fix Chrome not opening links/files even though it appears in Default Apps

Fix Chrome not opening links/files even though it appears in Default Apps

Symptoms

  • Google Chrome shows in Settings > Apps > Default apps
  • .htm, .html, HTTP, HTTPS may look assigned to Chrome
  • But clicking links does nothing
  • PowerShell shows: Start-Process "http://example.com" -> Application not found
@minanagehsalalma
minanagehsalalma / Export-ChromeExtensions.ps1
Last active March 9, 2026 14:26
Export Chrome extensions inventory (all profiles/channels and even source code) to CSV + JSON — PowerShell
<#
.SYNOPSIS
Exports a full inventory of installed Chrome extensions across all profiles to CSV and JSON,
and physically copies the extension source files and user data.
.DESCRIPTION
Scans every Chrome profile on the current machine and collects extension metadata from
manifest.json and the profile's Preferences file: name, version, enabled state, install
time, permissions, manifest version (MV2/MV3), and more.
@minanagehsalalma
minanagehsalalma / reCAPTCHA Enterprise bypass.md
Created February 27, 2026 09:18
How to Force Submit a React Form with reCAPTCHA Enterprise via the Browser Console

How to Force Submit a React Form with reCAPTCHA Enterprise via the Browser Console

A step-by-step guide for submitting a React form when the submit button is disabled or blocked.


Step 1: Enable the Disabled Button (Optional)

If the submit button has a disabled attribute, remove it:

@minanagehsalalma
minanagehsalalma / Gemini pure patchmatch.js
Created February 17, 2026 18:55
Gemini Stupid watermark remover fixed by Claude.
// ==UserScript==
// @name 🍌 Gemini NanoBanana watermark replacer
// @description Removes Gemini watermark using patch-based texture synthesis.
// Finds the best matching texture patch nearby and blends it in.
// No data leaves your device.
// @namespace Claude
// @version 3.0
// @author Claude
// @match https://gemini.google.com/*
// @grant none
@minanagehsalalma
minanagehsalalma / gemini-fullscreen-canvas-toggle.user.js
Last active February 16, 2026 18:20
Gemini Fullscreen Canvas Toggle - Hide sidebar, header, and chat to focus only on the canvas/artifact with a simple toggle button. Solves the annoying problem of gemini having no fullscreen/pop-out option.
// ==UserScript==
// @name Gemini Chat Toggle - Hide Chat & Fullscreen Canvas
// @namespace Duuuh
// @version 5.2
// @description Toggle button to hide everything except canvas on Google Gemini
// @author Duuuh
// @match *://gemini.google.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
@minanagehsalalma
minanagehsalalma / ChattoPDF.js
Last active February 14, 2026 16:14
A tampermonkey script to export a selected ChatGPT message to proper pdf
// ==UserScript==
// @name ChatGPT Message PDF Downloader — Arabic/RTL (no @require)
// @namespace https://github.com/
// @version 10.0
// @description Export any ChatGPT message to a centered A4 PDF, with full Arabic/RTL support and dark theme. Normal click = selectable text via print; Shift+click = one-click image PDF.
// @author You
// @match https://chatgpt.com/*
// @match https://chat.openai.com/*
// @grant GM_xmlhttpRequest
// @grant GM.xmlHttpRequest
@minanagehsalalma
minanagehsalalma / Extract Dropdown Values.js
Last active March 9, 2026 17:50
a bookmarklet that will extract all values from dropdown menus on a page.
javascript:(function(){
const delay = ms => new Promise(r => setTimeout(r, ms));
// ── Selectors ──────────────────────────────────────────────────────────────
const triggerSelectors = [
'[aria-haspopup="listbox"]','[aria-haspopup="true"]','[aria-expanded]',
'button[class*="select"]','div[class*="select"]',
'[class*="dropdown"] > button','[class*="trigger"]','select',
];
const optionSelectors = [
@minanagehsalalma
minanagehsalalma / Create Offline APK from Replit app mobile app builder.md
Last active January 16, 2026 21:39
Create Offline APK from Replit app mobile app builder

Replit → Installable Android App (APK) with Expo EAS (No Play Store)

This guide turns your Replit Expo project into a real installable Android app (APK) you can sideload (install directly) without using Expo Go or publishing to the Play Store.


What you’re doing (quick concept)

  • Expo Go + QR = runs your app inside the Expo Go container and usually needs an internet/dev server.
  • EAS Build (internal distribution) = produces a standalone APK you can install like a normal app.
@minanagehsalalma
minanagehsalalma / FuckLDPlayer.md
Last active December 9, 2025 20:44
Kill ads on LDPlayer (systemwide + home screen) Full Guide

Kill ads on LDPlayer (systemwide + home screen) — guide

This covers the “LDPlayer-served” promos: home-screen recommended games row, splash/promo banners, and other injected junk. We’ll use layered defenses so it stays gone.


What you’re trying to remove

  • LDPlayer home screen “recommended games” strip (like in your screenshot)
  • In-emulator promos coming from LD system apps (store/market/recommendation services)
(async function() {
// --- CONFIGURATION ---
const STORAGE_KEY = 'moodle_drive_v13_accurate_nothumbs';
const CONCURRENCY = 5;
// --- 1. OPEN UI ---
const driveWindow = window.open("", "Course_Drive_Pro", "width=1280,height=900,scrollbars=yes");
if (!driveWindow) { alert("Please allow popups!"); return; }
driveWindow.document.write(`