- SSE requires sticky sessions if behind a load balancer, like Nginx.
- Example Nginx config for SSE:
location /events {
proxy_pass http://your-node-server;
proxy_set_header Connection '';
// ==UserScript== | |
// @name YouTube URL Cleaner | |
// @namespace http://tampermonkey.net/ | |
// @version 1.6 | |
// @description Clean YouTube URLs to only keep the video ID when Shift + Left Click is used and show a popup | |
// @author maanimis | |
// @match *://*.youtube.com/* | |
// @grant clipboardWrite | |
// @run-at document-end | |
// @license MIT |
// ==UserScript== | |
// @name Full Page Hijacker | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Modify all scripts and HTML content dynamically | |
// @author You | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |
// ==UserScript== | |
// @name Script Hijacker | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Replace a specific script file with your own | |
// @author You | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |
// ==UserScript== | |
// @name remove-element-shift+click | |
// @description a userscript that allows you to detect elements when you hover over them, highlight them, and remove them when you press Shift + Click. This script works on any webpage. | |
// @namespace Violentmonkey Scripts | |
// @match https://*/* | |
// @grant none | |
// @version 1.0 | |
// @author maanimis | |
// @run-at document-end | |
// @license MIT |
const originalWebSocket = window.WebSocket; | |
class MultiWebSocket { | |
constructor(...args) { | |
this.args = args; | |
this.maxConn = 2; | |
this.extraSockets = []; | |
this.mainWS = new originalWebSocket(...args); | |
this.isSending = false; |
(function () { | |
const MULTIPLIER = +prompt("MULTIPLIER", "2"); | |
const URL = "https://territorial.io/"; | |
function createIframes(count) { | |
let container = document.getElementById("iframeContainer"); | |
if (!container) { | |
container = document.createElement("div"); | |
container.id = "iframeContainer"; | |
document.body.innerHTML = ""; |
// ==UserScript== | |
// @name Web Archive Helper | |
// @namespace http://tampermonkey.net/ | |
// @version 1.6 | |
// @description Add options to search or save pages on web.archive.org and archive.today | |
// @author maanimis | |
// @match *://*/* | |
// @grant GM_registerMenuCommand | |
// @grant GM_openInTab | |
// @license MIT |
// ==UserScript== | |
// @name hijack-fetch | |
// @namespace Violentmonkey Scripts | |
// @match *://*/* | |
// @grant none | |
// @version 1.0 | |
// @author maanimis | |
// @description 1/26/2025, 1:31:21 PM | |
// @run-at document-end | |
// @license MIT |
// ==UserScript== | |
// @name hijack-xhr | |
// @namespace Violentmonkey Scripts | |
// @match *://*/* | |
// @grant none | |
// @version 1.0 | |
// @author maanimis | |
// @description 1/26/2025, 1:35:29 PM | |
// @run-at document-end | |
// @license MIT |