title: location redirect to "sms:123454" does not work on page load
body: <p>Following is the code I have got for location redirect to SMS app when the user is on a mobile browser-</p>
  
  <pre><code>window.onload = function() {
      window.location ="sms:12345?body=" + encodeURIComponent("TEST");
  }
  </code></pre>
  
  <p>This code works perfectly on JS fiddle when running on a mobile
  JS Fiddle link -<a href="https://jsfiddle.net/netstarter/rwqyp2tn/1/" rel="noreferrer">https://jsfiddle.net/netstarter/rwqyp2tn/1/</a></p>