开发者

Is there any way for Mac dashboard widget to reload himself

开发者 https://www.devze.com 2023-01-21 16:43 出处:网络
My开发者_如何学C 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.

My开发者_如何学C 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号