Evan Hahn (dot com)

Detect the RockMelt browser from JavaScript

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;
}

Posted on .