Back to portal

Auto New Windows Demo


          [
  {
    "regex": "https://median.dev/auto-new-windows/?",
    "level": 1
  },
  {
    "regex": "https://median.dev/auto-new-windows/contact/?",
    "level": 2
  },
  {
    "regex": "https://median.dev/auto-new-windows/about/?",
    "level": 3
  }
]
        
          if (navigator.userAgent.indexOf('gonative') > -1 || navigator.userAgent.indexOf('median') > -1) {
  median.navigationLevels.set({ 'persist': true });
}