Different55 / Dragon Cave Highlighter

// ==UserScript==
// @namespace       https://openuserjs.org/users/Different55
// @name            Dragon Cave Highlighter
// @description     Highlight interesting eggs on Dragon Cave.
// @copyright       2018, Different55 (https://openuserjs.org/users/Different55)
// @license         GPL-3.0-or-later; http://www.gnu.org/licenses/gpl-3.0.txt
// @version         1.0.0
// @include http*://dragcave.net/locations/*
// @include http*://dragcave.net/view/*/*
// @grant    none
// ==/UserScript==

var Eggs = document.querySelectorAll('.eggs > *');
var Paragraphs = document.querySelectorAll('#middle p');
var Eggs = [].slice.call(Eggs);
var Paragraphs = [].slice.call(Paragraphs);

var Items = [];
var Items = Items.concat(Eggs);
var Items = Items.concat(Paragraphs);

var EggsOfInterest = [
  //"This translucent egg shines like starlight.",
  //"This egg has an orange aura radiating from it.",
  //"This shiny egg seems to radiate power.",
  //"It’s almost like time is distorted around this egg.",
  //"This egg is glowing as brightly as the sun.",
  //"This egg is tiny and brightly colored.",
  //"This egg glows from within.",
];

var RareEggs = [
  "This egg looks like it doesn't belong; it is brightly colored with white spots. It's much lighter than the other eggs.",
  "This egg smells faintly like brine.",
  "This egg is soft and smells uncannily like cheese.",
  "This egg is much smaller than the others.",
  "This egg gleams with a reddish shine.",
  "This egg shimmers like gold.",
  "This egg looks like it doesn't belong; it is brightly colored with white spots.",
  "This egg has icicles forming on it.",
  "This egg is almost too hot to touch.",
  "This egg is tiny and made out of several pieces of paper folded together.",
  "This egg looks like it doesn't belong; it is brightly colored with white spots. It's much warmer than the rest of the eggs.",
  "This egg is very reflective, almost metallic looking.",
  "Whenever you go near this egg your hair stands on end.",
  "This egg is stone cold and smells rotten.",
  "Mana courses throughout this glassy egg.",
  "This egg looks like it doesn't belong; it is brightly colored with white spots. It's much heavier than the other eggs.",
];

var VeryRareEggs = [
  "This egg is very reflective, almost metallic-looking.",
  "This egg glows mysteriously.",
  "This egg is very sickly looking, like it's diseased.",
  "This egg gives off a beautiful glow.",
  
];

Items.forEach(
  function(item) {
    var desc = item.textContent;
    if (EggsOfInterest.indexOf(desc) != -1) {
      item.style.backgroundColor = "rgba(0, 255, 90, 0.75)";
      console.log('FoundInterest');
    }
    else if (RareEggs.indexOf(desc) != -1) {
      item.style.backgroundColor = "rgba(0, 190, 255, 0.75)";
      console.log('FoundRare');
    }
    else if (VeryRareEggs.indexOf(desc) != -1) {
      item.style.backgroundColor = "rgba(255, 110, 0, 0.75)";
      item.style.fontWeight = "bold";
      console.log('FoundVeryRare');
    }
  }
);