JavaScript: Detect if your browser is RockMelt

This is fairly trivial, but came in handy during my internship at RockMelt. Hope it helps all you RockMelt developers.

function isRockMelt() {
  return (navigator.userAgent.indexOf("RockMelt") !== -1);
}