in reply to Re^2: How can I tell a browser to refresh from perl?
in thread How can I tell a browser to refresh from perl?
And as another sentence said
> Is there a better way to do it?
JS doesn't spawn a process and doesn't depend on AppleScript or OS or browser at all.
You can also use JS in a hidden iframe checking in short frequency if something changed, before conditionally reloading the parent frame. (Hence no "flickering")
But that's becoming OT here, Google is your friend.
I know newer technologies like WebSockets allow to push content, but IIRC this will need a server keeping the connection alive.
See http://en.wikipedia.org/wiki/Push_technology for various options
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How can I tell a browser to refresh from perl?
by LanX (Saint) on Feb 11, 2017 at 16:15 UTC |