Method and device for executing wireless markup language script

The invention discloses a method for executing a wireless markup language script (WML Script), which is used for supporting the WML Script in a WebKit browser, so that the WebKit browser supports the WML Script language. Therefore, the WebKit browser has perfect function. The method comprises the following steps of: loading the WML Script when a wireless application protocol wap webpage contains url of the WML Script; calling a WML Script engine under the trigger of clicking a link; calling the WML Script through the WML Script engine and acquiring the contents of the WML Script; and executing the contents of the WML Script. The invention also discloses a device for implementing the method.