code: function pathname (routename, isElectron) {
    if (isElectron) routename = routename.replace(stripElectron, '')
    else routename = routename.replace(prefix, '')
    return decodeURI(routename.replace(suffix, '').replace(normalize, '/'))
  }
docs: replace everything in a route but the pathname and hash