hyperbeam VIP

unlock VIP

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         hyperbeam VIP
// @namespace    hyperbeam.taozhiyu.github.io
// @version      0.1
// @description  unlock VIP
// @author       涛之雨
// @match        *://hyperbeam.com/*
// @icon         https://hyperbeam.com/images/favicon.png
// @require      https://greasyfork.org/scripts/455943-ajaxhooker/code/ajaxHooker.js?version=1124435
// @grant        none
// @run-at       document-start
// @license      WTFPL
// ==/UserScript==

/* global ajaxHooker*/
/* jshint esversion: 11 */
(function() {
    'use strict';

    ;(()=>{
        const Date_=Date;
        Date=function(a){
            const d=new Date_(a);
            this.tao=a;
            this.zhiyu=d;
            return isNaN(d)?a:d;
        };
        Object.getOwnPropertyNames(Date_.prototype).map(a=>{
            Date.prototype[a]=function(){
                const d=new Date_(this.zhiyu)[a]();
                return isNaN(d)?this.tao:d;
            };
        });
        Date.now=Date_.now;
    })();
    ajaxHooker.hook(request => {
        if (request.url.includes('/private/graphql')) {
            request.response = res => {
                const a=res.json;
                if(a?.data?.me?.user){
                    a.data.me.user.admin=true;
                    a.data.me.subExpiryDate=true;
                    a.data.me.billing={
                        ...a.data.me.billing,
                        renewalDate:"someday(Maybe)",
                        billingDate:"2099",
                        status: "ACTIVE",
                    };
                    a.data.me.subExpiryDate="2099";
                }
                res.json=a;
            };
        }
    });
})();