Method and device for page scaling in browser
A page zoom, browser technology, applied in the browser field, can solve the problems of not knowing exactly, wasting time and system resources, redundant clicking shortcut keys, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0096] refer to figure 2 , which shows a schematic flowchart of a method for zooming pages in a browser according to an embodiment of the present invention, which may specifically include:
[0097] Step 110, monitoring the zoom operation event on the browser side;
[0098] In the embodiment of the present invention, when the user triggers a zoom operation event for the browser Tab page, the browser will monitor the zoom operation event.
[0099] Step 120, creating a display interface in the current tab page, loading and displaying the scaling data of the current tab page;
[0100] After monitoring the zoom operation event triggered by the user for the browser Tab page, in the embodiment of the present invention, the browser main process creates a display interface in the current tab page to load and display the zoom ratio of the current tab page data.
[0101] In the present invention, there may be multiple display interfaces, for example, a miniature UI interface is creat...
Embodiment 2
[0135] refer to image 3 , which shows a schematic flowchart of a method for zooming pages in a browser optionally in the present invention, which may specifically include:
[0136] Step 210, monitoring the zoom operation event on the browser side;
[0137] Step 220, creating a transparent layered window above the current tab page, loading and displaying the scaling data of the current tab page therein;
[0138] In the embodiment of the present invention, a LayeredWindow is created above the current tab page, that is, a layered window. The layered window has a transparent effect, and its transparent meaning also includes: the content of the next layer window can be seen without any influence, and the mouse Hierarchical windows can also be penetrated.
[0139] In the embodiment of the present invention, a LayeredWindow can be created through the window creation function CreateWindowEx. The CreateWindowEx function creates a cascaded, pop-up or sub-window through the extended ...
Embodiment 3
[0216] refer to Figure 4 , which shows a schematic flowchart of a preferred method for zooming pages in a browser in the present invention, which may specifically include:
[0217] Step 310, monitoring the zoom operation event on the browser side;
[0218] Step 320, create a mask layer above the current tab page, in which the scaling data for displaying the current tab page is loaded; the mask layer is added after the last element position in the page document element model tree, and the mask layer The layer is placed on the top layer, and the area covered by the mask layer includes the area displayed on the page.
[0219] In the embodiment of the present invention, a mask layer structure can be added after the position of the last element in the document element model tree corresponding to the page.
[0220] It can add a div corresponding to the mask layer at the end of the trunk of the document element model tree, and then set the coverage area of the mask layer as 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