Skip to content

Instantly share code, notes, and snippets.

@hemogoblinoid
Last active November 11, 2024 05:45
Show Gist options
  • Select an option

  • Save hemogoblinoid/e94de49ca7d5e795c8841e7a6b8e8a99 to your computer and use it in GitHub Desktop.

Select an option

Save hemogoblinoid/e94de49ca7d5e795c8841e7a6b8e8a99 to your computer and use it in GitHub Desktop.
Userscript that hides average ratings and other potential sources of bias on RateYourMusic. Developed using Tampermonkey.
// ==UserScript==
// @name Hide RYM Bias
// @namespace http://tampermonkey.net/
// @version 0.5
// @description Hide rating information to minimize outside influence when forming your opinions.
// @author Hemogoblinoid
// @match https://rateyourmusic.com/*
// @grant GM_addStyle
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js
// @run-at document-start
// ==/UserScript==
/* globals jQuery, $, waitForKeyElements */
GM_addStyle(`
.album_info,
.disco_header.disco_header_rating_nocat,
.disco_header.disco_header_rating,
.disco_header.disco_header_num_reviews,
.disco_header.disco_num_reviews,
.disco_header_num_ratings,
.disco_avg_rating,
.review_rating,
.track_rating_,
div.disco_reviews,
div.disco_ratings,
div.section_reviews.section_outer,
div.section_catalog.section_outer,
.component_discography_item_stats span,
.component_discography_item_header_stats span,
.page_features_secondary_metadata_rating_final,
.page_new_releases_list .newreleases_item_statbox,
.frontpage_newreleases_info_headers,
span.track_rating {
display: none;
}
.disco_header_num_ratings {
float: right;
width: 5.5em;
margin-right: 9.8em;
}
[title~=Recommended] {
font-weight: normal;
}
`);
$(document).ready(function() {
$( "th:contains('RYM Rating')" ).parent().remove();
$( "th:contains('Friends')" ).parent().remove();
$( "th:contains('Ranked')" ).parent().remove();
$(".album_info").show();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment