This Meteor client code shows the parameters Param
when it opens the destination link in a new tab. How can it be done so the values in param
are hidden from the url and 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 the Param
values from the url in the newly opened tab.