Method and device for displaying specified element in web page in browser

A technology for specifying elements and browsers, applied in program control devices, network data browsing optimization, instruments, etc., can solve the problems that web page elements are not clear enough and users cannot browse clearly

Inactive Publication Date: 2015-02-18
BEIJING QIHOO TECH CO LTD +1
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in practical applications, when the size of the display window of the browser is determined, due to the large content of the webpage or the requirements

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 displaying specified element in web page in browser
  • Method and device for displaying specified element in web page in browser
  • Method and device for displaying specified element in web page in browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0095] refer to figure 1 , which shows a method for displaying specified elements in a webpage in a browser of the present invention, which may specifically include:

[0096] Step 110, the browser main process analyzes the URL of the current web page to determine whether the URL is a specific web page;

[0097] In the present invention, the URL of the webpage opened by the browser is analyzed to determine whether the webpage corresponding to the URL is a specific webpage, and if so, go to step 120 .

[0098] Step 120, if it is a specific webpage, the browser main process notifies the current webpage process to monitor the operation event on the specified element in the current webpage;

[0099] After the browser main process determines that the URL of the current webpage is a specific webpage, it notifies the current webpage process to monitor the operation event on the specified element in the current webpage. In practical applications, the browser main process may notify t...

Embodiment 2

[0131] refer to figure 2 , which shows a method for displaying specified elements in a web page in a browser according to the present invention, which may specifically include:

[0132] Step 210, the main process of the browser matches the URL corresponding to the current webpage document according to the URL matching rules constructed with regular expressions and / or the preset URL list; The above-mentioned web page document is a specific web page with specified elements.

[0133] Because the second element of many webpages does not have substantive meaning, just pictures such as advertisement, brief introduction, for these webpages, if also start the follow-up steps of the present invention, can increase the resource that browser takes, in order to avoid this kind of situation, the present invention The webpages opened by the browser will be screened, and only the qualified webpages will execute the follow-up process of the present invention.

[0134] The embodiments of th...

Embodiment 3

[0157] refer to image 3 , which shows a method for displaying pictures in a webpage in a browser of the present invention, which may specifically include:

[0158] Step 310, the browser main process analyzes the URL of the current web page to determine whether the URL is a specific web page with picture elements;

[0159] Step 320, if it is a specific webpage, the browser main process notifies the current webpage process to monitor the mouse hovering event on the image element in the current webpage;

[0160] In practical applications, image elements in HTML documents are generally image tags Define the image element, its prototype is roughly "", src="image path", the image path is generally a URL, that is, URL (Uniform Resource Locator, Universal Resource Locator), when the rendering engine of the browser reads this code, it will download the image from the image bed server corresponding to the URL for rendering; width="x" indicates the width of the image displayed on the...

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 device for displaying a specified element in a web page in a browser, and relates to the technical field of browsers. The method comprises the following steps that a browser host process analyzes the website of a current web page and judges whether the website is a specific web page; if the website is the specific web page, the browser host process informs a process of the current web page to monitor an operation event of the specified element in the current web page; if the process of the current web page monitors the operation event on the specified element, the specified element of the current web page is analyzed, and the analysis result is returned to the browser host process; the browser host process obtains a second element corresponding to the specified element according to the analysis result, and loads the second element to a newly created window for displaying. By using the method and the device for displaying the specified element in the web page in the browser, the new window is used for maximizing and displaying the specified element in the web page, so that a user can clearly browse the content of the specified element.

Description

technical field [0001] The invention relates to the technical field of browsers, in particular to a method and device for displaying specified elements in webpages in a browser. Background technique [0002] A browser refers to a software that can display the content of HTML (HyperText Mark-up Language, HyperText Mark-up Language)) files on a web server or file system, and allows users to interact with these files. The web browser mainly interacts with the web server through the HTTP protocol (Hypertext transfer protocol, HTTP-Hypertext transfer protocol) and obtains web pages. These web pages are specified by URL (Uniform Resource Locator, Uniform Resource Locator), and the file format is usually HTML. A web page may include multiple documents, and each document is obtained from the server separately. The HTTP content type and URL protocol specifications allow web page designers to embed pictures, videos, etc. in web pages. [0003] However, in practical applications, whe...

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
CPCG06F9/451G06F16/957
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