title: Detect if user navigates to route via back button of browser with Nuxt/Vuex/Vue
body: <p>I have the case that I push some parameters to the nuxt router (<a href="https://router.vuejs.org/guide/essentials/navigation.html" rel="nofollow noreferrer">https://router.vuejs.org/guide/essentials/navigation.html</a>) whenever somebody visits a page without any parameters.</p>
  
  <p>Example:
  somebody visits: <code>/program</code> it will end up in <code>/program/first-event?year=2018&amp;month=6</code>
  (First the view filters the program for current events (therefore the parameters for this year and this month) and then from the filtered events it will set the first event as active post (also by pushing it to the router).</p>
  
  <p>This is all wanted and good. BUT now I detected the following problem:
  Somebody is visiting <code>/aboutus</code> and then navigates to <code>/program</code>, the router will automatically change to <code>/program/url-of-event-post?year=2018&amp;month=6</code>.
  Assuming the user wants to go back to <code>/aboutus</code> he clicks on the browser back button. This will bring him back to: <code>/program</code> which automatically adds the post and the parameters again (effectively moving one step forward again).</p>
  
  <p>Means the user is caught in clicking endlessly on the back button.
  My approach would be to try to register if a user clicks on the back button and if so, I would not add the parameters. But I don't know how to do this.
  I thought the router would provide some 'from' property, but so far I did not find anything.</p>
  
  <p>I would be very happy to hear some thoughts on this. Thank you heaps in advance.</p>