shdewz / osu!enjoyer

// ==UserScript==
// @name         osu!enjoyer
// @namespace    http://shdewz.me/
// @version      0.1
// @description  enjoy game
// @author       shdewz
// @copyright    2021, shdewz (https://openuserjs.org/users/shdewz)
// @license      MIT
// @require      https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// @require      https://gist.github.com/raw/2625891/waitForKeyElements.js
// @match        https://osu.ppy.sh/users/*
// @match        https://osu.ppy.sh/u/*
// @icon         https://www.google.com/s2/favicons?domain=osu.ppy.sh
// @grant        none
// ==/UserScript==

/* globals $, waitForKeyElements */

waitForKeyElements('.profile-detail__row', run);

function run() {
    $('.profile-detail__row').eq(1).hide();
    $('.value-display--pp').hide();
    $('.user-profile-pages__item[data-page-id=\'top_ranks\']').hide();
    $('.page-mode__item[data-page-id=\'top_ranks\']').hide();
}