CN103777935A - Webpage processing method and device - Google Patents

Webpage processing method and device Download PDF

Info

Publication number
CN103777935A
CN103777935A CN201210410693.2A CN201210410693A CN103777935A CN 103777935 A CN103777935 A CN 103777935A CN 201210410693 A CN201210410693 A CN 201210410693A CN 103777935 A CN103777935 A CN 103777935A
Authority
CN
China
Prior art keywords
code
type
page area
webpage
current pending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210410693.2A
Other languages
Chinese (zh)
Other versions
CN103777935B (en
Inventor
洪珊珊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201210410693.2A priority Critical patent/CN103777935B/en
Publication of CN103777935A publication Critical patent/CN103777935A/en
Application granted granted Critical
Publication of CN103777935B publication Critical patent/CN103777935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

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

Web page processing method and device
Technical field
The application relates to internet arena, in particular to a kind of web page processing method and device.
Background technology
At present, JavaScript(is referred to as js) can allow the more lively programming language of webpage as one, rely on it easy to learn, use the comparatively advantage such as aspect to be widely used, developer can utilize JavaScript to make easily warm webpage and welcome interface, beautiful digital clock and have the horse race lamp etc. of advertising results, can also control the displaying time of certain page area at browser by JavaScript, thereby greatly improved the visual effect of webpage simultaneously.
Javascript is the most frequently used in webpage is that the visible or sightless effect of page area is controlled.For example, can simulate drop-down menu layer by JavaScript, in the time that mouse moves to specific region, this drop-down menu just can display, and works as onMouseOut, and this drop-down menu will be automatically invisible.
But when these drop-down menus editors in visual edit, editorial staff can wish that these drop-down menus are always in visible state, even if having left specific region, mouse also wishes that these drop-down menus are in visible state.But when deviser is in the time editing or test drop-down menu, mouse often can not be parked in above-mentioned specific region always, deviser also just cannot see the edit effect of drop-down menu in real time like this.If deviser is editing after one section of code, the display effect of wanting to have a look corresponding drop-down menu just need to be put into mouse more above-mentioned specific region and watch, and then leaves and proceed editor, cannot realize editor and show synchronous.In the manner described above webpage is edited or tested, operate also cumbersome, the efficiency that webpage is edited or tested is also very low simultaneously.
In correlation technique, conventional solution is exactly to find the DOM node of JavaScript operation, then cancels event binding or cancels component binding, completes the binding that recovers when needed again event or assembly after corresponding editor or test job.,, in the time not wishing by JavaScript, the visible state of the page to be controlled, with regard to the binding of cancellation event or assembly, just recover when needed binding.But the binding by this event or assembly or remove the mode of the visible state of controlling the page, need to be met following three conditions by control object: 1) the object needs of operation are certain the DOM nodes in the page; 2) need to know event type or the component type of this object binding; 3) event or the type of binding must provide cancellation binding function.Therefore, implement certain restriction, only can control the region that meets above three conditions, and be difficult to the All Ranges in the page to be controlled, meanwhile, need to find corresponding event or assembly, implement comparatively complexity, efficiency is lower.
For the problems referred to above, effective solution is not yet proposed.
Summary of the invention
The application provides a kind of web page processing method and device, at least to solve the lower technical matters of efficiency of in prior art, webpage being edited or being tested.
According to the application aspect, a kind of web page processing method is provided, the method comprises: determine in the html code that in webpage, current pending page area is corresponding whether comprise js code, wherein, the control of above-mentioned js code for the show state of above-mentioned current pending page area is carried out; If comprise above-mentioned js code, the tag types of above-mentioned js code is changed into Second Type from the first kind, wherein, above-mentioned Second Type is used to indicate and stops carrying out above-mentioned js code; After completing the processing of above-mentioned current pending page area, the tag types of above-mentioned js code is changed into the above-mentioned first kind from above-mentioned Second Type, wherein, the above-mentioned first kind is used to indicate carries out above-mentioned js code.
Preferably, the control that above-mentioned js code carries out the show state of above-mentioned current pending page area comprises: control above-mentioned current pending page area and carry out visible or invisible.
Preferably, the above-mentioned step that the tag types of above-mentioned js code is changed into the above-mentioned first kind from above-mentioned Second Type comprises: the interface component arranging by above-mentioned webpage receives for asking to carry out the request instruction of above-mentioned js code; In response to above-mentioned request instruction, the tag types of above-mentioned js code is changed into the above-mentioned first kind from above-mentioned Second Type.
Preferably, in the time that the tag types of above-mentioned js code is changed into Second Type from the first kind, said method also comprises: above-mentioned interface component is set on above-mentioned webpage.
Preferably, in the process of the processing to above-mentioned current pending page area, the show state of above-mentioned current pending page area is visible.
Preferably, the step of the processing to above-mentioned current pending page area comprises: above-mentioned current pending page area is edited and/or tested.
Preferably, the above-mentioned first kind is text/javascript, and above-mentioned Second Type is text/plain.
According to the application on the other hand, a kind of page processor is provided, comprise: determining unit, for determining in the html code that the current pending page area of webpage is corresponding whether comprise js code, wherein, the control of above-mentioned js code for the show state of above-mentioned current pending page area is carried out; Revise unit, for while comprising above-mentioned js code, the tag types of above-mentioned js code being changed into Second Type from the first kind when definite, wherein, above-mentioned Second Type is used to indicate and stops carrying out above-mentioned js code; Reduction unit, for after completing the processing of above-mentioned current pending page area, changes into the above-mentioned first kind by the tag types of above-mentioned js code from above-mentioned Second Type, and wherein, the above-mentioned first kind is used to indicate carries out above-mentioned js code.
Preferably, above-mentioned reduction unit comprises: receiver module, receives for asking to carry out the request instruction of above-mentioned js code for the interface component by arranging on above-mentioned webpage; Recovery module, for changing into the above-mentioned first kind by the tag types of above-mentioned js code from above-mentioned Second Type in response to above-mentioned request instruction.
Preferably, above-mentioned page processor also comprises: setting unit in the time that the tag types of above-mentioned js code is changed into Second Type from the first kind, arranges above-mentioned interface component on above-mentioned webpage.
In this application, the control of the tag types by the js code in html code corresponding to the page area to pending, to cancel this section of js code when the particular point in time, the show state of pending page area is controlled, thereby solve the lower technical matters of efficiency of in prior art, webpage being edited or being tested, reached the effect that improves the efficiency of web page editing or test.Meanwhile, in this preferred implementation, do not need to be concerned about the implementation of the page, as long as determine that certain pending page area contains JavaScript code, the scope of application is wider.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the present application, forms the application's a part, and the application's schematic description and description is used for explaining the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is a kind of preferred structure block diagram according to the Web Page Processing system of the embodiment of the present application;
Fig. 2 is a kind of preferred structure block diagram according to the page processor of the embodiment of the present application;
Fig. 3 is the another kind of preferred structure block diagram according to the page processor of the embodiment of the present application;
Fig. 4 is a kind of preferred flow charts according to the web page processing method of the embodiment of the present application;
Fig. 5 is the another kind of preferred flow charts according to the web page processing method of the embodiment of the present application;
Fig. 6 is another preferred flow charts according to the web page processing method of the embodiment of the present application.
Embodiment
Hereinafter also describe the application in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.
Before the further details of each embodiment of describing the application, a suitable counting system structure that can be used for the principle that realizes the application is described with reference to Fig. 1.In the following description, except as otherwise noted, otherwise represent to describe each embodiment of the application with reference to the symbol of the action of being carried out by one or more computing machines and operation.Thus, be appreciated that and be sometimes called as this class action of computing machine execution and operate the processing unit that comprises computing machine to represent the manipulation of the electric signal of data with structured form.This manipulation transforms on data or the position in the accumulator system of computing machine, safeguard it, the operation of computing machine is reshuffled or changed to this mode of all understanding with those skilled in the art.The data structure of service data is the physical location with the storer of the defined particular community of form of data.But although describe the application in above-mentioned context, it does not also mean that restrictively, as understood by those skilled in the art, the each side of hereinafter described action and operation also available hardware realizes.
Turn to accompanying drawing, wherein identical reference number refers to identical element, and the application's principle is shown in a suitable computing environment and realizes.Below describe the embodiment of the application based on described, and should not think to limit the application about the alternative embodiment of clearly not describing herein.
Fig. 1 shows the schematic diagram of an example computer architecture that can be used for these equipment.For purposes of illustration, the architecture of painting is only an example of proper environment, and not usable range or the function to the application proposes any limitation.This computing system should be interpreted as to the arbitrary assembly shown in Fig. 1 or its combination are had to any dependence or demand yet.
The application's principle can or configure with other universal or special calculating or communication environment and operate.The example that is applicable to the application's well-known computing system, environment and configuration includes but not limited to, personal computer, server, multicomputer system, system, minicomputer, mainframe computer based on micro-processing and comprise the distributed computing environment of arbitrary said system or equipment.
In its most basic configuration, the Web Page Processing system 100 in Fig. 1 at least comprises: the server 102 of a website and one or more client 104.Server 102 can include but not limited to the treating apparatus of Micro-processor MCV or programmable logic device (PLD) FPGA etc., for storing the memory storage of data and the transmitting device with client communication; Client 104 can comprise: Micro-processor MCV, with the transmitting device of server communication, with the display device of user interactions.In the present specification and claims, " system " also can be defined as can executive software, firmware or microcode come any nextport hardware component NextPort of practical function or the combination of nextport hardware component NextPort, Web Page Processing system 100 can be even distributed, to realize distributed function.
As used in this application, term " module ", " assembly " or " unit " can refer to software object or the routine in the renewal system 100 of configuration information, carried out.Different assembly described herein, module, unit, engine and service can be implemented as object or the process of in Web Page Processing system 100, carrying out (for example,, as independent thread).Although system and method described herein is preferably realized with software, the realization of the combination of hardware or software and hardware also may and be conceived.
Embodiment 1
Fig. 2 is according to the preferred structural representation of the one of the page processor of the embodiment of the present application, and preferred, the device in the present embodiment is positioned in client 104.As shown in Figure 2, this page processor comprises determining unit 202, revises unit 204 and reduction unit 206.Below these unit are specifically described.
1) determining unit 202, for determining in the html code that the current pending page area of webpage is corresponding whether comprise js code, wherein, the control of js code for the show state of current pending page area is carried out;
For example, when user wishes in the time that certain drop-down menu in the webpage of pre-editing is edited, the characteristic of considering drop-down menu be mouse while moving on to certain position or region drop-down menu just can show, in the time that mouse leaves this specific region, drop-down menu will, in invisible mode, just cannot be seen in real time editor's effect like this when it is edited.Therefore, by reaching its visible and sightless control for the control of it being carried out to the visible js code of controlling this drop-down menu is corresponding.Preferably, can first judge in the html code that this drop-down menu is corresponding whether have one section of js code for this pending page area visible state is controlled, only have in html code and exist js code just can control this pending page area in the following ways.
2) revise unit 204, be coupled with determining unit 202, for while comprising js code, the tag types of js code being changed into Second Type from the first kind when definite, wherein, Second Type is used to indicate and stops carrying out js code;
When judge exist this pending page area show state is controlled js code time, just the state of this section of js code is revised as to non-executing state by executing state, this section of js also just disappeared to the control action of pending page area like this, even if mouse leaves specific region, drop-down menu also can be visible.Preferably, every section of js code is corresponding an attribute-bit all, and it is text or code that this attribute-bit can identify this section of js code, if be designated text, this section of code is not performed, if be designated js code, this section of code will be performed.Therefore, consider that web menu is the visible and sightless control realizing according to js code, only need to be at drop-down menu in visible state, the js code that this section controlled it changes to text status by code status, the control action of this section of js code has also just disappeared like this, corresponding drop-down menu also will be always in visible state, makes editorial staff can see in real time editor's effect.Above-mentioned visible and sightless state can refer to the state whether this page area can be seen in human eye.As the preferred mode of one, can realize in such a way visible and sightless state: treat that processing page region shows or hide, or, needs are set as to sightless pending page area and block etc.
3) reduction unit 206, is coupled with revising unit 204, for after completing the processing of current pending page area, the tag types of js code is changed into the first kind from Second Type, and wherein, the first kind is used to indicate carries out js code.
After completing the editor of drop-down menu, its corresponding tag types can be changed to js code status again, thereby recover the control action of the visible state of js code to drop-down menu.
In above-mentioned preferred implementation, the control of the tag types by the js code in html code corresponding to the page area to pending, to cancel this section of js code when the particular point in time, the visible state of pending page area is controlled, thereby solve the lower technical matters of efficiency of in prior art, webpage being edited or being tested, reach the effect that improves the efficiency of web page editing or test, simultaneously, in this preferred implementation, do not need to be concerned about the implementation of the page, as long as determine that certain pending page area contains JavaScript code, the scope of application is wider.
Being exactly the visible or sightless control to pending page area for the control of the above-mentioned visible state to current pending page area, is invisible or visible at the specific pending page area of time point control.
In a preferred implementation, as shown in Figure 3, above-mentioned reduction unit 206 comprises: receiver module 302, receives for asking to carry out the request instruction of js code for the interface component by arranging on webpage; Recovery module 304, is coupled with receiver module 302, for the tag types of js code being changed into the first kind from Second Type in response to request instruction.Above-mentioned interface component can be to arrange at current web page the process of the tag types of js code being changed into Second Type from the first kind, for example, this control can be exactly a button on the page, as long as user clicks this button and just can trigger the change of the tag types to js code.
In above-mentioned each preferred implementation, when current pending page area is processed, just need to set the visible state of current pending page area for visible.For example, exactly when drop-down menu is edited or revised, just need to control this drop-down menu in visible state, thereby make editorial staff can see in real time editor's effect.,, in the time that needs are processed certain page area, just this pending page area is fixed.
Above-mentioned can be that current pending page area is edited and/or tested to the processing of current pending page area.
Preferably, in JavaScript code, every section of JavaScript code all can a corresponding script label, this script label is used for defining client script, for example: the type attribute of JavaScript is for identifying the content type between <script> and </script>, wherein, text/plain is designated text, and text/javascript is designated JavaScript code.Browser can be processed this section of JavaScript accordingly according to this attribute of every section of JavaScript code, and concrete processing mode can be: tag types is that text/javascript just carries out, and when tag types is text/plain, does not just carry out.Therefore, can judge whether to carry out this section of code to realize the control of the visible state to this section of corresponding page area of code according to the tag types of code.
Embodiment 2
On the basis of the Web Page Processing system shown in Fig. 1-Fig. 3 and device, the application provides a kind of preferred web page processing method.As shown in Figure 4, the method can comprise the steps:
Step S402: determine in the html code that in webpage, current pending page area is corresponding whether comprise js code, wherein, the control of js code for the visible state of current pending page area is carried out;
For example, when user wishes in the time that certain drop-down menu in the webpage of pre-editing is edited, the characteristic of considering drop-down menu is that drop-down menu just can be visible while moving on to certain position or region for mouse, in the time that mouse leaves this specific region, drop-down menu will, in invisible mode, just cannot be seen in real time editor's effect like this when it is edited.Therefore, by reaching its visible and sightless control for the control of it being carried out to the visible js code of controlling this drop-down menu is corresponding.Preferably, can first judge in the html code that this drop-down menu is corresponding whether have one section of js code for this pending page area visible state is controlled, only have in html code and exist js code just can control this pending page area in the following ways.
Step S404: if comprise js code, the tag types of js code is changed into Second Type from the first kind, wherein, Second Type is used to indicate and stops carrying out js code;
When judge exist this pending page area visible state is controlled js code time, just the state of this section of js code is revised as to non-executing state by executing state, this section of js also just disappeared to the control action of pending page area like this, even if mouse leaves specific region, drop-down menu also can be visible.Preferably, every section of js code is corresponding an attribute-bit all, and it is text or code that this attribute-bit can identify this section of js code, if be designated text, this section of code is not performed, if be designated js code, this section of code will be performed.Therefore, consider that web menu is the visible and sightless control realizing according to js code, only need to be at drop-down menu in visible state, the js code that this section controlled it changes to text status by code status, the control action of this section of js code has also just disappeared like this, corresponding drop-down menu also will be always in visible state, makes editorial staff can see in real time editor's effect.Above-mentioned visible and sightless state can refer to the state whether this page area can be seen in human eye.As the preferred mode of one, can realize in such a way visible and sightless state: treat that processing page region shows or hide, or, needs are set as to sightless pending page area and block etc.
Step S406: after completing the processing of current pending page area, the tag types of js code is changed into the first kind from Second Type, wherein, the first kind is used to indicate carries out js code.
After completing the editor of drop-down menu, its corresponding tag types can be changed to js code status again, thereby recover the control action of the show state of js code to drop-down menu.
In above-mentioned preferred implementation, the control of the tag types by the js code in html code corresponding to the page area to pending, to cancel this section of js code when the particular point in time, the show state of pending page area is controlled, thereby solve in prior art the show state for the treatment of processing page region by cancellation event or modularity and controlled the lower technical matters of the efficiency that webpage is edited or tested causing, reach the effect that improves the efficiency of web page editing or test, simultaneously, in this preferred implementation, do not need to be concerned about the implementation of the page, as long as determine that certain pending page area contains JavaScript code, the scope of application is wider.
Being exactly the visible or sightless control to pending page area for the control of the above-mentioned show state to current pending page area, is invisible or visible at the specific pending page area of time point control.
In a preferred implementation, as shown in Figure 5, the step that the tag types of js code is changed into the first kind from Second Type comprises:
Step S502: receive for asking to carry out the request instruction of js code by the interface component arranging on webpage;
Step S504: the tag types of js code is changed into the first kind from Second Type in response to this request instruction.That is, under special touch, carry out again original JavaScript code, to keep original animation effect.
Above-mentioned interface component can be to arrange at current web page the process of the tag types of js code being changed into Second Type from the first kind, for example, this control can be exactly a button on the page, as long as user clicks this button and just can trigger the change of the tag types to js code.
In above-mentioned each preferred implementation, when current pending page area is processed, just need to set the show state of current pending page area for visible.For example, exactly when drop-down menu is edited or revised, just need to control this drop-down menu in visible state, thereby make editorial staff can see in real time editor's effect.,, in the time that needs are processed certain page area, just this pending page area is fixed.
In a preferred implementation, the step of the processing to current pending page area comprises: current pending page area is edited and/or tested.
Preferably, in JavaScript code, every section of JavaScript code all can a corresponding script label, this script label is used for defining client script, for example: the type attribute of JavaScript is for identifying the content type between <script> and </script>, wherein, text/plain is designated text, and text/javascript is designated JavaScript code.Browser can be processed this section of JavaScript accordingly according to this attribute of every section of JavaScript code, and concrete processing mode can be: tag types is that text/plain just carries out, and when tag types is text/plain, does not just carry out.Therefore, can judge whether to carry out this section of code to realize the control of the show state to this section of corresponding page area of code according to the tag types of code.
In the present embodiment, also provide a kind of concrete web page processing method, as shown in Figure 6, comprised the following steps:
S602: the page area that selected needs fix, that is, and using pending and do not wish again the page area that the sightless page area in this region fixes as needs;
S604: judge in the corresponding code of this page area whether comprise JavaScript code, if had, carry out S606, otherwise, finish this flow process.
S606: extract the JavaScript code in the code content in this region, and be " text/plain " by the type setup of attribute of script label corresponding this section of code;
S608: the code of having revised tag types is replaced, preferably, meanwhile, shown the contact that js code is come into force, for example, a button control can be set, only need to click this button and just can trigger according to normal mode and carry out this section of code.
S610: in the time that triggering makes contact that js code comes into force, the tag types of this js code is reduced to " text/javascript ", recovers the control of the show state of this section of js code to page area.
In above-mentioned preferred implementation, do not need to be concerned about the implementation of any page, as long as determine that certain page area contains JavaScript code.Only need to extract the HTML(Hypertext Markup Language of a certain particular case in JavaScript animation effect, Hypertext Markup Language HTML) code, just, as taken snapshot at a time to this page area, it was fixed in this time.Then, carry out again its original JavaScript code at particular point in time, make it keep original animation effect.
Known by above description, the application has following advantage: the control of the tag types by the js code in html code corresponding to the page area to pending, to cancel this section of js code when the particular point in time, the show state of pending page area is controlled, thereby solve in prior art the show state for the treatment of processing page region by cancellation event or modularity and controlled the lower technical matters of the efficiency that webpage is edited or tested causing, reach the effect that improves the efficiency of web page editing or test, simultaneously, in this preferred implementation, do not need to be concerned about the implementation of the page, as long as determine that certain pending page area contains JavaScript code, the scope of application is wider.
Obviously, those skilled in the art should be understood that, each module of above-mentioned the application or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that multiple calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, and in some cases, can carry out shown or described step with the order being different from herein, or they are made into respectively to each integrated circuit modules, or the multiple modules in them or step are made into single integrated circuit module to be realized.Like this, the application is not restricted to any specific hardware and software combination.
The preferred embodiment that the foregoing is only the application, is not limited to the application, and for a person skilled in the art, the application can have various modifications and variations.All within the application's spirit and principle, any modification of doing, be equal to replacement, improvement etc., within all should being included in the application's protection domain.

Claims (10)

1. a web page processing method, is characterized in that, comprising:
Determine in the html code that in webpage, current pending page area is corresponding whether comprise js code, wherein, the control of described js code for the show state of described current pending page area is carried out;
If comprise described js code, the tag types of described js code is changed into Second Type from the first kind, wherein, described Second Type is used to indicate and stops carrying out described js code;
After completing the processing of described current pending page area, the tag types of described js code is changed into the described first kind from described Second Type, wherein, the described first kind is used to indicate carries out described js code.
2. method according to claim 1, is characterized in that, the control that described js code carries out the show state of described current pending page area comprises: control described current pending page area visible or invisible.
3. method according to claim 1, is characterized in that, the described step that the tag types of described js code is changed into the described first kind from described Second Type comprises:
Receive for asking to carry out the request instruction of described js code by the interface component arranging on described webpage;
In response to described request instruction, the tag types of described js code is changed into the described first kind from described Second Type.
4. method according to claim 3, is characterized in that, in the time that the tag types of described js code is changed into Second Type from the first kind, also comprises:
Described interface component is set on described webpage.
5. method according to claim 1, is characterized in that, in the process of the processing to described current pending page area, the show state of described current pending page area is visible.
6. method according to claim 1, is characterized in that, the step of the processing to described current pending page area comprises: described current pending page area is edited and/or tested.
7. according to the method described in any one in claim 1 to 6, it is characterized in that, the described first kind is text/javascript, and described Second Type is text/plain.
8. a page processor, is characterized in that, comprising:
Determining unit, for determining in the html code that the current pending page area of webpage is corresponding whether comprise js code, wherein, the control of described js code for the show state of described current pending page area is carried out;
Revise unit, for while comprising described js code, the tag types of described js code being changed into Second Type from the first kind when definite, wherein, described Second Type is used to indicate and stops carrying out described js code;
Reduction unit, for after completing the processing of described current pending page area, changes into the described first kind by the tag types of described js code from described Second Type, and wherein, the described first kind is used to indicate carries out described js code.
9. device according to claim 8, is characterized in that, described reduction unit comprises:
Receiver module, receives for asking to carry out the request instruction of described js code for the interface component by arranging on described webpage;
Recovery module, for changing into the described first kind by the tag types of described js code from described Second Type in response to described request instruction.
10. device according to claim 9, is characterized in that, also comprises:
Setting unit in the time that the tag types of described js code is changed into Second Type from the first kind, arranges described interface component on described webpage.
CN201210410693.2A 2012-10-24 2012-10-24 Webpage processing method and device Active CN103777935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210410693.2A CN103777935B (en) 2012-10-24 2012-10-24 Webpage processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210410693.2A CN103777935B (en) 2012-10-24 2012-10-24 Webpage processing method and device

Publications (2)

Publication Number Publication Date
CN103777935A true CN103777935A (en) 2014-05-07
CN103777935B CN103777935B (en) 2017-02-15

Family

ID=50570219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210410693.2A Active CN103777935B (en) 2012-10-24 2012-10-24 Webpage processing method and device

Country Status (1)

Country Link
CN (1) CN103777935B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775771A (en) * 2017-01-18 2017-05-31 郑州云海信息技术有限公司 One drop-down selection component and its method based on js
CN110362305A (en) * 2018-04-08 2019-10-22 阿里巴巴集团控股有限公司 A kind of form component state switching method and device
CN112925515A (en) * 2021-03-11 2021-06-08 亿度慧达教育科技(北京)有限公司 Editing control method, device, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1193302C (en) * 2001-02-26 2005-03-16 翁仁滉 Method for providing on-line web page browing record and system thereof
CN101098344A (en) * 2007-07-23 2008-01-02 王文钢 Video advertisement exhibiting method
CN101373470A (en) * 2007-08-24 2009-02-25 英业达股份有限公司 System and method for recording client terminal web page character type display
CN102339291B (en) * 2010-07-23 2014-09-10 阿里巴巴集团控股有限公司 Method and equipment for generating list
CN102467628A (en) * 2010-11-12 2012-05-23 深圳市虹安信息技术有限公司 Method for protecting data based on browser kernel intercept technology
CN102693247B (en) * 2011-03-25 2015-04-22 株式会社野村综合研究所 Data comprehensive management system and client terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775771A (en) * 2017-01-18 2017-05-31 郑州云海信息技术有限公司 One drop-down selection component and its method based on js
CN110362305A (en) * 2018-04-08 2019-10-22 阿里巴巴集团控股有限公司 A kind of form component state switching method and device
CN110362305B (en) * 2018-04-08 2024-03-01 阿里巴巴集团控股有限公司 Form component state switching method and device
CN112925515A (en) * 2021-03-11 2021-06-08 亿度慧达教育科技(北京)有限公司 Editing control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN103777935B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN104657451B (en) The processing method and processing device of the page
US11734028B2 (en) Modifying readable and focusable elements on a page during execution of automated scripts
Han et al. Modeling and verification of adaptive navigation in web applications
JP2012168950A (en) Web service for automated cross-browser compatibility checking of web applications
CN102939583A (en) Creating task sessions
CN109033466B (en) Page sharing method calculates equipment and computer storage medium
EP2972807A1 (en) Techniques for language translation localization for computer applications
US20180210815A1 (en) Programming assistance to identify suboptimal performing code and suggesting alternatives
CN107590114A (en) Processing method, electronic equipment and the storage medium of e-book comment information
CN110275705A (en) Generate method, apparatus, equipment and the storage medium for preloading page code
CN104102578A (en) Test method and system and operation terminal
CN113986257A (en) Cloud platform front-end management interface deployment method and device and storage medium
CN103777935A (en) Webpage processing method and device
CN110909290A (en) Method and system for combining multiple systems into large single-page application
CN113360379B (en) Program test environment creation method and program test environment creation apparatus
JP2021507435A (en) Dynamic Web page visitor behavior analysis information providing device and website visitor behavior analysis information providing method using this device
CN108121650A (en) A kind of test method and device for page user interface
CN111090821B (en) Method, device, electronic equipment and storage medium for realizing dynamic webpage
CN104239514A (en) Webpage rendering method, device and mobile terminal
CN103885773B (en) The method and device of application APP function is realized in cross-page face
US9836126B2 (en) Accessibility path guiding through microfluidics on a touch screen
CN106469050B (en) A kind of case generation method, page generation method and device
CN109840200A (en) File size detection method, device, equipment and computer readable storage medium
CN106155895A (en) Script data processing method and processing device
Alimadadi Understanding behavioural patterns in javascript

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant