title: How do I detect IE and Edge browser?
body: <p>Can't get Parallax working properly in IE or Microsoft Edge. I've looked in forums and haven't found a solution to the problem. I've come up with hopefully a solution for now. I want to make a message appear if the user is using IE or Edge. Not sure how I can detect that the browser being used is one or the either.</p>
  
  <p>Here is some javascript code I'm trying to work with:</p>
  
  <pre><code>&lt;script src="https://github.com/ded/bowser/blob/master/src/bowser.js"&gt;&lt;/script&gt;
  
      // Determine Browser Used
  browser = require('bowser').browser; becomes browser = require('bowser');
  if (bowser.msie || bowser.msedge) {
    alert('Hello Microsoft User');
  }
  </code></pre>
  
  <p>Any help would be appreciated or if there is a better solution.</p>
  
  <p><a href="http://peaceandplentyinn.mybnbwebsite.com">http://peaceandplentyinn.mybnbwebsite.com</a></p>