CN102981847B - The browser that page text frame is processed and method - Google Patents

The browser that page text frame is processed and method Download PDF

Info

Publication number
CN102981847B
CN102981847B CN201210454662.7A CN201210454662A CN102981847B CN 102981847 B CN102981847 B CN 102981847B CN 201210454662 A CN201210454662 A CN 201210454662A CN 102981847 B CN102981847 B CN 102981847B
Authority
CN
China
Prior art keywords
text box
box element
dom object
browser
page
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.)
Active
Application number
CN201210454662.7A
Other languages
Chinese (zh)
Other versions
CN102981847A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210454662.7A priority Critical patent/CN102981847B/en
Publication of CN102981847A publication Critical patent/CN102981847A/en
Priority to PCT/CN2013/083706 priority patent/WO2014075509A1/en
Priority to US14/442,227 priority patent/US9996512B2/en
Application granted granted Critical
Publication of CN102981847B publication Critical patent/CN102981847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a kind of browser that page text frame is processed, comprising: the DOM object handles module of at least one text box element, is arranged on browser side, and wherein each object handles block configuration is the customized treatment storing text box element; Modular converter, is configured to load in browser side obtain the page, and resolves the text box element obtained in the page, text frame element is converted to DOM object; Customized treatment module, the customized treatment that the DOM object handles module being configured at least one the text box element calling setting is arranged at least one the text box element in the DOM object of conversion; Display module, is configured to customized treatment result be presented on the text box element in the acquisition page.Adopt the present invention can provide presenting of improvement and processing mode to text box element, add the interactive performance of the page.The invention also discloses the method that corresponding browser processes page text frame.

Description

The browser that page text frame is processed and method
Technical field
The present invention relates to network application field, be specifically related to a kind of browser that page text frame is processed and utilize browser to carry out page text frame the method processed.
Background technology
Along with the fast development of Internet, also present fulminant growth based on the application of Internet and information.Web browser is that Internet user provides a kind of accesses network information and uses the mode of network application, and which applicability is strong, and more many users have got used to obtaining various information by web browser and using various application.The network information and application vendor provide with such as HTML(HTML (Hypertext Markup Language), and so on HypertextMarkupLanguage) webpage of the language compilation of form, web browser presents these webpages at user place, thus makes the user of web browser to obtain relevant information.Along with the fast development of network technology, the content presented by web browser is also more and more abundanter, therefore web browser present function also from strength to strength with important.Web browser common at present has InternetExplorer, MozillaFirefox, Chrome, Opera of Google and the Safari of Apple etc. of Microsoft.
In the related, web browser utilizes render engine (RenderingEngine) explain content (as HTML, JavaScript) in webpage and play up (display) webpage.Render engine determines the browser how content of display web page and the format information of the page.The explanation of different render engines to program grammer also has difference, and therefore same webpage (display) effect of playing up in the browser of different render engine also may be different.
The render engine of current web browser is by converting DOM model to play up by each element in HTML and js code.When changing, whole html document is fabricated dom tree, and each element in HTML is converted into the object in dom tree, and the relation that the relation between object is constructed between node and child node constructs, by using the method for related objects, addressing and operation can be carried out to these objects.DOM model has had much public specification and definition.
When web browser process html page, the render engine in browser is analyzed html page language, is treated to DOM model, utilizes DOM model to be subsequently configured to the inner structure of display page in a browser.DOMAPI also provides the interface of monitoring or amendment webpage to js code.
The mechanism that render engine introduces based on event processes DOM object.Each DOM object has the multiple events be associated, and these events can be triggered.Such as, the JS code in render engine analyzing web page, and corresponding JS code and event are associated, thus make to obtain particular event when being triggered, perform corresponding JS code.
But in current web browser, render engine mostly just controls corresponding DOM object according to the JS code in html web page, therefore, user uses during browser and is difficult to DOM object, and each element namely in webpage carries out customization and plays up.
Text box (textarea) is the element being applicable to a large amount of word of input in webpage, and a lot of network application at present provides commercial city to utilize textarea unit usually for user provides interfaces such as inputting individual brief introduction, comment.Along with increasing of user interaction, the application of textarea is also more and more extensive.Existing web browser, when showing text filed input frame (textarea), under javascript code and css etc. control, can specify columns and the column number of textarea, the information such as the word size inputted in textarea, font and position.But the display mode of the word in text filed input frame is consistent, be difficult to for different words specifies different fonts, be also difficult to input in text box and be similar to the multimedia messagess such as form, image and audio frequency.Therefore, need at present to textarea present and processing mode is improved, to provide abundanter input and presentation mode.
Mention in correlation technique, the display mode of the word in text filed input frame is consistent, is difficult to for different words specifies different fonts, is also difficult to input in text box and is similar to the multimedia messagess such as form, image and audio frequency.Therefore, need at present to textarea present and processing mode is improved, to provide abundanter input and presentation mode.
Because text box element presents in a browser, therefore, embodiments provide a kind of browser that can process page text frame, utilize this browser to text box element present and processing mode is improved.In this example, change the processing mode to text box element, for text box element provides DOM object handles module, in each object handles module, store the customized treatment of the text box element of its correspondence.During enforcement, customized treatment mode that can be different processes text box element, realizes the abundant input of text box element and presentation mode.
Fig. 1 shows according to an embodiment of the invention to the structural representation of the browser that page text frame processes.This browser comprises the DOM object handles module 110 of at least one text box element, modular converter 120, customized treatment module 130 and display module 140.
Wherein, DOM object handles module 110 comprises at least one, and is set in advance in browser side, stores the customized treatment of text box element in each DOM object handles module 110.The quantity of DOM object handles module can be 1, also can be 2, also can be 3,4,5 or more, and concrete quantity determines according to the quantity of the quantity of specific DOM object and customized treatment.In order to illustrate in Fig. 1, be set to 3.
When processing the page obtained, first modular converter 120 loads in browser side and obtains the page.Consider that the page and page elements can not directly process, therefore, modular converter 120 is resolved the text box element obtained in the page, text frame element is converted to DOM object, processes for follow-up customized treatment module 130.
See Fig. 1, the DOM object handles module 110 of at least one text box element that customized treatment module 130 is couple to modular converter 120 and pre-sets at browser.After the parsing of text box element and conversion operations are terminated, the customized treatment that the DOM object handles module 130 that modular converter 120 can call at least one text box element of setting is arranged at least one the text box element in the DOM object of conversion.
Wherein, display module 140 is couple to customized treatment module 130.After the customized treatment operation of customized treatment module 130 terminates, customized treatment result is presented on the text box element in the acquisition page by display module 140.
In embodiments of the present invention, for each DOM object that text box element parses, the DOM object handles module of it being carried out to customized treatment is set at network side, in the acquisition process of the page, utilizes the customized treatment that the DOM object handles module called is arranged DOM object.Because at least one DOM object handles module can store at least one customized treatment mode, therefore, at least one process can be carried out to text box element, and then different element in text box element can be adjusted present different conditions.As can be seen here, adopt the browser that page text frame is processed that the embodiment of the present invention provides, different DOM objects in text box element can be processed respectively, the text box element presented thus can realize personalized customization process, such as, different fonts can be specified for different words, present different colors, again such as, in text box element, input is similar to the multimedia messagess such as form, image and audio frequency and video.Ensure that text box element is not the fixed form required by network application and Information Provider, and then achieve the object that content that user can present text box element carries out personalized customization, meet the preference of different users, the impression improving user is experienced.
Mention above, customized treatment module 130 can call the DOM object handles module 110 of at least one text box element.Preferably, first customized treatment module 130 obtains the positional information of text box element on browser page from the DOM object of conversion.Further, customized treatment module 130 according to the positional information obtained, text box element can generate overlapping block level layer.Subsequently, on the block level layer of overlap, the customized treatment that the DOM object handles module 110 that customized treatment module 130 calls at least one text box element of setting is arranged at least one the text box element in the DOM object of conversion.After overlapping block level layer is set; the customized treatment of text box element is all performed on this block level layer; and not certainly perform with it at text box element; both primitiveness and the authenticity of text box element self had been protected; respective handling can be carried out again, enable it present personalized customization that effect meets user to text box element.
When customized treatment module 130 carries out customized treatment to text box element on the block level layer of overlap, customized treatment result can be presented on the block level layer on the text box element being positioned at the acquisition page by display module 140.
Preferably, when the block level layer that the embodiment of the present invention provides comprises div layer, display module 140 obtains the content information that text box element generates after customized treatment from customized treatment module 130, and decodes to content information, is presented on div layer by decoded content information.
Wherein, for the call operation of DOM object handles module 110, customized treatment module 130 needs the address knowing each DOM object handles module 110, and then call accordingly, if when the more and memory address relative distribution of DOM object handles module, will there is certain difficulty in calling of customized treatment module 130.A kind of preferred method of calling is now provided, in this example, object handles registration table is set, in this form, register the register information of all DOM object handles modules, whether called etc. register information herein can comprise the customization operations, of the memory address of each DOM object handles module, each DOM object handles module.Accordingly, see Fig. 1, what the embodiment of the present invention provided also comprises enquiry module 160 to the browser that page text frame processes.This enquiry module 160 is coupled with customized treatment module 130, whether there is the DOM object handles module processed text box element from object handles registration table in Query Browser.After poll-final, Query Result is notified customized treatment module 130 by enquiry module 160, and customized treatment module 130 can call corresponding DOM object handles module 110 according to Query Result.
For each DOM object, all have at least two events, an event ContentReady being this DOM object and having triggered when having loaded, another is the event DocumentReady that whole HTML triggers when having loaded.Because the embodiment of the present invention is only process text box element, therefore only relate to the event ContentReady triggered when this DOM object has loaded.Preferably, the processing mode of the event ContentReady process triggered when regulation has loaded text box element is stored at least one DOM object handles module that the embodiment of the present invention provides.
The different customized treatment modes to text box element are stored in each DOM object handles module, the processing mode herein stored can be any processing mode that can process text box element, such as, this processing mode can be font aspect, also can be image aspect etc.Preferably, this processing mode can be for words different in text box element arranges different fonts, color, shade, text block etc., can also in text box element List of input, can also in text box element input picture, multimedia messages can also be inputted in text box element.Wherein, multimedia messages comprises audio frequency and/or video.The processing mode provided in this example can singlely use, and also can combinationally use with wherein multinomial.And the processing mode provided in this example is one exemplifies, is not limited to the process examination that this example provides, the processing mode that text box element is carried out can be realized.
Situation when now comprising div layer with a specific embodiment to the block level layer of overlap arranged is described in detail and illustrates.
For textarea, comprise the par-ticular processor (i.e. DOM object handles module) for textarea at the render engine of web browser, in this par-ticular processor, at least define the disposal route of the event ContentReady process triggered when DOM object has been loaded.
During enforcement, first obtained the positional information of textarea by customized treatment module 130.Then, customized treatment module 130 is an overlapping div layer on the region of textarea, and arrange each attribute of div layer, be added on textarea because div is stacked, therefore, div layer receives alternative events in advance, row relax of going forward side by side.Further, display module 140 obtains the content in textarea, decodes to the content of textarea, and is presented on div layer.
Preferably, customized treatment module 130 calls the innerText attribute of text box element, the DOM object handles module 110 pairs of innerText attributes calling at least one text box element of setting redefine, and the innerHTML attribute after the redefining of text box element is back to div layer.Wherein, the operation that redefines in this example comprises: the processing mode of onblur or onSubmit.
Above-mentioned provides according to its function each several part framework of the browser that page text frame processes, and actual framework is not limited in each part mentioned above, can also comprise other parts, module, device etc.
Fig. 2 shows the processing flow chart of the method for browser processing page text box element according to an embodiment of the invention.In this example, arrange the DOM object handler of at least one text box element in browser side, wherein each object handler stores the customized treatment of text box element.The method comprising the steps of S202 is to step S206.
Step S202, to load in browser side and obtain the page, and the text box element obtained in the page is resolved, text frame element is converted to DOM object.
Step S204, call the DOM object handler of at least one text box element that browser side pre-sets, to the customized treatment that at least one the text box element in the DOM object of step S202 conversion is arranged.
Step S206, the customized treatment result of step S204 to be presented on the text box element that obtains in the page.
In embodiments of the present invention, for each DOM object that text box element parses, the DOM object handler of it being carried out to customized treatment is set at network side, in the acquisition process of the page, utilizes the customized treatment that the DOM object handler called is arranged DOM object.Because at least one DOM object handler can store at least one customized treatment mode, therefore, at least one process can be carried out to text box element, and then different element in text box element can be adjusted present different conditions.As can be seen here, the method that the browser adopting the embodiment of the present invention to provide processes page text frame, different DOM objects in text box element can be processed respectively, the text box element presented thus can realize personalized customization process, such as, different fonts can be specified for different words, present different colors, again such as, in text box element, input is similar to the multimedia messagess such as form, image and audio frequency and video.Ensure that text box element is not the fixed form required by network application and Information Provider, and then achieve the object that content that user can present text box element carries out personalized customization, meet the preference of different users, the impression improving user is experienced.
The function of the DOM object handler in this flow process and DOM object handles module mentioned above is similar, because relating to the framework of browser above, is therefore referred to as DOM object handles module.And in this flow process, only relate to DOM object handler parts, therefore, need not module be referred to as, hereinafter be repeated no more.
See Fig. 2, step S204 mentions the customized treatment that the DOM object handler of at least one the text box element calling setting is arranged at least one the text box element in the DOM object of conversion when implementing.Preferred embodiment is on text box element, arrange an overlapping block level layer, and block level layer carries out respective handling.Fig. 3 shows the processing flow chart carrying out customized treatment according to an embodiment of the invention on block level layer.This treatment scheme comprises step S302 to step S306.
Step S302, from conversion DOM obtain the positional information of text box element on browser page.
Step S304, the positional information obtained according to step S302, text box element generates overlapping block level layer.
On step S306, the block level layer that generates in step S304, the customized treatment that the DOM object handler calling at least one text box element of setting is arranged at least one the text box element in the DOM object of conversion.
After block level layer carries out customized treatment, accordingly, customized treatment result must be presented on the block level layer be positioned on the text box element obtaining the page.
Block level layer can be can be arranged on text box element and can realize the random layer that processes text box element.When block level layer is div layer, for customized treatment result being presented on the text box element in the acquisition page, first obtain the content information that text box element generates after customized treatment.After content information acquisition terminates, content information is decoded, and decoded content information is presented on div layer.
It calls wherein, for the call operation of DOM object handler, need the address knowing each DOM object handler, and then call accordingly, if when the more and memory address relative distribution of DOM object handler, will exist certain difficulty.A kind of preferred method of calling is now provided, in this example, object handles registration table is set, in this form, register the register information of all DOM object handler, whether called etc. register information herein can comprise the customization operations, of the memory address of each DOM object handler, each DOM object handler.Accordingly, from object handles registration table, in Query Browser, whether can there is the DOM object handler that text box element is processed before the call operation performing step S204, and then call according to Query Result.
For each DOM object, all have at least two events, an event ContentReady being this DOM object and having triggered when having loaded, another is the event DocumentReady that whole HTML triggers when having loaded.Because the embodiment of the present invention is only process text box element, therefore only relate to the event ContentReady triggered when this DOM object has loaded.Preferably, the processing mode of the event ContentReady process triggered when regulation has loaded text box element is stored at least one DOM object handler that the embodiment of the present invention provides.
The different customized treatment modes to text box element are stored in each DOM object handler, the processing mode herein stored can be any processing mode that can process text box element, such as, this processing mode can be font aspect, also can be image aspect etc.Preferably, this processing mode can be for words different in text box element arranges different fonts, color, shade, text block etc., can also in text box element List of input, can also in text box element input picture, multimedia messages can also be inputted in text box element.Wherein, multimedia messages comprises audio frequency and/or video.The processing mode provided in this example can singlely use, and also can combinationally use with wherein multinomial.And the processing mode provided in this example is one exemplifies, is not limited to the process examination that this example provides, the processing mode that text box element is carried out can be realized.
Preferably, the call operation related in step S204 specifically comprises: the innerText attribute calling text box element, the DOM object handles module 110 pairs of innerText attributes calling at least one text box element of setting redefine, and the innerHTML attribute after the redefining of text box element is back to div layer.Wherein, the operation that redefines in this example comprises: the processing mode of onblur or onSubmit.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of method overcoming the problems referred to above or the browser processed page text frame solved the problem at least in part and corresponding browser and process page text frame.
According to one aspect of the present invention, provide a kind of browser that page text frame is processed, comprise: the DOM object handles module of at least one text box element, is arranged on browser side, and wherein each object handles block configuration is the customized treatment storing text box element; Modular converter, is configured to load in browser side obtain the page, and resolves the text box element obtained in the page, text frame element is converted to DOM object; Customized treatment module, the customized treatment that the DOM object handles module being configured at least one the text box element calling setting is arranged at least one the text box element in the DOM object of conversion; Display module, is configured to customized treatment result be presented on the text box element in the acquisition page.
Alternatively, customized treatment module is also configured to obtain the positional information of text box element on browser page from conversion DOM object; According to positional information, text box element generates overlapping block level layer; On block level layer, the customized treatment that the DOM object handles module calling at least one text box element of setting is arranged at least one the text box element in the DOM object of conversion.
Alternatively, display module is also configured to customized treatment result to be presented on the block level layer on the text box element being positioned at the acquisition page.
Alternatively, when block level layer comprises div layer, display module is also configured to the content information that acquisition text box element generates after customized treatment; Content information is decoded, and decoded content information is presented on div layer.
Alternatively, above-mentioned browser also comprises: enquiry module, be configured to from object handles registration table, in Query Browser, whether there is the DOM object handles module that text box element is processed, wherein, in object handles registration table, register at least one DOM object handles module.
Alternatively, the processing mode of the event ContentReady process triggered when regulation has loaded text box element is stored at least one DOM object handles module.
Alternatively, processing mode comprise following one of at least: for words different in text box element arranges different fonts; List of input in text box element; Input picture in text box element; Multimedia messages is inputted in text box element.
Alternatively, multimedia messages comprises audio frequency and/or video.
Alternatively, when block level layer comprises div layer, customized treatment module is also configured to the innerText attribute calling text box element; The DOM object handles module calling at least one text box element of setting redefines innerText attribute; InnerHTML attribute after the redefining of text box element is back to div layer.
Alternatively, redefine operation to comprise: the processing mode of onblur or onSubmit.
According to another aspect of the present invention, provide a kind of method of browser processing page text box element, the DOM object handler of at least one text box element is set in browser side, wherein each object handler stores the customized treatment of text box element, the method comprises: load in browser side and obtain the page, and the text box element obtained in the page is resolved, text frame element is converted to DOM object; The customized treatment that the DOM object handler calling at least one text box element of setting is arranged at least one the text box element in the DOM object of conversion; Customized treatment result is presented on the text box element in the acquisition page.
Alternatively, the customized treatment that the DOM object handler calling at least one text box element of setting is arranged at least one the text box element in the DOM object of conversion, comprising: from conversion DOM object, obtain the positional information of text box element on browser page; According to positional information, text box element generates overlapping block level layer; On block level layer, the customized treatment that the DOM object handler calling at least one text box element of setting is arranged at least one the text box element in the DOM object of conversion.
Alternatively, customized treatment result is presented on the text box element in the acquisition page, comprises: customized treatment result is presented on the block level layer on the text box element being positioned at the acquisition page.
Alternatively, when block level layer comprises div layer, customized treatment result is presented on the text box element in the acquisition page, comprises: obtain the content information that text box element generates after customized treatment; Content information is decoded, and decoded content information is presented on div layer.
Alternatively, before the customized treatment that the DOM object handler calling at least one text box element of setting is arranged at least one the text box element in the DOM object of conversion, comprise: from object handles registration table, in Query Browser, whether there is the DOM object handler that text box element is processed, wherein, at least one DOM object handler is registered in object handles registration table.
Alternatively, the processing mode of the event ContentReady process triggered when regulation has loaded text box element is stored at least one DOM object handler.
Alternatively, processing mode comprise following one of at least: for words different in text box element arranges different fonts; List of input in text box element; Input picture in text box element; Multimedia messages is inputted in text box element.
Alternatively, multimedia messages comprises audio frequency and/or video.
Alternatively, when block level layer comprises div layer, the customized treatment that the DOM object handler calling at least one text box element of setting is arranged at least one the text box element in the DOM object of conversion, comprising: the innerText attribute calling text box element; The DOM object handler calling at least one text box element of setting redefines innerText attribute; InnerHTML attribute after the redefining of text box element is back to div layer.
Alternatively, redefine operation to comprise: the processing mode of onblur or onSubmit.
Alternatively, when browser is IE browser, the client at browser place arranges first interface IElementBehaviorFactory, the second interface IElementBehavior and the 3rd interface IDocHostUIHandler at WebBrowser plug-in unit, wherein, first interface and the second interface are used for calling each DOM object handler, and the 3rd interface is used for each DOM object handler to be registered in object handles registration table; Call the DOM object handler of at least one text box element of setting, comprise: the behavior title BehaviorName that core engine provides according to the client at browser place, the DOM object handler of at least one text box element of the setting be connected with first interface by the second interface interchange; And the page elements mark TAG that provides according to client of core engine is when loading corresponding page elements, call element behavior Notification Method, the stress state of notice customer terminal webpage element.
Alternatively, core engine calls the DOM object handler of at least one text box element of setting, comprise: the 4th interface IElementBehaviorSite that core engine provides with the acquisition page associates, when having customized treatment by the 4th interface determination text box element, call corresponding DOM object handler.
In embodiments of the present invention, for each DOM object that text box element parses, the DOM object handles module of it being carried out to customized treatment is set at network side, in the acquisition process of the page, utilizes the customized treatment that the DOM object handles module called is arranged DOM object.Because at least one DOM object handles module can store at least one customized treatment mode, therefore, at least one process can be carried out to text box element, and then different element in text box element can be adjusted present different conditions.As can be seen here, adopt the browser that page text frame is processed that the embodiment of the present invention provides, different DOM objects in text box element can be processed respectively, the text box element presented thus can realize personalized customization process, such as, different fonts can be specified for different words, present different colors, again such as, in text box element, input is similar to the multimedia messagess such as form, image and audio frequency and video.Ensure that text box element is not the fixed form required by network application and Information Provider, and then achieve the object that content that user can present text box element carries out personalized customization, meet the preference of different users, the impression improving user is experienced.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows according to an embodiment of the invention to the structural representation of the browser that page text frame processes;
Fig. 2 shows the processing flow chart of the method for browser processing page text box element according to an embodiment of the invention;
Fig. 3 shows the processing flow chart carrying out customized treatment according to an embodiment of the invention on block level layer; And
Fig. 4 shows according to an embodiment of the invention to the structural representation of the browser that page text frame processes.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiment one
The browser be mentioned in the embodiment of the present invention can for multiple, and the InternetExplorer(of such as Microsoft is called for short IE), MozillaFirefox, Chrome, Opera of Google and the Safari of Apple etc.
Now set forth in detail for the concrete disposal route of IE browser to the text box element that the embodiment of the present invention provides and illustrate.
For the particular procedure for each web page element, may need to realize
IElementBehavior(element behavior)
ImplementingtheIElementBehaviorInterface(performs element behavior interface)
ImplementingtheNotifyMethod(performs Notification Method)
ImplementingtheInitMethod(performs initial method)
ImplementingtheDetachMethod(performs separation method)
IElementBehaviorFactory(element behavior factory behavior)
IElementNamespaceFactory(element NameSpace factor interface)
IElementNamespaceFactoryCallback(element NameSpace callback interface)
After Initialize installation, the client WebBrowser(web browser in IE browser) to realize the concrete treatment step of web page element as follows for plug-in unit:
Step 1, client WebBrowser plug-in unit realize IElementBehaviorFactory interface and IElementBehavior interface.
Step 2, client WebBrowser plug-in unit realize IDocHostUIHandler interface.
Note: WebBrowser plug-in unit is here exactly in the embodiment of par-ticular processor in IE for specific DOM object, realize IDocHostUIHandler interface to be adopted by DOM processor for par-ticular processor is registered in object registry, realize IElementBehaviorFactory and IElementBehavior interface and realize for illustration of concrete customized treatment.
When step 3, page creation, MSHTML can call the GetHostInfo method of IDocHostUIHandler, and client-side program provides the BehaviorName of page elements TAG and correspondence to MSHTML
Note: MSHTML corresponds to core engine, and this step corresponds to DOM processor and inquires about all DOM object handler lists.
When step 4, the page load, MSHTML according to the BehaviorName provided above, can call the FindBehavior method of IElementBehaviorFactory, provides IElementBehavior Interface realization by client one by one.
Herein, preferably, and associate with the corresponding interface IElementBehaviorSite that the page provides, to determine whether customization behavior.
If step 5 client provides IElementBehavior and realizes, MSHTML, when loading the page elements of corresponding TAG, calls element behavior Notification Method, the stress state of notice customer terminal webpage element.
Note: element behavior Notification Method realizes utilizing IElementBehavior::Notify in IE.
Wherein, it should be noted that step 4 and step 5 are called corresponding DOM object handler corresponding to customized treatment module and processed DOM object.
The method of the present embodiment is not only for IE browser, and for other browsers, its implementation is similar.
Embodiment two
For textarea(text box) units of pages, for user provides the input frame inputting a large amount of word in webpage, but under current webpage presentation mode, user only can input simple word in textarea, and the content such as word, image of subscribing form cannot be inputted.And by providing at browser place, the customization of textarea is played up, can make to input more abundant content in textarea.
Corresponding explanation is provided for the concrete operations of text box element in this example.
1, first, carry out event definition, in the GetHostInfo method of IDocHostUIHandler, carry out self-defined to the structure of browser and mark.Text box element arranges a div layer, utilizes pCSSBuffer pointer to dispatch, the operation relating to text box element is all pulled on div layer and performs.
In the FindBehavior method of 2, IElementBehaviorFactory, what return IElementBehavior realizes object CTextAreaElementBehavior, and preserves the IElementBehaviorSite pointer to object that MSHTML provides.
3, when MSHTML calls text box element behavior notice (CTextAreaElementBehavior::Notify) method, the operation relating to text box element is implemented.
When loading the text box element of corresponding TAG, call element behavior Notification Method, the stress state of notice client text box element.At div layer, the content in text box element is processed, this process relate to adjustment text box element content width, highly, result of broadcast etc.
When the page submits the content of TEXAREA to, the innerText attribute of textArea can be called, redefine this attribute, return the innerHTML of encoded div.
After the process of div layer terminates, by overlapping for the treatment effect of the content of text box element and div layer, the effect after overlap is presented to user.
The method that the use embodiment of the present invention can realize utilizing browser to carry out text box element to be carried out processing, realizes the personalized customization of user, and the impression improving user is experienced.
Embodiment three
Above-described is directly process text box element, and as everyone knows, the page elements of browser has multiple, and browser needs all to change each page elements and process, and is then played up by the page elements after process, just generates the webpage presented.
Fig. 2 shows the structural representation of the browser carrying out page elements process according to an embodiment of the invention.See Fig. 4, this browser comprises at least one the DOM object handler 410, page parsing device 420 and the DOM processor 430 that are arranged on browser side.
Wherein, DOM object handler 410 comprises at least one, and is set in advance in browser side, stores the customized treatment of specific DOM object in each DOM object handler 410.The quantity of DOM object handler can be 1, also can be 2, also can be 3,4,5 or more, and concrete quantity determines according to the quantity of the quantity of specific DOM object and customized treatment.In order to illustrate in Fig. 4, be set to 3.
When processing the page obtained, page parsing device 420 loads this acquisition page in browser side, and resolves the page elements obtaining the page.Consider that the page and page elements can not directly process, therefore, each page elements is converted to DOM object by page parsing device 420 in resolving, processes for follow-up DOM processor 430.
See Fig. 4, DOM processor 430, be couple to page parsing device 420 and at least one DOM object handler 410.After page parsing device 420 parsing terminates, start DOM processor 430.DOM processor 430 selects at least one as the current DOM object preparing process in the DOM object of conversion, calls at least one DOM object handler 410 of setting, to the customized treatment that the DOM object selected is arranged.
See Fig. 4, this browser also comprises tree maker 440, is couple to DOM processor 430.When DOM processor 430 calls DOM object handler 410, carry out after customized treatment terminates to DOM object, tree maker 440 utilizes the DOM object of the customized treatment through arranging to generate final dom tree, and plays up dom tree.
And text box element is the one of page elements, therefore, when page elements is text box element, the device utilizing browser to carry out page elements process can directly process text box element, and the customized treatment mode that its DOM object handler selected stores is the customized treatment for text box element.That is, in this example, see Fig. 4, its DOM object handler 410 selected should be the DOM object handler 410 of text box element.The function of other each parts remains unchanged.
In this example, page parsing device 420 is similar with the function of modular converter 120 in the previous embodiments, is all that corresponding element is converted to DOM object.And DOM processor 430 is similar with the function of customized treatment module 130 in the previous embodiments, calls corresponding DOM object handles module (or DOM object handler), respective handling is carried out to current DOM object.
Adopt browser provided by the invention and corresponding disposal route, following beneficial effect can be reached:
In embodiments of the present invention, for each DOM object that text box element parses, the DOM object handles module of it being carried out to customized treatment is set at network side, in the acquisition process of the page, utilizes the customized treatment that the DOM object handles module called is arranged DOM object.Because at least one DOM object handles module can store at least one customized treatment mode, therefore, at least one process can be carried out to text box element, and then different element in text box element can be adjusted present different conditions.As can be seen here, adopt the browser that page text frame is processed that the embodiment of the present invention provides, different DOM objects in text box element can be processed respectively, the text box element presented thus can realize personalized customization process, such as, different fonts can be specified for different words, present different colors, again such as, in text box element, input is similar to the multimedia messagess such as form, image and audio frequency and video.The embodiment of the present invention is that traditional textarea provides presenting of improvement and processing mode, add the interactive performance of the page, ensure that text box element is not the fixed form required by network application and Information Provider, and then achieve the object that content that user can present text box element carries out personalized customization, meet the preference of different users, the impression improving user is experienced.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the browser of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Disclosed herein is A1, a kind of browser that page text frame is processed, comprising: the DOM object handles module of at least one text box element, is arranged on browser side, and wherein each object handles block configuration is the customized treatment storing text box element; Modular converter, is configured to load in browser side obtain the page, and resolves the text box element obtained in the page, text frame element is converted to DOM object; Customized treatment module, the DOM object handles module being configured at least one the text box element calling described setting carries out the customized treatment of described setting at least one the text box element in the DOM object of described conversion; Display module, is configured to described customized treatment result be presented on the text box element in the acquisition page.A2, browser according to A1, it is characterized in that, described customized treatment module is also configured to obtain the positional information of text box element on browser page from described conversion DOM object; According to described positional information, described text box element generates overlapping block level layer; On described piece of level layer, the DOM object handles module calling at least one text box element of described setting carries out the customized treatment of described setting at least one the text box element in the DOM object of described conversion.A3, browser according to A2, is characterized in that, described display module is also configured to described customized treatment result to be presented on described piece of level layer being positioned on the text box element obtaining the page.A4, browser according to A2 or A3, is characterized in that, when described piece of level layer comprises div layer, described display module is also configured to obtain the content information that described text box element generates after customized treatment; Described content information is decoded, and decoded content information is presented on div layer.A5, browser according to any one of A1 to A4, it is characterized in that, also comprise: enquiry module, be configured to inquire about from object handles registration table in described browser the DOM object handles module whether existing and described text box element is processed, wherein, registration at least one DOM object handles module described in described object handles registration table.A6, browser according to any one of A1 to A5, is characterized in that, stores the processing mode of the event ContentReady process of triggering when regulation has loaded described text box element at least one DOM object handles module described.A7, browser according to A6, is characterized in that, described processing mode comprise following one of at least: in described text box element, different words arranges different fonts; List of input in described text box element; Input picture in described text box element; Multimedia messages is inputted in described text box element.A8, browser according to A7, it is characterized in that, described multimedia messages comprises audio frequency and/or video.A9, browser according to any one of A1 to A8, it is characterized in that, when described piece of level layer comprises div layer, described customized treatment module is also configured to the innerText attribute calling described text box element; The DOM object handles module calling at least one text box element of described setting redefines described innerText attribute; InnerHTML attribute after the redefining of described text box element is back to described div layer.A10, browser according to A9, is characterized in that, described in redefine operation and comprise: the processing mode of onblur or onSubmit.
A kind of method of B11, browser processing page text box element is disclosed herein, the DOM object handler of at least one text box element is set in browser side, wherein each object handler stores the customized treatment of text box element, the method comprises: load in browser side and obtain the page, and the text box element obtained in the page is resolved, text frame element is converted to DOM object; The DOM object handler calling at least one text box element of described setting carries out the customized treatment of described setting at least one the text box element in the DOM object of described conversion; Described customized treatment result is presented on the text box element in the acquisition page.B12, method according to B11, it is characterized in that, the DOM object handler calling at least one text box element of described setting carries out the customized treatment of described setting at least one the text box element in the DOM object of described conversion, comprising: from described conversion DOM, obtain the positional information of text box element on browser page; According to described positional information, described text box element generates overlapping block level layer; On described piece of level layer, the DOM object handler calling at least one text box element of described setting carries out the customized treatment of described setting at least one the text box element in the DOM object of described conversion.B13, method according to B11, is characterized in that, described customized treatment result is presented on the text box element that obtains in the page, comprises: described customized treatment result be presented on described piece of level layer being positioned on the text box element obtaining the page.B14, method according to B12 or B13, it is characterized in that, when described piece of level layer comprises div layer, described customized treatment result is presented on the text box element in the acquisition page, comprises: obtain the content information that described text box element generates after customized treatment; Described content information is decoded, and decoded content information is presented on div layer.B15, method according to any one of B11 to B14, it is characterized in that, before the DOM object handler calling at least one text box element of described setting carries out the customized treatment of described setting at least one the text box element in the DOM object of described conversion, comprise: from object handles registration table, inquire about in described browser the DOM object handler whether existing and described text box element is processed, wherein, registration at least one DOM object handler described in described object handles registration table.B16, method according to any one of B11 to B15, is characterized in that, stores the processing mode of the event ContentReady process of triggering when regulation has loaded described text box element at least one DOM object handler described.B17, method according to B16, is characterized in that, described processing mode comprise following one of at least: in described text box element, different words arranges different fonts; List of input in described text box element; Input picture in described text box element; Multimedia messages is inputted in described text box element.B18, method according to B17, it is characterized in that, described multimedia messages comprises audio frequency and/or video.B19, method according to any one of B17 to B18, it is characterized in that, when described piece of level layer comprises div layer, the DOM object handler calling at least one text box element of described setting carries out the customized treatment of described setting at least one the text box element in the DOM object of described conversion, comprising: the innerText attribute calling described text box element; The DOM object handler calling at least one text box element of described setting redefines described innerText attribute; InnerHTML attribute after the redefining of described text box element is back to described div layer.B20, method according to B19, is characterized in that, described in redefine operation and comprise: the processing mode of onblur or onSubmit.B21, method according to any one of B11 to B20, it is characterized in that, when described browser is IE browser, the client at described browser place arranges first interface IElementBehaviorFactory, the second interface IElementBehavior and the 3rd interface IDocHostUIHandler at WebBrowser plug-in unit, wherein, described first interface and described second interface are used for calling each DOM object handler, and described 3rd interface is used for each DOM object handler to be registered in described object handles registration table; Call the DOM object handler of at least one text box element of described setting, comprise: the behavior title BehaviorName that core engine provides according to the client at described browser place, the DOM object handler of at least one text box element of the described setting be connected with described first interface by described second interface interchange; And the page elements mark TAG that provides according to described client of described core engine is when loading corresponding page elements, calls element behavior Notification Method, notify the stress state of described customer terminal webpage element.B22, method according to B21, it is characterized in that, described core engine calls the DOM object handler of at least one text box element of described setting, comprise: the 4th interface IElementBehaviorSite that described core engine and the described acquisition page provide associates, when determining that described text box element has customized treatment by described 4th interface, call corresponding DOM object handler.

Claims (20)

1., to the browser that page text frame processes, comprising:
The DOM object handles module of at least one text box element, is arranged on browser side, and wherein each object handles block configuration is the customized treatment storing text box element;
Modular converter, is configured to load in browser side obtain the page, and resolves the text box element obtained in the page, text frame element is converted to DOM object;
Customized treatment module, the DOM object handles module being configured at least one the text box element described calling setting carries out described customized treatment at least one the text box element in the described DOM object be converted to;
Display module, is configured to the result of described customized treatment to be presented on the text box element in the acquisition page;
Described customized treatment module is also configured to obtain the positional information of text box element on browser page from the described DOM object be converted to; According to described positional information, described text box element generates overlapping block level layer; On described piece of level layer, the DOM object handles module calling at least one text box element described of setting carries out described customized treatment at least one the text box element in the described DOM object be converted to.
2. browser according to claim 1, is characterized in that, described display module is also configured to the result of described customized treatment to be presented on described piece of level layer on the text box element being positioned at the acquisition page.
3. browser according to claim 1 and 2, is characterized in that, when described piece of level layer comprises div layer, described display module is also configured to obtain the content information that described text box element generates after customized treatment; Described content information is decoded, and decoded content information is presented on div layer.
4. browser according to claim 1 and 2, is characterized in that, also comprises:
Enquiry module, be configured to inquire about from object handles registration table in described browser the DOM object handles module whether existing and described text box element is processed, wherein, the DOM object handles module of at least one text box element described is registered in described object handles registration table.
5. browser according to claim 1 and 2, it is characterized in that, in the DOM object handles module of at least one text box element described, store the processing mode of the event ContentReady process triggered when regulation has loaded described text box element.
6. browser according to claim 5, is characterized in that, described processing mode comprise following one of at least:
For in described text box element, different words arranges different fonts;
List of input in described text box element;
Input picture in described text box element;
Multimedia messages is inputted in described text box element.
7. browser according to claim 6, is characterized in that, described multimedia messages comprises audio frequency and/or video.
8. browser according to claim 1 and 2, is characterized in that, when described piece of level layer comprises div layer, described customized treatment module is also configured to the innerText attribute calling described text box element; The DOM object handles module calling at least one text box element described of setting redefines described innerText attribute; InnerHTML attribute after the redefining of described text box element is back to described div layer.
9. browser according to claim 8, is characterized in that, described in redefine operation and comprise: the processing mode of onblur or onSubmit.
10. a method for browser processing page text box element, arrange the DOM object handler of at least one text box element in browser side, wherein each object handler stores the customized treatment of text box element, and the method comprises:
Load in browser side and obtain the page, and the text box element obtained in the page is resolved, text frame element is converted to DOM object;
The DOM object handler calling at least one text box element described of setting carries out described customized treatment at least one the text box element in the described DOM object be converted to;
The result of described customized treatment is presented on the text box element in the acquisition page;
Wherein, the DOM object handler calling at least one text box element described of setting carries out described customized treatment at least one the text box element in the described DOM object be converted to, and comprising:
The positional information of text box element on browser page is obtained from the described DOM object be converted to;
According to described positional information, described text box element generates overlapping block level layer;
On described piece of level layer, the DOM object handler calling at least one text box element described of setting carries out described customized treatment at least one the text box element in the described DOM object be converted to.
11. methods according to claim 10, is characterized in that, the result of described customized treatment are presented on the text box element in the acquisition page, comprise:
The result of described customized treatment is presented on described piece of level layer on the text box element being positioned at the acquisition page.
12. methods according to claim 10 or 11, is characterized in that, when described piece of level layer comprises div layer, the result of described customized treatment are presented on the text box element that obtains in the page, comprise:
Obtain the content information that described text box element generates after customized treatment;
Described content information is decoded, and decoded content information is presented on div layer.
13. methods according to any one of claim 10 or 11, it is characterized in that, the DOM object handler calling at least one text box element described of setting comprises before carrying out described customized treatment at least one the text box element in the described DOM object be converted to:
The DOM object handler whether existing and described text box element is processed is inquired about in described browser from object handles registration table, wherein, the DOM object handler of registration at least one text box element described in described object handles registration table.
14. methods according to claim 10 or 11, it is characterized in that, in the DOM object handler of at least one text box element described, store the processing mode of the event ContentReady process triggered when regulation has loaded described text box element.
15. methods according to claim 14, is characterized in that, described processing mode comprise following one of at least:
For in described text box element, different words arranges different fonts;
List of input in described text box element;
Input picture in described text box element;
Multimedia messages is inputted in described text box element.
16. methods according to claim 15, is characterized in that, described multimedia messages comprises audio frequency and/or video.
17. according to claim 15 to the method described in 16 any one, it is characterized in that, when described piece of level layer comprises div layer, the DOM object handler calling at least one text box element described of setting carries out described customized treatment at least one the text box element in the described DOM object be converted to, and comprising:
Call the innerText attribute of described text box element;
The DOM object handler calling at least one text box element described of setting redefines described innerText attribute;
InnerHTML attribute after the redefining of described text box element is back to described div layer.
18. methods according to claim 17, is characterized in that, described in redefine operation and comprise: the processing mode of onblur or onSubmit.
19. methods according to claim 10 or 11, it is characterized in that, when described browser is IE browser, the client at described browser place arranges first interface IElementBehaviorFactory, the second interface IElementBehavior and the 3rd interface IDocHostUIHandler at WebBrowser plug-in unit, wherein, described first interface and described second interface are used for calling each DOM object handler, and described 3rd interface is used for each DOM object handler to be registered in described object handles registration table;
Call the DOM object handler of at least one text box element described of setting, comprising:
The behavior title BehaviorName that core engine provides according to the client at described browser place, the DOM object handler of at least one text box element described in being connected with described first interface by described second interface interchange; And
When described core engine loads corresponding page elements according to the page elements mark TAG that described client provides, call element behavior Notification Method, notify the stress state of described customer terminal webpage element.
20. methods according to claim 19, is characterized in that, described core engine calls the DOM object handler of at least one text box element described of setting, comprising:
The 4th interface IElementBehaviorSite that described core engine and the described acquisition page provide associates, and when determining that described text box element has customized treatment by described 4th interface, calls corresponding DOM object handler.
CN201210454662.7A 2012-11-13 2012-11-13 The browser that page text frame is processed and method Active CN102981847B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201210454662.7A CN102981847B (en) 2012-11-13 2012-11-13 The browser that page text frame is processed and method
PCT/CN2013/083706 WO2014075509A1 (en) 2012-11-13 2013-09-18 Method and device for browser to process page element
US14/442,227 US9996512B2 (en) 2012-11-13 2013-09-18 Customized processing of DOM objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210454662.7A CN102981847B (en) 2012-11-13 2012-11-13 The browser that page text frame is processed and method

Publications (2)

Publication Number Publication Date
CN102981847A CN102981847A (en) 2013-03-20
CN102981847B true CN102981847B (en) 2015-11-25

Family

ID=47855912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210454662.7A Active CN102981847B (en) 2012-11-13 2012-11-13 The browser that page text frame is processed and method

Country Status (1)

Country Link
CN (1) CN102981847B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999579B (en) * 2012-11-13 2015-11-25 北京奇虎科技有限公司 Page text frame process browser and page text frame element disposal route
US9996512B2 (en) * 2012-11-13 2018-06-12 Beijing Qihoo Technology Company Limited Customized processing of DOM objects
CN105354338A (en) * 2015-12-09 2016-02-24 浪潮电子信息产业股份有限公司 find command searching method in Linux system
CN107515702B (en) * 2016-06-16 2020-10-27 苏宁易购集团股份有限公司 Page interaction method and device
CN108073386B (en) * 2016-11-10 2021-08-13 北京国双科技有限公司 Text box optimization method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1310415A (en) * 2000-02-24 2001-08-29 国际商业机器公司 Custom HTML of service device terminal based on form and a target equipment
CN102214244A (en) * 2011-07-07 2011-10-12 深圳市万兴软件有限公司 Analytic method and system for docx file information
CN102663056A (en) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 Method and device for displaying picture elements
CN102999579A (en) * 2012-11-13 2013-03-27 北京奇虎科技有限公司 Browser for processing page textbox, and method for processing page textbox element

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7444345B2 (en) * 2005-02-15 2008-10-28 International Business Machines Corporation Hierarchical inherited XML DOM

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1310415A (en) * 2000-02-24 2001-08-29 国际商业机器公司 Custom HTML of service device terminal based on form and a target equipment
CN102214244A (en) * 2011-07-07 2011-10-12 深圳市万兴软件有限公司 Analytic method and system for docx file information
CN102663056A (en) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 Method and device for displaying picture elements
CN102999579A (en) * 2012-11-13 2013-03-27 北京奇虎科技有限公司 Browser for processing page textbox, and method for processing page textbox element

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于DOM的网页信息抽取方法》;潘超 等;《硅谷》;20101031;第2010年卷(第20期);第172页、第190页 *

Also Published As

Publication number Publication date
CN102981847A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102999579B (en) Page text frame process browser and page text frame element disposal route
US10726195B2 (en) Filtered stylesheets
CN102981848B (en) Webpage main body element process browser and method
CN102999578B (en) Page elements treatment process and device
CN106575298B (en) Rapid presentation of web sites containing dynamic content and stale content
CN102981844B (en) The browser that webpage main body element is processed and method
US20100223322A1 (en) Server based framework for improving ajax performance
CN105094786B (en) Method and system based on JavaScript customized web page
CN102981847B (en) The browser that page text frame is processed and method
EP3139331A1 (en) Advertisement template configuration method, server and system
CN111104635B (en) Method and device for generating form webpage
US8682964B1 (en) Progressively loading network content
CN105094804A (en) Method and apparatus for adding animation to page
CN102981845B (en) Browser carries out method and the device of page elements process
CN105205080B (en) Redundant file method for cleaning, device and system
US20040268249A1 (en) Document transformation
US20100229081A1 (en) Method for Providing a Navigation Element in an Application
CN102981846A (en) Method for treating password input box element and browser for treating the password input box element
US20160154771A1 (en) Method and device for browser to process page element
CN113792208B (en) Picture interaction method, device, equipment, medium and program product based on webpage
CN102999580B (en) Password input frame element processing method and browser
CN115994517A (en) Information processing method, apparatus, storage medium, device, and program product
US11843679B2 (en) Automated dependency management based on page components
CN104462424A (en) Method, device, client and system for generating grid page in mobile browser
Kay XSLT in the Browser

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.