The navigation timing API includes the type of the current navigation
Interesting little tip, showing that you can detect whether a page was loaded due to clicking a link, reloading, back/forward or pre-rendered.
Interesting little tip, showing that you can detect whether a page was loaded due to clicking a link, reloading, back/forward or pre-rendered.