Vuk Djapic
Vuk Djapic

Reputation: 886

Chrome extension WebNavigation listener for hash change

I've been using chrome.webNavigation.onCommitted and onCompleted listeners successfully to detect page changes, but now there are some websites that loads new pages entirely with just URL hash part changed. And those changes don't fire these two listeners. Is there any way to instruct chrome.webNavigation API to listen to these changes in URL as well? Or is there any other method in Chrome extension to do it?

Upvotes: 2

Views: 3050

Answers (1)

woxxom
woxxom

Reputation: 73526

See also: JS methods of detecting page changes available in a content script.

Upvotes: 6

Related Questions