Unlock instant, AI-driven research and patent intelligence for your innovation.

Browser for processing page textbox, and method for processing page textbox element

A text box and browser technology, applied in the field of network applications, can solve the problems of specifying different fonts for different characters, inputting multimedia information, etc., to achieve the effect of satisfying preferences and improving experience

Active Publication Date: 2013-03-27
BEIJING QIHOO TECH CO LTD
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the text displayed in the input box of the text area is consistent, and it is difficult to specify different fonts for different texts, and it is also difficult to input multimedia information such as tables, images, and audio in the text box.

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Browser for processing page textbox, and method for processing page textbox element
  • Browser for processing page textbox, and method for processing page textbox element
  • Browser for processing page textbox, and method for processing page textbox element

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] The browsers mentioned in the embodiment of the present invention can be various, such as Microsoft's Internet Explorer (IE for short), Mozilla Firefox, Google's Chrome, Opera, Apple's Safari, and the like.

[0075] Now, taking IE browser as an example, the specific processing method of the text box element provided by the embodiment of the present invention will be elaborated and illustrated in detail.

[0076] For specific processing on a per page element basis, it may be necessary to implement

[0077] IElementBehavior (element behavior)

[0078] Implementing the IElementBehavior Interface

[0079] Implementing the Notify Method

[0080] Implementing the Init Method

[0081] Implementing the Detach Method

[0082] IElementBehaviorFactory (element behavior factory behavior)

[0083] IElementNamespaceFactory (element namespace factory interface)

[0084] IElementNamespaceFactoryCallback (element namespace callback interface)

[0085] After the initialization set...

Embodiment 2

[0098] For the textarea (text box) page unit, an input box for inputting a large amount of text in the web page is provided for the user, but in the current web page rendering mode, the user can only enter simple text in the textarea, but cannot enter text in a predetermined format, images etc. By providing customized rendering of the textarea at the browser, richer content can be entered in the textarea.

[0099] In this example, corresponding instructions are provided for the specific operation of the text box element.

[0100] 1. First, define the event, and customize the structure and logo of the browser in the GetHostInfo method of IDocHostUIHandler. Set a div layer on the text box element, and use the pCSSBuffer pointer scheduling to pull and execute operations involving the text box element on the div layer.

[0101] 2. In the FindBehavior method of IElementBehaviorFactory, return the implementation object CTextAreaElementBehavior of IElementBehavior, and save the IEl...

Embodiment 3

[0108] The above description is to directly process the text box elements. As we all know, there are many kinds of page elements in the browser. The browser needs to convert and process each page element, and then render the processed page elements to generate The rendered web page.

[0109] figure 2 A schematic structural diagram of a browser for processing page elements according to an embodiment of the present invention is shown. see Figure 4 , the browser includes at least one DOM object processor 410 , a page parser 420 and a DOM processor 430 arranged on the browser side.

[0110] Wherein, there is at least one DOM object processor 410, which is preset on the browser side, and each DOM object processor 410 stores customized processing of a specific DOM object. The number of DOM object processors can be 1, 2, 3, 4, 5 or more, and the specific number is determined according to the number of specific DOM objects and the number of customized processing. Figure 4 For i...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a browser for processing a page textbox, and a method for processing a page textbox element. The method comprises the steps of loading an obtaining page at the browser side; analyzing the textbox element in the obtaining page, and converting the textbox element into a DOM (document object model) object; inquiring whether a DOM object processor for processing the textbox element exists in the browser from an object processing registry, wherein at least one DOM object processor is registered in the object processing registry; then transferring the arranged DOM object processor of at least one textbox element to carry out set custom treatment on at least one converted textbook element in the DOM object, and displaying the custom treatment result on the textbox element in the page. By adopting the browser, an improved presenting and processing manner can be provided for the textbox element, and the interactive performance of the page is increased.

Description

technical field [0001] The invention relates to the field of network applications, in particular to a page text box processing browser and a page text box element processing method. Background technique [0002] With the rapid development of the Internet, Internet-based applications and information also show explosive growth. A web browser provides Internet users with a way to access network information and use network applications. This method has strong applicability, and more and more users have become accustomed to obtaining various information and using various applications through a web browser. Web information and application providers provide web pages written in a language such as HTML (Hypertext Markup Language), and web browsers present these web pages at users so that users of web browsers can obtain relevant information. With the rapid development of network technology, the content presented by the web browser is becoming more and more abundant, so the presenta...

Claims

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 唐曦陈志李鸣任寰
Owner BEIJING QIHOO TECH CO LTD