Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33461
| From | Richard Maher <maher_rjSPAMLESS@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Executing code pushed from the server |
| Date | 2017-06-01 06:39 +0800 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ogngni$7dn$1@gioia.aioe.org> (permalink) |
| References | <769e8d95-b693-4d1c-ae54-07f273d1c331@googlegroups.com> |
On 01-Jun-17 1:34 AM, bit-naughty@hotmail.com wrote: > Is there any way some JS code can be SENT TO the client, upon a keypress at the server, and executed there? Like, people are on a website, and when the key is pressed on the server, they see something new happening inside their browser? > I'm guessing this is something to do with EventSource and eval, but....*how* though? > > > Thanks. > WebSockets may be able to help you. I like the Push API and with Firebase's implementation there is topic-based subscription. Why can't the code you want to execute be on the page?
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Executing code pushed from the server bit-naughty@hotmail.com - 2017-05-31 10:34 -0700
Re: Executing code pushed from the server "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-05-31 19:43 +0200
Re: Executing code pushed from the server Stefan Weiss <krewecherl@gmail.com> - 2017-05-31 20:25 +0200
Re: Executing code pushed from the server bit-naughty@hotmail.com - 2017-06-01 09:35 -0700
Re: Executing code pushed from the server Stefan Weiss <krewecherl@gmail.com> - 2017-06-09 04:54 +0200
Re: Executing code pushed from the server Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2017-06-01 06:39 +0800
Re: Executing code pushed from the server bit-naughty@hotmail.com - 2017-06-09 08:54 -0700
Re: Executing code pushed from the server Stefan Weiss <krewecherl@gmail.com> - 2017-06-10 02:13 +0200
csiph-web