Closed bershanskiy closed 2 years ago
Use chrome.devtools.network.onNavigated instead of page context unload event.
This acheives the same result and has several advantages:
unload
Closing as obsolete.
Use chrome.devtools.network.onNavigated instead of page context unload event.
This acheives the same result and has several advantages:
unload
listeners can be unreliable with async operations (the context might be unloaded before message is sent)unload
listeners can interfere with bfcache (especially on Firefox)