2

I'm writing a userscript for Chrome.

Userscript is written for a site that has special navigation. It sends a AJAX request, get data, and then do location.reload(true); so no onreadystatechange/onload/onchange or other events does occur.

How can I make trigger for location reload?

PS: No jQuery.

Diosney
  • 10,087
  • 14
  • 62
  • 108
sashab
  • 1,386
  • 1
  • 17
  • 34
  • also, watch from http://stackoverflow.com/questions/1759987/detect-variable-change-in-javascript for location.href does not work. – sashab Feb 09 '11 at 19:20
  • location.reload(true) just reloads the page right? so your user script should re-evaluated upon reload, is it not? – erikvold Feb 10 '12 at 18:44

0 Answers0