Simplest way

Insert this code to the head section of your document.

  !function (e, n, t, o, c, a, i) {
  e.WarnBarObject = c, e[c] = e[c] || function () { (e[c].q = e[c].q || []).push(arguments) },
  e[c].l = 1 * new Date, a = n.createElement(t), i = n.getElementsByTagName(t)[0], a.src = o, i.parentNode.insertBefore(a, i)
  }(window, document, 'script', '//', 'warnBar');
  warnBar('', 'This page is only for development.<br/><a href="">I want go to</a>', 'I know what it is, show me page');

You can view DEMO.