Skip to content

Instantly share code, notes, and snippets.

@zaiplanet
zaiplanet / postMessageTracker.js
Created March 25, 2024 09:14 — forked from ounissi-zakaria/postMessageTracker.js
User Script that tracks postMessage event listeners and makes it easy to track/debug them
// ==UserScript==
// @name PostMessage Tracker
// @namespace Violentmonkey Scripts
// @match *://*/*
// @version 1.0
// @author Ounissi zakaria (https://twitter.com/zakaria_ounissi)
// @description Each time an event listener is added for `message` it adds a menu command to tha message handler.
// @grant GM.registerMenuCommand
// @run-at document-start
// ==/UserScript==
@zaiplanet
zaiplanet / medium.user.js
Created December 22, 2023 13:39 — forked from mathix420/medium.user.js
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 1.4
// @inject-into content
@zaiplanet
zaiplanet / MessageBoxEx.cs
Created July 7, 2023 01:02 — forked from otuncelli/MessageBoxEx.cs
Parent centered MessageBox dialog in C#
using System.Drawing;
using System.Runtime.InteropServices;
using System.Security;
using System.Threading.Tasks;
namespace System.Windows.Forms
{
using Point = Drawing.Point;
/// <summary>