Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Webpage processing method and device

A processing method and technology of a processing device, which are applied in the Internet field, can solve the problems of low efficiency of web page editing or testing, and achieve the effect of wide application and improved efficiency.

Active Publication Date: 2014-05-07
ALIBABA GRP HLDG LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present application provides a webpage processing method and device, to at least solve the technical problem of low efficiency in editing or testing webpages in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Webpage processing method and device
  • Webpage processing method and device
  • Webpage processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] figure 2 is a preferred structural diagram of a web page processing device according to an embodiment of the present application. Preferably, the device in this embodiment is located on the client 104 . Such as figure 2 As shown, the web page processing apparatus includes a determining unit 202 , a modifying unit 204 and a restoring unit 206 . These units are described in detail below.

[0035] 1) The determining unit 202 is configured to determine whether the html code corresponding to the page area currently to be processed in the web page contains js code, wherein the js code is used to control the display state of the page area currently to be processed;

[0036] For example, when the user wishes to edit a drop-down menu in the currently edited webpage, considering that the feature of the drop-down menu is that the drop-down menu will only be displayed when the mouse moves to a certain position or area, and the drop-down menu will be displayed when the mouse lea...

Embodiment 2

[0048] exist Figure 1-Figure 3 Based on the web page processing system and device shown, the present application provides a preferred web page processing method. Such as Figure 4 As shown, the method may include the following steps:

[0049] Step S402: Determine whether the html code corresponding to the page area currently to be processed in the web page contains js code, wherein the js code is used to control the visible state of the page area currently to be processed;

[0050] For example, when the user wishes to edit a drop-down menu in the currently edited webpage, considering that the feature of the drop-down menu is that the drop-down menu will only be visible when the mouse moves to a certain position or area, and the drop-down menu will be visible when the mouse leaves the specific area. The menu will be in an invisible state, so that when it is edited, the editing effect cannot be seen in real time. Therefore, the visibility and invisibility of the drop-down me...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a webpage processing method and device. The method comprises the steps of determining whether a html code corresponding to the current webpage area to be processed contains a js code, wherein the js code is used for controlling the display state of the current webpage area to be processed; if the js code is contained, the label type of the js code is converted into a second type from a first type, wherein the second type is used for indicating stop of execution of the js code; the label type of the js code is converted from the second type to the first type after the processing of the current webpage area to be processed is completed, wherein the first type is used for indicating execution of the js code. The webpage processing method and device solve the technical problem of low webpage compiling or testing efficiency in the prior art, and achieve the effect of improving the webpage compiling or testing efficiency.

Description

technical field [0001] The present application relates to the field of the Internet, in particular, to a web page processing method and device. Background technique [0002] At present, JavaScript (abbreviated as js), as a programming language that can make web pages more lively, has been widely used due to its advantages of being easy to learn and relatively easy to use. Developers can use JavaScript to conveniently make friendly web page welcome interface, a beautiful digital clock, and a marquee with advertising effects, etc. At the same time, JavaScript can also be used to control the display time of a certain page area in the browser, thereby greatly improving the visual effect of the web page. [0003] Javascript is most commonly used in web pages to control the visible or invisible effects of page areas. For example, the drop-down menu layer can be simulated by JavaScript. When the mouse moves to a specific area, the drop-down menu will be displayed, and when the mou...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F17/30
Inventor 洪珊珊
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products