chardy
chardy

Reputation: 1253

Detect Page Refresh in BHO

IE doesn't fire DocumentComplete & NavigateComplete2 events after a page refresh (F5).

This is apparently "by design", but it makes it hard to respond to a page reload.

What approaches out there have had the best success? What are the caveats? Thx

Upvotes: 3

Views: 1941

Answers (1)

Favonius
Favonius

Reputation: 13984

There is no direct method and it is hard to implement across different versions of IE. Although you can use combination of some events to achieve that. Be warned the following approaches are not fool proof.

Links:

  1. MSDN Forum
  2. Detecting the IE Refresh button
  3. Refresh and DISPID_DOCUMENTCOMPLETE

Upvotes: 2

Related Questions