A computer-implemented method executed by a local computing device communicatively coupled to a signature device. The method comprises launching a signature device control instance including a local web server. The signature device control instance controls the signature device and receives signature data from the signature device, and listens to a localhost and a first port corresponding to a first URL. The method further comprises retrieving, by a web browser executing on the local computing device, a web page from a remote server with a second URL. The web page includes a document indicating a context for a signature to be input by the signature device, and a cross-domain reference indicating the first URL. The method still further comprises establishing, by the web browser, a connection with the first port listened to by the signature device control instance using the first URL; and controlling, by the web browser, the signature device; and receiving, by the web browser, signature data from the signature device.
展开▼