rsify / pico

Take browser screenshots in Javascript 📸
MIT License
1.96k stars 45 forks source link

Capture cursor position #11

Open the0neyouseek opened 4 years ago

the0neyouseek commented 4 years ago

I would love to have the possibility to have the cursor position recorded in the screenshot.

Here's an example of what it could look like :

Before After
wikipedia-capture wikipedia-cursor

It could be an optional feature enabled through the options like so :

export declare type Options = {
    // An array of selectors to nodes that should not be included in the output.
    ignore: string[];
    // Display the cursor in the screenshot (default: false)
    showCursor: boolean; 
};

What do you think ?

rsify commented 4 years ago

I'm personally not interested but could be a nice addition.