主权项 |
1. A computer-implemented method for remote validation of user interactions for client-side scripting, the method comprising:
receiving, using one or more computing devices and over a network, a transcript of a plurality of user interactions recorded during an execution of a client-side script, wherein the transcript comprises an indication of a relative time when each of the plurality of user interactions was recorded during the execution of the client-side script, wherein the client-side script comprises a plurality of graphical functions related to presenting objects on a display; replacing, using the one or more computing devices, each of the plurality of graphical functions of the client-side script with a null function; executing, using the one or more computing devices, the client-side script in which each graphical function is replaced with the null function, wherein each of the plurality of user interactions is provided to the executing client-side script at the relative time indicated by the transcript; determining, using the one or more computing devices and during the executing the client-side script, whether any user interaction of the plurality of user interactions provided to the executing client-side script comprises an invalid interaction for the executing client-side script at the time when the user interaction is provided to the executing client-side script; and providing, using the one or more computing devices, an indication of whether the plurality of user interactions are valid for the client-side script based at least in part on the determining. |