您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Tired of letting other people's opinions influence your own? This simple userscript hides other user's ratings by default. Already rated a release and want to see what others said? Just press the toggle rating data button.
当前为
// ==UserScript== // @name RYM Review Hider // @version 1.01 // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js // @grant none // @description Tired of letting other people's opinions influence your own? This simple userscript hides other user's ratings by default. Already rated a release and want to see what others said? Just press the toggle rating data button. // @match https://rateyourmusic.com/release/* // @match http://rateyourmusic.com/release/* // @exclude /https?://rateyourmusic\.com/.+/reviews/* // @namespace http://greasyfork.icu/users/758717 // ==/UserScript== var rating = $('.avg_rating').text(); var hidden = true; if (window.location.href.includes("reviews")) { $('.section_reviews').hide(); $('.avg_rating').text("?"); $('.section_catalog').hide(); $('.section_my_catalog').append("<div class='review_btn' id='toggle_reviews'>Click to show rating data</div>"); $('#toggle_reviews').css({"margin": "auto", "display": "block", "background-image": "initial"}); $('#toggle_reviews').on('click', function() { hidden == true ? hidden = false : hidden = true; $('#toggle_reviews').text(hidden ? "Click to show rating data" : "Click to hide rating data"); $('.section_reviews').toggle(); $('.section_catalog').toggle(); $('.avg_rating').text() == "?" ? $('.avg_rating').text(rating) : $('.avg_rating').text("?"); }); }