Stops watching for navigation changes and cleans up all event listeners. This will remove all watchers created by watch() and restore any overridden browser APIs to their original state.
// Stop all navigation watchingunwatch(); Copy
// Stop all navigation watchingunwatch();
Stops watching for navigation changes and cleans up all event listeners. This will remove all watchers created by watch() and restore any overridden browser APIs to their original state.