A system for sending webpage data to a client application executing on a client device, comprising: one or more processors configured to: receive a webpage request sent by the client application executing on the client device; detect a marking parameter in the webpage request; determine, from among a plurality of client types and based at least in part on the marking parameter, a client type to which the client application corresponds; and configuring webpage data and sending (107; 108) the webpage data to the client device according to the particular client type of the client application, wherein configuring and sending the webpage data includes: in the event that the client type is determined to be a browser client application, send to the client application first webpage data comprising webpage information; and in the event that the client type is determined to be a non-browser client application, send to the client application second webpage data comprising webpage information and code to execute an onboard hardware function on the client device; and one or more memories coupled to the one or more processors, configured to provide the one or more processors with instructions. one or more processors configured to: receive a webpage request sent by the client application executing on the client device; detect a marking parameter in the webpage request; determine, from among a plurality of client types and based at least in part on the marking parameter, a client type to which the client application corresponds; and configuring webpage data and sending (107; 108) the webpage data to the client device according to the particular client type of the client application, wherein configuring and sending the webpage data includes: in the event that the client type is determined to be a browser client application, send to the client application first webpage data comprising webpage information; and in the event that the client type is determined to be a non-browser client application, send to the client application second webpage data comprising webpage information and code to execute an onboard hardware function on the client device; and receive a webpage request sent by the client application executing on the client device; detect a marking parameter in the webpage request; determine, from among a plurality of client types and based at least in part on the marking parameter, a client type to which the client application corresponds; and configuring webpage data and sending (107; 108) the webpage data to the client device according to the particular client type of the client application, wherein configuring and sending the webpage data includes: in the event that the client type is determined to be a browser client application, send to the client application first webpage data comprising webpage information; and in the event that the client type is determined to be a non-browser client application, send to the client application second webpage data comprising webpage information and code to execute an onboard hardware function on the client device; and in the event that the client type is determined to be a browser client application, send to the client application first webpage data comprising webpage information; and in the event that the client type is determined to be a non-browser client application, send to the client application second webpage data comprising webpage information and code to execute an onboard hardware function on the client device; and one or more memories coupled to the one or more processors, configured to provide the one or more processors with instructions.