3

My dashboard widget has automatic update system, but after every update user should press ⌘R for changes to take a place. I want to do it automaticaly, without any user actions.

Is there any widget method to reload it?

Common methods doesn't works: I've tried to call window.location.reload(), history.go(0) & window.location.href=window.location.href — every method throws an error.

Thilina Chamath Hewagama
  • 9,039
  • 3
  • 32
  • 45
icanhazbroccoli
  • 1,035
  • 9
  • 15

0 Answers0