AURA CLIENT Universal Wireframe

Adds a wireframe view mode to most unity games

Size

1.8 KB

Version

0.0.1.20250728180343

Created

Jan 9, 2026

Updated

26 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 0.0.1.20250728180343
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
19const settings = {
20    wireframe: false,
21};
22
23
24const WebGL = WebGL2RenderingContext.prototype;
25
26
27HTMLCanvasElement.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
36const 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
48WebGL.drawElements = new Proxy(WebGL.drawElements, handler);
49WebGL.drawElementsInstanced = new Proxy(WebGL.drawElementsInstanced, handler);
50
51window.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