Skip to content

Instantly share code, notes, and snippets.

View krystian3w's full-sized avatar
🐢
What's happening?

Κριστιάν3β krystian3w

🐢
What's happening?
  • Computer scientist
  • Polland... form where? Holland?
View GitHub Profile
@tophf
tophf / patch-chrome-mv2-2025-11-18.ps1
Last active December 8, 2025 06:06
Enables ManifestV2 for extensions in Chrome 140+
<# 1. To patch dll in a protected folder like "c:\program files" run this script as Administrator.
2. If your Windows isn't configured to run ps1 files, you can run it from command prompt like this:
powershell -ep bypass -noprofile "patch-chrome-mv2.ps1"
#>
param([string]$dll, [string]$dir = $pwd)
function doPatch([string]$path, [string]$pathLabel = '') {
$dll = $script:dll = if ($path.EndsWith('\')) { Join-Path $path chrome.dll } else { $path }
if (!(Test-Path -literal $dll)) { return }
$localAppData = [Environment]::GetFolderPath('LocalApplicationData')
@kairusds
kairusds / eruda.js
Last active June 27, 2025 17:39
eruda userscript for use with tampermonkey on mobile browsers / via web browser
// ==UserScript==
// @name eruda
// @namespace http://tampermonkey.net/
// @version 0.3
// @description Console for mobile browsers
// @author kairusds
// @include http://*
// @include https://*
// @require https://cdnjs.cloudflare.com/ajax/libs/eruda/3.2.2/eruda.min.js
// @icon https://www.google.com/s2/favicons?domain=greasyfork.org