Make Profile Great Again

You're a top notch little gorilla!

// ==UserScript==
// @name         Make Profile Great Again
// @namespace    https://greasyfork.org/zh-CN/scripts/517509-make-profile-great-again
// @version      2024-11-15
// @description  You're a top notch little gorilla!
// @author       aaa1115910
// @match        https://wayfarer.nianticlabs.com/new/profile
// @icon         https://www.google.com/s2/favicons?sz=64&domain=nianticlabs.com
// @grant        none
// @require      https://unpkg.com/ajax-hook@3.0.3/dist/ajaxhook.min.js
// @license      MIT
// ==/UserScript==

(function () {
    ah.proxy({
        onResponse: (response, handler) => {
            let url = response.config.url
            if (url == "/api/v1/vault/profile") {
                let data = JSON.parse(response.response)
                data.result.performance = "great"
                let newResponse = JSON.stringify(data)
                response.response = newResponse
            }
            handler.next(response)
        }
    })
})();