主权项 |
1. A computer-implemented method for determining whether a user interface is properly injected on an electronic device, the method comprising:
accessing, on an electronic device, web site data for a web site; providing for injection of additional code into the accessed web site data; providing for display of the web site based on the injected additional code; obtaining an actual image of a user interface corresponding to the displayed web site; receiving an expected image of a user interface in which the additional code is properly injected into the web site; determining the amount of time needed for comparing, by a server, the expected image of the user interface with the actual image of the user interface, wherein user consent has been granted; determining the amount of time needed for comparing, by the electronic device, the expected image of the user interface with the actual image of the user interface, wherein user consent has been granted; comparing the expected image of the user interface with the actual image of the user interface by one of the server and the electronic device based on the determined amounts of time, wherein user consent has been granted; and in a case where the expected image of the user interface and the actual image of the user interface do not match,
generating an error message; andproviding for notification of the error message on the electronic device. |