var myRouter = new Backbone.Router(); Backbone.history.start(); myRouter.route(/(help|support|answers|qa)/,'help',function(){ console.log('The url hash just change to /#help'); }); //change url hash to "#help" window.location.hash = 'help'; //change url hash to "#qa" setTimeout(function(){window.location.hash = 'qa';},2000); //hange url hash to "#support" setTimeout(function(){window.location.hash = 'support';},4000);