javascript - hiding the parameters from the url in a new tab -


this meteor client code shows parameters param when opens destination link in new tab. how can done values in param hidden url , not displayed? thanks

let windowref = null; let url = 'http://www.someurl/?'; let param = {key1:val1,...} object.entries(param).foreach(([key, value]) => url += key + '=' + value + '&'); windowref = window.open(url.slice(0, -1), "mywindow"); 

edit
windowref.history.pushstate("removing query", "title", "/"); did not remove param values url in newly opened tab.

  1. you can try redirect new url no parameter.

when user hit url can save query params in local storage or sessions. can redirect no parameter.

  1. there's script guys @ wistia may you're looking for: link

Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -