jeudi 9 février 2017

So let's say that i wanted to create a library that

For example:

Create a chrome extension that would, once enabled, allow the user to click on different part of their webpage. The extension would then replay what the user clicked in the same order they've clicked it. How would my code remember where the user clicked in the future so that it can replay the walk-through even if part of the website (html elements, id, class) has changed?

For now, the way i implemented it is to save off any id or class name the user clicked on a database then look those up once the user wants to remember what they've clicked. I cannot but think that there's got to be a more advance way (virtual dom?) to do this.

Is there any other web technology that would help me achieve such mission?




Aucun commentaire:

Enregistrer un commentaire