UselessScript#1

Change some words to fruits because why not

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        UselessScript#1
// @namespace   www.google.com
// @description Change some words to fruits because why not
// @include    http://rateyourmusic.com/boards*
// @include    http://rateyourmusic.com/board_message*
// @include    https://rateyourmusic.com/boards*
// @include    https://rateyourmusic.com/board_message*
// @require    http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js 
// @version     1
// @grant       none
// ==/UserScript==		
// WARNING: EXTREMELY BUGGY! UTMOST CAUTION REQUIRED!
$('.mbgen td').each(function() {
  var cellText = $(this).html();    
	var mapObj = {
		objective:"mango",
		subjective:"pineapple"
	};
	
	cellText = cellText.replace(/objective|subjective/gi, function(matched){
		return mapObj[matched];
	});
	
	$(this).html(cellText);
});