-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Omar Mallat edited this page Oct 31, 2018
·
4 revisions
How to read Emirates ID data from web application, using JavaScript, Chrome extension, and desktop application?

- user click on the button in the web page that raises an event
- content_script will listen to this event and send message to background process
- background process will receive the message and ask chrome to run ae.eid.chrome
- chrome will identify the application, and open ae.eid.chrome.json
- chrome will check whether the caller is allowed or not
- if allowed, chrome will the run the exe listed in the path attribute.
- exe will run, read Emirates ID, copy the data to the clipboard and close.
- background process will see that exe finish, read the clipboard and send it as a message to content_script
- content_script will parse the JSON message, and push the data properly into the fields of the web page.