browser history - Tracing changes to window.location in JavaScript -


i have webapp doing weird, wrong, unexpected redirection through javascript (i checked disabling javascript in browser. redirection doesn't happen). i've checked javascript code window.location being set , put breakpoints on it, still didn't tell me did redirect.

i don't want add processing before or after redirections, need know code triggered redirection can disabled it.

there's several methods navigation in javascript. check

  • window.location or document.location
  • window.navigate (only in browsers)
  • window.history

see e.g. https://developer.mozilla.org/en-us/docs/dom/window.history or https://developer.mozilla.org/en-us/docs/dom/manipulating_the_browser_history on history, , https://developer.mozilla.org/en-us/docs/dom/window.location on window.location


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -