Method and device for processing page element

A technology of page elements and processing devices, applied in the field of network applications, can solve problems such as reducing user experience and inability to fully personalize and customize content, and achieve the effect of improving experience

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

AI Technical Summary

Problems solved by technology

Therefore, although existing web browsers have different rendering engines, their rendering effects are basically the same, which makes it impossible for users to fully personalize and customize the content presented by web browsers, reducing user experience.

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
  • Method and device for processing page element
  • Method and device for processing page element
  • Method and device for processing page element

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] 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.

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

[0065] When the browser is an IE browser, the client where the browser is located sets the first interface IElementBehaviorFactory, the second interface IElementBehavior and the third interface IDocHostUIHandler in the WebBrowser plug-in, wherein the first interface and the second interface are used to call each DOM object processing processor, and the third interface is used to register each DOM object processor in the object processing registry.

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

[0067] IElementBehavior (...

Embodiment 2

[0089] 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.

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

[0091] 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.

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

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 method and a device for processing a page element. The method comprises the steps of loading an obtaining page at the browser side; analyzing the page elements of the obtaining page, and converting each page element into a DOM (document object model) object; transferring at least one arranged DOM object processor; carrying out set custom treatment on at least one DOM object in the converted DOM objects; generating a final DOM tree by the arranged DOM objects for custom treatment, and rendering the DOM tree. By adopting the method and device, personalized customization on a webpage can be carried out according to the user requirements.

Description

technical field [0001] The invention relates to the field of network applications, in particular to a page element processing method and device. 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 presentation function of the web browser is b...

Claims

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 唐曦陈志李鸣任寰
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products