GRAB Mod Menu

A lightweight utility for grabvr.quest that adds a floating menu with level downloading, creator pack batch downloading as a ZIP, and live level statistics.Requires password to login and excecute, therefore won't give to people due to the idiots who abuse stuff. Downloader made by a friend, rest are made by me.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         GRAB Mod Menu
// @namespace    greasyfork.org/users/1071409
// @version      1.1
// @description  A lightweight utility for grabvr.quest that adds a floating menu with level downloading, creator pack batch downloading as a ZIP, and live level statistics.Requires password to login and excecute, therefore won't give to people due to the idiots who abuse stuff. Downloader made by a friend, rest are made by me.
// @author       Zylo
// @match        https://grabvr.quest/levels*
// @license      MIT
// @grant        GM_xmlhttpRequest
// @grant        GM_setValue
// @grant        GM_getValue
// @connect      zylo.hwrhero13.workers.dev
// ==/UserScript==

(async function() {
    let key = await GM_getValue("grab_key", null);

    if (!key) {
        key = prompt("Enter Worker key to activate GRAB Menu:");
        if (!key) return;
        GM_setValue("grab_key", key);
    }

    GM_xmlhttpRequest({
        method: "GET",
        url: "https://zylo.hwrhero13.workers.dev/?key=" + key + "&v=" + Date.now(),
        onload: function(response) {
            if (response.status === 401) {
                GM_setValue("grab_key", null);
                alert("Invalid key — cleared, try again.");
                return;
            }
            var script = document.createElement("script");
            script.textContent = response.responseText;
            document.head.appendChild(script);
        }
    });
})();