You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a problem that i dont know how to overcome.I have a page that has filters and based on that filters list products and every time a filter is changed i want to update the history of the browser so when the user shares link or refresh the page all the filters will be applied.Right now i can't find a way to execute javascript from .net.I have created a workaround that intercepts the fetch method in javascript and after the request is completed looks for my custom header 'Hydro-Push-History' and pushes history if is present.
Maybe hydro should have some kind of mechanism for executing javascript as part of the request like when you could redirect the user or change the location(but that makes another request).
Maybe Location method should have a parameter that instructs hydro to change browser url but not make a new request.
I can contributed if necessary.
The text was updated successfully, but these errors were encountered:
Hello,
I have a problem that i dont know how to overcome.I have a page that has filters and based on that filters list products and every time a filter is changed i want to update the history of the browser so when the user shares link or refresh the page all the filters will be applied.Right now i can't find a way to execute javascript from .net.I have created a workaround that intercepts the fetch method in javascript and after the request is completed looks for my custom header 'Hydro-Push-History' and pushes history if is present.
Maybe hydro should have some kind of mechanism for executing javascript as part of the request like when you could redirect the user or change the location(but that makes another request).
Maybe Location method should have a parameter that instructs hydro to change browser url but not make a new request.
I can contributed if necessary.
The text was updated successfully, but these errors were encountered: