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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com