kapouer / node-webkitgtk

webkitgtk bindings for :rocket: Node.js
MIT License
189 stars 13 forks source link

move events out of webkitgtk ? #45

Open kapouer opened 8 years ago

kapouer commented 8 years ago

All events could be managed with code outside this module.

kapouer commented 8 years ago

Especially the "idle" event tracker, which could be useful in other projects like jsdom.

kapouer commented 7 years ago

With latest https://github.com/kapouer/node-webkitgtk/commit/54b264d85dba7e68986ba191751dac275989eb66 and https://github.com/kapouer/node-webkitgtk/commit/81d3800912b42da52c1d9e168677e57182337aa3 all the logic for idle event might be done entirely using a client script.

Filtering requests being part of that logic, both functionnalities should go together in a separate module which could in turn be used with jsdom or webkitgtk.