AURA CLIENT Universal Wireframe

Adds a wireframe view mode to most unity games

Size

1.9 KB

Version

1.20250728180343.2

Created

Jan 9, 2026

Updated

25 days ago

1// ==UserScript==
2// @name		AURA CLIENT Universal Wireframe
3// @description		Adds a wireframe view mode to most unity games
4// @author		AURA CLIENT
5// @match		*://*deadshot.io/*
6// @match		*://*cryzen.io/*
7// @match		*://*kirka.io/*
8// @match		*://*kour.io/*
9// @match		*://*narrow.one/*
10// @match		*://*.io/*
11// @license		MIT
12// @run-at		document-start
13// @version		1.20250728180343.2
14// @namespace		https://greasyfork.org/users/1499252
15// @downloadURL		https://update.greasyfork.org/scripts/543908/AURA%20CLIENT%20Universal%20Wireframe.user.js
16// @updateURL		https://update.greasyfork.org/scripts/543908/AURA%20CLIENT%20Universal%20Wireframe.meta.js
17// ==/UserScript==
18(function() {
19    'use strict';
20
21    const settings = {
22        wireframe: false,
23    };
24
25    const WebGL = WebGL2RenderingContext.prototype;
26
27    HTMLCanvasElement.prototype.getContext = new Proxy(HTMLCanvasElement.prototype.getContext, {
28        apply(target, thisArgs, args) {
29            if (args[1]) {
30                args[1].preserveDrawingBuffer = false;
31            }
32            return Reflect.apply(...arguments);
33        }
34    });
35
36    const handler = {
37        apply(target, thisArgs, args) {
38            const program = thisArgs.getParameter(thisArgs.CURRENT_PROGRAM);
39            args[0] = settings.wireframe && !program.isUIProgram && args[1] > 6 ? thisArgs.LINES : args[0];
40            try {
41                return Reflect.apply(...arguments);
42            } catch (error) {
43                console.error('Drawing elements failed:', error);
44            }
45        }
46    };
47
48    WebGL.drawElements = new Proxy(WebGL.drawElements, handler);
49    WebGL.drawElementsInstanced = new Proxy(WebGL.drawElementsInstanced, handler);
50
51    window.addEventListener('keyup', function (event) {
52        if (document.activeElement && document.activeElement.value !== undefined) return;
53        if (event.code === 'KeyQ') {
54            settings.wireframe = !settings.wireframe;
55        }
56    });
57})();
AURA CLIENT Universal Wireframe | Robomonkey