Bypass saves in pixlr
// ==UserScript==
// @name [Pixlr] Bypass saves
// @namespace https://greasyfork.org/users/821661
// @version 1.1a
// @description Bypass saves in pixlr
// @author hdyzen
// @match https://pixlr.com/*
// @icon https://www.google.com/s2/favicons?domain=pixlr.com/&sz=64
// @grant none
// @run-at document-start
// @license GPL-3.0-only
// ==/UserScript==
window.Number = new Proxy(window.Number, {
apply(target, thisArg, args) {
const result = Reflect.apply(target, thisArg, args);
const stack = new Error().stack;
if (stack.includes("saveClick") && !stack.includes("changeType")) {
return 0;
}
return result;
},
});