Disable Back button on Browser and Android Hardware
(function (w) {
'use strict';
w.location.hash = "no-back-button";
w.location.hash = "Again-No-back-button";//again because google chrome don't insert first hash into history
w.onhashchange = function(){
w.location.hash = "no-back-button";
}
})(window);
//Original: http://stackoverflow.com/a/20896928