FWeinb / electron-screenshot-service

Take screenshots using electron
MIT License
141 stars 26 forks source link

Feature Request: Inject JavaScript #17

Closed samcus closed 8 years ago

samcus commented 8 years ago

Similar to how we inject CSS. Possible? Also is there an easy way to select specific dom elements to capture? I could do a hide all and show only what I want but I'd like a better way to specify dom capture.

FWeinb commented 8 years ago

Electron doesn't provide a way to just capture a specific DOM element. Injecting JS sounds interesting.

FWeinb commented 8 years ago

Supported in 3.2.0 🎆 See options.js.