首页> 外国专利> METHOD FOR BROWSING WEB PAGES, WEBAPP PLATFORM, METHOD AND DEVICE FOR EXECUTING JAVASCRIPT FOR MOBILE TERMINALS

METHOD FOR BROWSING WEB PAGES, WEBAPP PLATFORM, METHOD AND DEVICE FOR EXECUTING JAVASCRIPT FOR MOBILE TERMINALS

机译:浏览网页的方法,WEBAPP平台,执行用于移动终端的Javascript的方法和设备

摘要

1. A method for executing external JavaScript (JS) using the advanced JS interface, which includes: Requesting the advanced program to execute the extended JS for predefined cases of loading a web page, in which the advanced program is loaded when the browser starts; The browser forms the advanced interface JS in accordance with the open application programming interface (API) in the case of determining whether to run an extended JS; Executing an extended JS through the advanced JS interface. 2. The method according to claim 1, according to which the extended JS is executed to perform the following Steps: Retrieving the content requested when searching and browsing pages by evaluating the DOM tree of the current web page; According to the extracted content, setting the browser layout mode through the installed interface configured to adjust the layout mode; Implementing the page layout for the extracted content based on the established layout mode. 3. The method of claim 1, wherein the extended JS is implemented to perform the following Steps: WebApp launches the first JS application to determine whether it is possible to configure the current forum web page after receiving the first message sent by the browser, which means starting the first JS application according to pre-registration in the WebApp platform , while the first JS application is implemented after building the host and configuring it to determine the forum type of the current web page; the first message is sent after building the host of the current web page when the web page is loaded into the browser; WebApp launches the second application
机译:1.一种用于使用高级JS接口执行外部JavaScript(JS)的方法,该方法包括:在加载网页的预定义情况下,请求高级程序执行扩展JS,其中在启动浏览器时加载高级程序;以及在确定是否运行扩展JS的情况下,浏览器根据开放应用程序编程接口(API)形成高级接口JS。通过高级JS接口执行扩展的JS。 2.根据权利要求1所述的方法,其中,执行所述扩展JS以执行以下步骤:通过评估当前网页的DOM树来检索在搜索和浏览页面时所请求的内容;以及根据提取的内容,通过安装界面配置浏览器的布局模式,以调整布局模式;根据已建立的布局模式为提取的内容实现页面布局。 3.根据权利要求1所述的方法,其中,所述扩展JS被实现为执行以下步骤:WebApp在接收到所述浏览器发送的所述第一消息之后,启动所述第一JS应用,以确定是否有可能配置当前论坛网页。表示根据WebApp平台中的预注册启动第一个JS应用程序,而第一个JS应用程序是在构建主机并配置它以确定当前网页的论坛类型之后实施的;在将网页加载到浏览器中后,在构建当前网页的主机之后发送第一条消息; WebApp启动第二个应用程序

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号