CN104361082A - Method and device for displaying specified element in web page in browser - Google Patents

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

Info

Publication number
CN104361082A
CN104361082A CN201410643594.8A CN201410643594A CN104361082A CN 104361082 A CN104361082 A CN 104361082A CN 201410643594 A CN201410643594 A CN 201410643594A CN 104361082 A CN104361082 A CN 104361082A
Authority
CN
China
Prior art keywords
network address
web page
picture
webpage
current web
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410643594.8A
Other languages
Chinese (zh)
Inventor
蔡永建
唐明生
甘恩平
李煜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410643594.8A priority Critical patent/CN104361082A/en
Publication of CN104361082A publication Critical patent/CN104361082A/en
Priority to PCT/CN2015/093603 priority patent/WO2016070770A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

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

To the method and apparatus that designed element in webpage shows in a kind of browser
Technical field
The present invention relates to browser technology field, be specifically related in a kind of browser the method and apparatus that designed element in webpage shows.
Background technology
Browser refers to can the HTML (HTML (Hypertext Markup Language), HyperText Mark-up Language) of display web page server or file system) file content, and allow a kind of software of user and these file interactions.Web browser is mainly through http protocol (HTTP, HTTP-Hypertext transfer protocol) with web page server alternately and obtain webpage, these webpages are by URL (URL(uniform resource locator), Uniform Resource Locator) to specify, file layout is generally HTML.Can comprise multiple document in a webpage, each document obtains from server respectively.HTTP content type and URL protocol specification allow Web page maker to embed picture, video etc. in webpage.
But, in actual applications, when browser display form size is determined, webpage is because content is a lot of or the requirement such as webpage layout, after html document is played up displaying by browser, in the webpage obtained, some element is clear not, and user cannot clearly browse.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of the overcoming method shown designed element in webpage in the device and corresponding browser shown designed element in webpage in the problems referred to above or the browser that solves the problem at least in part.
According to one aspect of the present invention, to provide in a kind of browser the method that designed element in webpage shows, comprising:
The network address of browser host process to current web page is analyzed, and judges whether described network address is particular webpage;
If be particular webpage, browser host process notice current web page process goes to monitor the Action Events on the designed element in current web page;
If current web page process listens to the Action Events on designed element, then the designed element of current web page is analyzed, analysis result is returned to browser host process;
Browser host process obtains the second element of corresponding designed element according to described analysis result, and is loaded on by described second element in a window newly created and shows.
Preferably, the network address of browser host process to current web page is analyzed, and judges whether described network address is that particular webpage comprises:
For the network address that current web page document is corresponding, according to the network address matched rule built with regular expression and/or preset network address list, described network address is mated; When network address matches, then judge that described web document is the particular webpage with designed element.
Preferably, the network address matched rule that described basis builds with regular expression and/or preset network address list, mate described network address, comprising:
According to the main website network address matched rule built with regular expression, judge that whether described network address is the network address of predetermined main website;
If described network address is the network address of predetermined main website, then according to network address matched rule in the station built with regular expression, judge that whether webpage corresponding to described network address be the particular webpage with designed element.
Preferably, browser host process notice current web page process also comprises before monitoring the Action Events on the designed element in current web page:
For the designed element in webpage, according to preset filtering rule, described designed element is filtered.
Preferably, described designed element comprise picture element, video elementary, document elements wherein at least one.
Preferably, when described designed element comprises picture element, described for the designed element in webpage, according to preset filtering rule, described designed element is filtered, comprising:
Webpage process judges whether described dimension of picture reaches first threshold; If do not reached, then monitor the Action Events on described designed element; If do not reached, then do not monitor the Action Events on described designed element.
Preferably, when described designed element comprises picture element, the Action Events that current web page process is monitored on the designed element in current web page comprises:
Current web page process monitors the mouse hover event on the picture element in current web page.
Preferably, when described designed element comprises picture element, described for the designed element in webpage, according to preset filtering rule, described designed element is filtered, comprising:
One or more being belonged to by described picture element in the picture element of the picture element of advertising node, the picture element of navigation bar node, non-text node filters.
Preferably, if described current web page process listens to the Action Events on designed element, then the designed element of current web page is analyzed, analysis result is returned to browser host process and comprise:
Obtain the network address of corresponding first picture in described picture element;
Matching regular expressions is carried out to the network address of described first picture, determines the network address of second picture, and the network address of described second picture is returned to browser host process.
Preferably, described browser host process obtains the second element of corresponding designed element according to described analysis result, and is loaded on by described second element in a window newly created and shows and comprise:
Browser host process is second picture according to the website, download of described second picture;
Browser host process creates a window, and is loaded in described window by described second picture and shows.
Preferably, when described designed element comprises document elements, the Action Events that described current web page process is monitored on the designed element in current web page comprises:
Current web page process monitors the delimitation operation in the document elements in current web page.
Preferably, if described current web page process listens to the Action Events on designed element, then the designed element of current web page is analyzed, analysis result is returned to browser host process and comprise:
Current web page process operates according to described delimitation, extracts the document content within the scope of defined area, and described document content is returned to browser host process.
Preferably, described browser host process obtains the second element of corresponding designed element according to described analysis result, and is loaded on by described second element in a window newly created and shows and comprise:
Browser host process, according to described document content, obtains the document content after amplifying, and is loaded on by the document content after described amplification in a window newly created and shows.
Preferably, describedly to comprise when browser host process new window:
According to the size of the second element and the position of mouse, determine the position of created window.
Preferably, also comprise: according to the movement of mouse above designed element, adjust the position of described window.
Preferably, also comprise:
Load and show the functional interface for described designed element; Described functional interface comprises played in full screen interface and/or shares interface and/or saving interface and/or browser and arranges interface; Wherein, described played in full screen interface comprises the content of described designed element is carried out played in full screen; Described interface of sharing comprises the content of described designed element being sent to first terminal and/or the content of described designed element being shared and generates Quick Response Code to the 3rd website and/or for the content of described designed element; Described saving interface comprises to be preserved the content of described designed element.
To present invention also offers in a kind of browser the device that designed element in webpage shows according to another aspect of the present invention, comprising:
Web page analysis module, is suitable for the network address of browser host process to current web page and analyzes, and judges whether described network address is particular webpage;
Notification module, if be suitable for for particular webpage, browser host process notice current web page process monitors the Action Events on the designed element in current web page;
Monitoring module, is suitable for the Action Events on the designed element in current web page process monitoring current web page; When listening to the Action Events on designed element, then the designed element of current web page being analyzed, analysis result being returned to browser host process;
Display module, is suitable for browser host process obtains corresponding designed element the second element according to described analysis result, and is loaded on by described second element in a window newly created and shows.
Preferably, described web page analysis module comprises:
Network address matching module, is suitable for for network address corresponding to current web page document, according to the network address matched rule built with regular expression and/or preset network address list, mates described network address; When network address matches, then judge that described web document is the particular webpage with designed element.
Preferably, described network address matching module comprises:
Main website matching module, is suitable for the main website network address matched rule according to building with regular expression, judges that whether described network address is the network address of predetermined main website;
Matching module in standing, if be suitable for the network address that described network address is predetermined main website, then according to network address matched rule in the station built with regular expression, judges that whether webpage corresponding to described network address be the particular webpage with designed element.
Preferably, also comprise:
First notification module, before being suitable for the Action Events on the designed element in browser host process notice current web page process monitoring current web page, for the designed element in webpage, filters described designed element according to preset filtering rule;
Accordingly, described monitoring module also comprises: filtering module, before being suitable for monitoring the Action Events on the designed element in current web page in current web page process, for the designed element in webpage, filters described designed element according to preset filtering rule.
Preferably, described designed element comprise picture element, video elementary, document elements wherein at least one.
Preferably, described filtering module comprises:
First filtering module, be suitable for when described designed element comprises picture element, webpage process judges whether described dimension of picture reaches first threshold; If do not reached, then monitor the Action Events on described designed element; If do not reached, then do not monitor the Action Events on described designed element.
Preferably, described monitoring module comprises:
Picture element monitoring module, is suitable for when described designed element comprises picture element, and current web page process monitors the mouse hover event on the picture element in current web page.
Preferably, described filtering module comprises:
Second filtering module, is suitable for when described designed element comprises picture element, and one or more being belonged to by described picture element in the picture element of the picture element of advertising node, the picture element of navigation bar node, non-text node filters.
Preferably, described monitoring module comprises:
First picture website acquisition module, is suitable for obtaining the network address of corresponding first picture in described picture element;
Second picture website acquisition module, is suitable for carrying out matching regular expressions to the network address of described first picture, determines the network address of second picture, and the network address of described second picture is returned to browser host process.
Preferably, described display module comprises:
Second picture acquisition module, is suitable for browser host process second picture according to the website, download of described second picture;
Picture presentation module, is suitable for browser host process and creates a window, and is loaded in described window by described second picture and shows.
Preferably, described monitoring module comprises:
Document elements monitoring module, is suitable for the delimitation operation in the document elements in current web page process monitoring current web page.
Preferably, described monitoring module comprises:
Module delimited by document, be suitable for current web page process and operate according to described delimitation, extracts the document content within the scope of defined area, and described document content is returned to browser host process.
Preferably, described display module comprises:
Document display module, is suitable for browser host process according to described document content, obtains the document content after amplifying, and is loaded on by the document content after described amplification in a window newly created and shows.
Preferably, described display module comprises:
The window's position determination module, is suitable for, when browser host process new window, according to the size of the second element and the position of mouse, determining the position of created window.
Preferably, also comprise: window mobile module, be suitable for, according to the movement of mouse above designed element, adjusting the position of described window.
Preferably, also comprise:
Interface display module, is suitable for loading and shows the functional interface for described designed element; Described functional interface comprises played in full screen interface and/or shares interface and/or saving interface and/or browser and arranges interface; Wherein, described played in full screen interface comprises the content of described designed element is carried out played in full screen; Described interface of sharing comprises the content of described designed element being sent to first terminal and/or the content of described designed element being shared and generates Quick Response Code to the 3rd website and/or for the content of described designed element; Described saving interface comprises to be preserved the content of described designed element.
Can be analyzed the network address that browser is opened by browser host process the method and apparatus that designed element in webpage shows according in a kind of browser of the present invention, judge whether described network address is particular webpage, then by webpage process, analyzing and processing is carried out to the operation on webpage, then analysis processing result is returned to browser host process, browser host process obtains the second element of corresponding designed element according to described analysis result, and described second element is loaded in a window newly created and shows, solve when browser display form size is determined thus, webpage due to content a lot, or the requirements such as webpage layout, after html document is played up displaying by browser, in the webpage obtained, some element is clear not, user clearly cannot carry out the problem browsed, achieve and designed element in webpage can be utilized new window to carry out amplification display, make the beneficial effect that user can clearly browse.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the schematic flow sheet in a kind of according to an embodiment of the invention browser, designed element in webpage being carried out to display packing;
Figure 1A and Figure 1B is the example on Fig. 1 embodiment basis;
Fig. 2 shows the schematic flow sheet in a kind of according to an embodiment of the invention browser, designed element in webpage being carried out to display packing;
Fig. 3 shows the schematic flow sheet in a kind of according to an embodiment of the invention browser, designed element in webpage being carried out to display packing;
Fig. 4 shows the schematic flow sheet in a kind of according to an embodiment of the invention browser, designed element in webpage being carried out to display packing;
Fig. 5 shows the schematic flow sheet in a kind of according to an embodiment of the invention browser, designed element in webpage being carried out to display packing;
Fig. 6 shows the structural representation in a kind of according to an embodiment of the invention browser, designed element in webpage being carried out to display device;
Fig. 7 shows the structural representation in a kind of according to an embodiment of the invention browser, designed element in webpage being carried out to display device;
Fig. 8 shows the structural representation in a kind of according to an embodiment of the invention browser, designed element in webpage being carried out to display device;
Fig. 9 shows the structural representation in a kind of according to an embodiment of the invention browser, designed element in webpage being carried out to display device; And
Figure 10 shows the structural representation in a kind of according to an embodiment of the invention browser, designed element in webpage being carried out to display device.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
One of core concept of the present invention is: adopt browser host process to analyze the network address of browser when front opening, judge whether it is particular webpage; Then by the webpage process of current web page, the operation of designed element in webpage is analyzed; Then analysis result is returned to browser host process, extracted the second element of the enlarged version of corresponding designed element according to described analysis result by browser host process, the newly-built window of browser host process, is loaded on described second element in described newly-built window and shows.So, first, from effect, designed element can be carried out in new window amplification display, make user can clearly to the content of designed element; Secondly, because webpage process is only analyzed the content of webpage itself, there is no the operation exceeding webpage process normal authority more, other operation such as performs by browser host process the loading of the analysis of network address, the acquisition of the second element, the establishment of window and the second element, the logic that webpage process is performed is simplified as far as possible, avoids because webpage process performs too much logic that to cause to play up not smooth of web document, user being browsed not smooth; Again, the loading of the establishment and the second element that perform new window by browser is shown, the execution of webpage process also can be avoided to exceed the operation of normal authority and forbidden its operation by fail-safe software or Ad blocking software and cannot realize the aforementioned problem to designed element enlarging function.
Embodiment one
With reference to Fig. 1, it illustrates in a kind of browser of the present invention and display packing carried out to designed element in webpage, specifically can comprise:
Step 110, the network address of browser host process to current web page is analyzed, and judges whether described network address is particular webpage;
In the present invention, for the webpage that browser is opened, its network address is analyzed, to judge that whether webpage corresponding to described network address be for particular webpage, if so, then enters step 120.
Step 120, if be particular webpage, browser host process notice current web page process goes to monitor the Action Events on the designed element in current web page;
Browser host process is after judging that the network address of current web page is particular webpage, then its notice current web page process goes to monitor the Action Events on the designed element in current web page.In actual applications, browser host process notifies the webpage process of current web page by IPC communication (Inter-Process Communication, interprocess communication).
After so described webpage process receives the above-mentioned notice of browser host process transmission, then to the webpage of current presentation, the Action Events on the designed element in webpage can be monitored.
In embodiments of the present invention, described designed element comprise picture element, video elementary, document elements wherein at least one.
As Figure 1A, be the browser schematic diagram that the embodiment of the present invention is concise and to the point, in figure ia, S122 is at display window, wherein shows the webpage of browser, and S126 is tab bar, a not corresponding webpage below a tab bar, the webpage shown in during tab label in current switch labels hurdle is along with change.What show in current S122 is the page of http://hao.AAA.cn/, wherein has designed element A (as S124 in Figure 1A), B, C, D show.So the present invention intercepts on certain designed element whether have mouse hover event.The content of pages that current display window S122 shows is the content of pages under label 1.
Step 130, if current web page process listens to the Action Events on designed element, then analyzes the designed element of current web page, analysis result is returned to browser host process;
When user operates the designed element in webpage, then webpage process can monitor the Action Events to described designed element, after listening to, then can analyze the designed element of current web page, then analysis result be returned to browser host process.Analysis result is also returned to browser host process by IPC communication by webpage process.
In embodiments of the present invention, described Action Events comprises: mouse hover event and/or regional assignment event, and described regional assignment event is that user operation mouse delimit a region in webpage, and this region may include designed element.
In the example of Figure 1A, when mouse move to the designed element A shown in S124 hovers time, webpage process then analyzes designed element A, obtains analysis result, and this analysis result is for notifying that browser host process goes to obtain the designed element A of enlarged version.
Step 140, browser host process obtains the second element of corresponding designed element according to described analysis result, and is loaded on by described second element in a window newly created and shows.
Browser receives the analysis result that webpage process returns, then can obtain the second element of corresponding designed element according to described analysis result; Then create a new window, described second element is loaded in a window newly created and shows.
In this step, actually can to comprise:
Steps A 141, obtains second element of answering designed element according to described analysis result;
Steps A 142, creates a new window;
Steps A 143, and show in the described new window of described second element loading.
Wherein, when creating new window, can create according to the wide high size of the second element, generally the direct window creating a corresponding size according to the wide high size of the second element.Browser can call window creation function creation window in embodiments of the present invention, such as calls CreateWindow function creation window.
Certainly in the present invention, new window can be created within display window, facilitates user to check.Can by the window definition that newly creates among browser display form as long as in the present invention the parent window of the window newly created to be set to browser display form.
Described establishment one window comprises:
Sub-step S132, according to the wide high size of the second element and the position of mouse, determines the position of created window.
In the embodiment of the present invention, newly-built window can be built in mouse side, and directly can create the window of a corresponding size according to the wide high size of the second element.
With reference to Figure 1B, it is the example after new window displaying of the present invention, when mouse S128 hovers on the picture element of S124 instruction, the embodiment of the present invention then obtains " the designed element A " of second element of " designed element A " corresponding large Pixel Dimensions of small pixel size, then near mouse S128 newly-built one with " designed element A " sizable new window of large Pixel Dimensions, " the designed element A " of described large Pixel Dimensions is loaded in new window and shows, the S132 namely in Figure 1B.User like this gets final product the second element occurred in clearer viewing webpage.Further, now user continues roll mouse roller, and webpage can continue to slide, and does not affect the operation of user to webpage.
Certainly, in the present invention, the size of window is generally no more than the size of display window, if the wide high size of the second element is greater than the size of display window, such as the height of the second element is greater than the height of display window, so the height of a new window is then the height of display window, the similar height of setting principle of the width of display window.For this kind of situation, can set up operating key, such as directionkeys, user can to roll the display position of the second element in new window by direction of operating key again, facilitates user to browse.
Shift out event when listening to mouse, such as onmouseout event, then close described window, also can discharge the internal memory playing up described second element.
Preferably, also comprise:
Step 150, according to the movement of mouse above the second element, adjusts the position of described window.
Play up to after described window in new window creation and by the second element, if during user's rolling mouse position, described window is followed the movement of mouse coordinates and moves.
In embodiments of the present invention, if new window initial creation is on the right side of mouse, and when mouse moves to the right, if the distance on the right side of mouse position to display window is less than the width of window, window is moved on the left of mouse and show.The similar process of other situations.
Preferably, also comprise:
Step 160, loads and shows the functional interface for described designed element; Described functional interface comprises played in full screen interface and/or shares interface and/or saving interface and/or browser and arranges interface; Wherein, described played in full screen interface comprises the content of described designed element is carried out played in full screen; Described interface of sharing comprises the content of described designed element being sent to first terminal and/or the content of described designed element being shared and generates Quick Response Code to the 3rd website and/or for the content of described designed element; Described saving interface comprises to be preserved the content of described designed element.
After hearing that on the second element mouse action event or designed element are shown in new window, then load and show the functional interface for described designed element; Described functional interface comprises played in full screen interface and/or shares interface and/or saving interface and/or browser and arranges interface; Wherein, described played in full screen interface comprises described designed element is carried out played in full screen; Described interface of sharing comprises described designed element being sent to first terminal (such as designed element is sent to mobile phone terminal by calling mobile phone assistant) and/or being shared by described designed element and generates Quick Response Code to the 3rd website (such as sharing designed element to websites such as Renren Network, Sina's microbloggings) and/or for described designed element, user then can open or download designed element after adopting other-end to scan this Quick Response Code; Described saving interface comprises to be preserved described designed element, is such as extracted from internal memory by the designed element in webpage and is then saved in disk.
Certainly, in embodiments of the present invention, can the preset webpage designed element function of amplifying in a browser in advance, namely implement the logic of abovementioned steps.During this function preset, can by various ways embedding browser.Such as chrome browser, by the form of plug-in unit/expansion by above-mentioned logic embedding browser, also can directly by the run time version of above-mentioned logic write browser; For IE browser, then can pass through BHO (Browser Helper Object, browser auxiliary object) by the plug-in unit embedding browser of above-mentioned logic.Also can adopt similar measure for other browsers, the present invention is not limited it.
The embodiment of the present invention adopts browser host process to analyze the network address of browser when front opening, judges whether it is particular webpage; Then by the webpage process of current web page, the operation of designed element in webpage is analyzed; Then analysis result is returned to browser host process, extracted the second element of the enlarged version of corresponding designed element according to described analysis result by browser host process, the newly-built window of browser host process, is loaded on described second element in described newly-built window and shows.So, first, from effect, designed element can be carried out in new window amplification display, make user can clearly to the content of designed element; Secondly, because webpage process is only analyzed the content of webpage itself, there is no the operation exceeding webpage process normal authority more, other operation such as performs by browser host process the loading of the analysis of network address, the acquisition of the second element, the establishment of window and the second element, the logic that webpage process is performed is simplified as far as possible, avoids because webpage process performs too much logic that to cause to play up not smooth of web document, user being browsed not smooth; Again, the loading of the establishment and the second element that perform new window by browser is shown, the execution of webpage process also can be avoided to exceed the operation of normal authority and forbidden its operation by fail-safe software or Ad blocking software and cannot realize the aforementioned problem to designed element enlarging function.
Embodiment two
With reference to Fig. 2, it illustrates in a kind of browser of the present invention and display packing carried out to designed element in webpage, specifically can comprise:
Step 210, browser host process, for network address corresponding to current web page document, according to the network address matched rule built with regular expression and/or preset network address list, is mated described network address; When network address matches, then judge that described web document is the particular webpage with designed element.
Because the second element of a lot of webpage does not have essential meaning, the just picture such as advertisement, brief introduction, for these webpages, if also start subsequent step of the present invention, then can increase the resource that browser takies, in order to avoid this kind of situation, the present invention can screen the webpage that browser is opened, and qualified webpage just performs subsequent process of the present invention.
The embodiment of the present invention is by analyzing the URL of each website, and the network address matched rule built with regular expression, carries out coupling to described network address and filter; Certainly, also directly can build network address list to URL, the network address in network address list be performed the process of the embodiment of the present invention.Above-mentioned two kinds of matching ways can use simultaneously, also can be used alone.When using, generally first carry out Rapid matching with the network address list of typical web site simultaneously, to unmatch and mate with the network address matched rule that regular expression builds again.If the URL of typical web site, then need not perform the coupling of the latter, saving resource.
Preferably, for the network address that current web page document is corresponding, according to the network address matched rule built with regular expression and/or preset network address list, described network address is mated; When network address matches, then judge that described web document is comprise with the particular webpage of designed element:
Step 212, browser host process, according to the main website network address matched rule built with regular expression, judges that whether described network address is the network address of predetermined main website;
The embodiment of the present invention first can carry out network address filtration in units of website, filters out the website being unsuitable for using the present invention second element enlarging function.First with the main website network address matched rule that regular expression builds, the network address then opened by browser is mated with described main website network address matched rule, judges that whether described network address is the network address of predetermined main website.
Such as build main website network address matched rule " https?: // (w+ .)? weibo .com/.* ", this main website network address matched rule judges that whether network address is the network address of weibo website.If yes then enter step 220;
If described network address is not the predetermined network address of advocating war, then do not enter subsequent step.
Step 214, if the described network address of browser host process is the network address of predetermined main website, then according to network address matched rule in the station built with regular expression, judges that whether webpage corresponding to described network address be the particular webpage with designed element.
After determining that network address that browser is opened is the network address of certain main website, network address is being carried out to next step coupling, filtering out the network address that picture element is unsuitable for performing the embodiment of the present invention second element enlarging function.Because there is not the picture element possessing actual content, such as sub-pages such as the subscriber information management webpage under Sina's microblogging website, app webpages in a lot of sub-pages below a lot of website.
The embodiment of the present invention is then first with network address matched rule in the station of regular expression structure, and the network address then opened by browser is mated with network address matched rule in described station, judges whether described network address is predetermined subnet location.
Such as network address matched rule in station
" https?: //app .weibo .com/.*||https?: //service .weibo .com/.*||https?: //weibo .com/login.php? .* " its filter out with " https?: //app .weibo .com " subnet location, or filter out with " https?: //service .weibo .com/ " subnet location, or filter out with " https?: //weibo .com/login.php " subnet location.
So for weibo website, only retain the webpage that user provides body matter, the comment that such as user delivers, the webpage of photo.
If described network address is not predetermined particular webpage, then do not enter subsequent step.
Step 220, browser host process judges that described web document is after the particular webpage with designed element, browser host process notice current web page process is for the designed element in webpage, according to preset filtering rule, described designed element is filtered, and notice current web page process goes to monitor the Action Events on the designed element in current web page;
Then webpage process is then for the designed element in webpage, filters described designed element according to preset filtering rule, then monitors the Action Events on the designed element in current web page.
In embodiments of the present invention, the second element enlarging function of the embodiment of the present invention need not be carried out to the second all elements.Can filter not needing the second element performing the present invention second element enlarging function.Step 230 is entered to the second element retained.
Step 230, current web page process, for the designed element in webpage, is filtered described designed element according to preset filtering rule;
Step 240, current web page process goes to monitor the Action Events on the designed element in current web page; If current web page process listens to the Action Events on designed element, then enter step 250;
Step 250, the designed element of current web page process to current web page is analyzed, and analysis result is returned to browser host process.
Step 260, browser host process obtains the second element of corresponding designed element according to described analysis result, and is loaded on by described second element in a window newly created and shows.
The present invention and the similar step principle of embodiment one similar, be not described in detail in this.
The browser host process of the embodiment of the present invention presses two-layer strobe utility in main website and station, entirely need not mate filtration, improve filtration efficiency, reduce taking of system resource to each network address.And the embodiment of the present invention can be filtered unnecessary the second element amplified, and also reduces taking of system resource, avoids the amplification of the second useless element to go browsing of interference user.Then, designed element, from effect, can be carried out amplification display, make user can clearly to the content of designed element by the embodiment of the present invention in new window; Secondly, because webpage process is only analyzed the content of webpage itself, there is no the operation exceeding webpage process normal authority more, other operation such as performs by browser host process the loading of the analysis of network address, the acquisition of the second element, the establishment of window and the second element, the logic that webpage process is performed is simplified as far as possible, avoids because webpage process performs too much logic that to cause to play up not smooth of web document, user being browsed not smooth; Again, the loading of the establishment and the second element that perform new window by browser is shown, the execution of webpage process also can be avoided to exceed the operation of normal authority and forbidden its operation by fail-safe software or Ad blocking software and cannot realize the aforementioned problem to designed element enlarging function.
Embodiment three
With reference to Fig. 3, it illustrates in a kind of browser of the present invention and display packing carried out to picture in webpage, specifically can comprise:
Step 310, the network address of browser host process to current web page is analyzed, and judges that whether described network address is the particular webpage with picture element;
Step 320, if be particular webpage, browser host process notice current web page process is monitoring the mouse hover event on the picture element in current web page;
In actual applications, picture element in html document is generally that picture tag <img> defines picture element, its prototype is roughly " <img src=" picture path " width=" x " height=" y " alt=" "/> ", src=" picture path ", picture path is generally network address, i.e. URL (URL(uniform resource locator), Universal Resource Locator), when the render engine of browser reads this section of code, a server download pictures can be schemed accordingly according to URL to play up, it is wide that width=" x " represents that picture is shown in webpage, and height=" y " represents the height that picture is shown in webpage, and both width, height just represent the size of picture element altogether, Alt is arranged this pictures text description.For picture element, the CSS file in html document can determine its position in webpage.
In the embodiment of the present invention, be shown to after webpage when browser obtains html document playing up from server, user is in the process browsing webpage, browser can monitor the mouse hover event in webpage on picture element, such as monitor the mouse hover event on aforementioned <img> label region, such as mouseover event.
Wherein, the mouse hover event process monitored in webpage on picture element can comprise:
A1, monitors the onmouseover event of mouse in webpage;
A2, if listen to onmouseover event, obtains the current coordinate in webpage of mouse;
The horizontal ordinate of mouse in page display window is obtained as by event.clientX function, the ordinate of mouse in page display window is obtained by event.clientY function, by the length that document.body.scrollLeft acquisition webpage is rolled up to the right, the length of webpage upwards convolution is obtained by document.body.scrollTop, the so horizontal ordinate tempx=event.clientX+document.body.scrollLeft of mouse in webpage, ordinate is tempy=event.clientY+document.body.scrollTop;
A3, obtains the coordinates regional of picture element in webpage;
Such as obtain each picture element relative to the top value at webpage top and relative to the left value on the left of webpage, coordinate (the top in the coordinates regional upper right corner of picture element can be known, left), then width, height of picture element is obtained, the coordinate range of picture element rectangular area can be calculated, the scope of such as picture element horizontal ordinate is left+width, and the scope of ordinate is top-height.
A4, judges the current coordinate of mouse whether in the coordinates regional of certain picture element described, if it is judges that mouse-over is on this picture element;
So judge which (left described tempx, tempy belong to respectively, left+width), (top-height, top) coordinate in, when the coordinate of mouse is all in certain coordinates regional, then determines that mouse-over is on the picture element that coordinates regional is corresponding.Enter subsequent step.
Certainly also monitor the mouse hover event in webpage on picture element by other modes, such as obtain the coordinates regional of picture element in display window, and the coordinate of mouse in display window, can judge whether mouse hovers on picture element.Concrete snoop procedure, the present invention is not limited it.
Step 330, current web page process, monitoring the mouse hover event on the picture element in current web page, judges whether the mouse hover event listened on picture element;
Step 340, if current web page process listens to the mouse hover event on picture element, then analyzes the picture element of current web page, analysis result is returned to browser host process;
In embodiments of the present invention, the URL of the second picture that the first picture is corresponding in picture element can be analyzed, then URL be returned to browser host process.
Step 350, browser host process obtains the second picture of corresponding picture element according to described analysis result, and is loaded on by described second picture in a window newly created and shows.
In embodiments of the present invention, the second picture obtaining the first picture in corresponding picture element is actually.Then create a new window, described second picture is loaded in new window and shows.
When creating new window, can create according to the Pixel Dimensions of second picture, generally the direct window creating a corresponding size according to second picture Pixel Dimensions size.Browser can call window creation function creation window in embodiments of the present invention, such as calls CreateWindow function creation window.
Certainly in the present invention, new window can be created within display window, facilitates user to check.Can by the window definition that newly creates among browser display form as long as in the present invention the parent window of the window newly created to be set to browser display form.
In embodiments of the present invention, when showing in described window when the second picture of described acquisition is loaded, first can decode to second picture, then just can be loaded in described window and show.
Described establishment one window comprises:
Sub-step S332, according to the size dimension of second picture and the position of mouse, determines the position of created window.
In the embodiment of the present invention, newly-built window can be built in mouse side, and directly can create the window of a corresponding size according to second picture Pixel Dimensions size.
Certainly, in the present invention, the size of window is generally no more than the size of display window, if the Pixel Dimensions of second picture is greater than the size of display window, the height of such as picture is greater than the height of display window, so the height of a new window is then the height of display window, the similar height of setting principle of the width of display window.For this kind of situation, can set up operating key, such as directionkeys, user can the display position of direction of operating key rolling picture in new window again, facilitates user to browse.
Shift out event when listening to mouse, such as onmouseout event, then close described window, also can discharge the internal memory playing up described second picture.
Preferably, also comprise:
Step 360, according to the movement of mouse above picture element, adjusts the position of described window.
Play up to after described window in new window creation and by second picture, if during user's rolling mouse position, described window is followed the movement of mouse coordinates and moves.
In embodiments of the present invention, if new window initial creation is on the right side of mouse, and when mouse moves to the right, if the distance on the right side of mouse position to display window is less than the width of window, window is moved on the left of mouse and show.The similar process of other situations.
Preferably, also comprise:
Step 370, loads and shows the functional interface for photo current element; Described functional interface comprises played in full screen interface and/or shares interface and/or saving interface and/or browser and arranges interface; Wherein, described played in full screen interface comprises described first picture is carried out played in full screen; Described interface of sharing comprises described first picture being sent to first terminal and/or being shared by described first picture and generates Quick Response Code to the 3rd website and/or for described first picture; Described saving interface comprises to be preserved described first picture.
After hearing that on picture element mouse hover event or second picture are shown in new window, then load and show the functional interface for photo current element; Described functional interface comprises played in full screen interface and/or shares interface and/or saving interface and/or browser and arranges interface; Wherein, described played in full screen interface comprises described first picture is carried out played in full screen; Described interface of sharing comprises described first picture being sent to first terminal (such as the first picture is sent to mobile phone terminal by calling mobile phone assistant) and/or being shared by described first picture and generates Quick Response Code to the 3rd website (such as sharing the first picture to websites such as Renren Network, Sina's microbloggings) and/or for described first picture, after user adopts other-end to scan this Quick Response Code, then can open or download the first picture; Described saving interface comprises to be preserved described first picture, is such as extracted from internal memory by the first picture in webpage and is then saved in disk.
The present invention and embodiment one, two similar step principles are similar, are not described in detail in this.
In web web application, picture provider generally can on figure bed server, and to picture-storage two pictures of same content, one is the picture of small pixel size, and one is the picture of large Pixel Dimensions; The picture of its small pixel size may be the part intercepted by large Pixel Dimensions picture, also may be directly to reduce Pixel Dimensions by large Pixel Dimensions picture.And due to webpage CSS pattern layout custom, in order to not affect the overall browser of user to webpage, in the html document of general webpage, the picture path that its picture element is quoted is essentially the network address of small size picture, so in this case, for user, clearly picture may be cannot watched because picture is less, also former figure cannot be may intactly watched because picture is a part of former figure.
And the embodiment of the present invention is for the first picture shown in webpage, time on user operation mouse-over to this picture, the embodiment of the present invention then extracts the second picture corresponding with this first picture, then creates a window, is loaded in described window by described second picture and shows.So, can directly show with the second picture of the first picture presentation identical content in webpage in browser window, the display structure of webpage itself need not be changed, also need not carry out clicking the displaying interface entering similar photograph album, user can be made to check image content clearly and completely, user operation is simple, can not affect the normal browsing of user to the page, achieve light-weighted amplificationization picture presentation.
Embodiment
With reference to Fig. 4, it illustrates in a kind of browser of the present invention and display packing carried out to picture in webpage, specifically can comprise:
Step 410, browser host process, according to the main website network address matched rule built with regular expression, judges that whether described network address is the network address of predetermined main website; If described network address is the network address of predetermined main website, then enter step 412;
The embodiment of the present invention first can carry out network address filtration in units of website, filters out the website being unsuitable for using picture magnifying function of the present invention.First with the main website network address matched rule that regular expression builds, the network address then opened by browser is mated with described main website network address matched rule, judges that whether described network address is the network address of predetermined main website.
Such as build main website network address matched rule " https?: // (w+ .)? weibo .com/.* ", this main website network address matched rule judges that whether network address is the network address of weibo website.
Step 412, browser host process, according to network address matched rule in the station built with regular expression, judges that whether webpage corresponding to described network address be the particular webpage with picture element in station;
After determining that network address that browser is opened is the network address of certain main website, network address is being carried out to next step coupling, filtering out the network address that picture element is unsuitable for performing embodiment of the present invention picture magnifying function.Because there is not the picture element possessing actual content, such as sub-pages such as the subscriber information management webpage under Sina's microblogging website, app webpages in a lot of sub-pages below a lot of website.
The embodiment of the present invention is then first with network address matched rule in the station of regular expression structure, and the network address then opened by browser is mated with network address matched rule in described station, judges whether described network address is predetermined subnet location.
Such as network address matched rule in station
" https?: //app .weibo .com/.*||https?: //service .weibo .com/.*||https?: //weibo .com/login.php? .* " its filter out with " https?: //app .weibo .com " subnet location, or filter out with " https?: //service .weibo .com/ " subnet location, or filter out with " https?: //weibo .com/login.php " subnet location.
So for weibo website, only retain the webpage that user provides body matter, the comment that such as user delivers, the webpage of photo.
Step 414, if webpage corresponding to described network address is the particular webpage with picture element in station; Then browser host process notice current web page process is for the picture element in webpage, filters described picture element according to preset filtering rule, and notifies to monitor the mouse hover event on the picture element in current web page;
Step 416, webpage process, for the picture element in webpage, is filtered described picture element according to preset filtering rule; Step 418 is entered after having filtered;
In embodiments of the present invention, the picture magnifying function of the embodiment of the present invention need not be carried out to all picture elements.Can filter not needing the picture element performing picture magnifying function of the present invention.Step 418 is entered to the picture element retained.
Preferably, described for the picture element in webpage, according to preset picture rule, described picture element is filtered, comprising:
Sub-step S4161, webpage process judges in described picture element, whether the first dimension of picture reaches first threshold; If do not reached, then monitor the mouse hover event on described picture element; If reached, then do not monitor the mouse hover event on described picture element.
In actual applications, in picture element the first picture Pixel Dimensions may enough user see image content clearly, so can not monitor the mouse hover event on this kind of picture element, and then the second picture of corresponding first picture need not be obtained.
In embodiments of the present invention, described first threshold is the max pixel value of the first dimension of picture in picture element, such as 200*200; If be more than or equal to first threshold, then do not enter step 418, if be less than first threshold, then enter step 418.
Preferably, described for the picture element in webpage, according to preset picture rule, described picture element is filtered, comprising:
Sub-step S4162, webpage process described picture element is belonged in the picture element of the picture element of advertising node, the picture element of navigation bar node, non-text node one or more filter.
In actual applications, the picture less paid close attention on user habit such as picture of advertising pictures, navigation bar picture, non-body part may be there is in webpage, so the picture element at these picture places can be filtered.
Certainly, the present invention is directly to be ignored by the non-picture element nodes such as document node in filtration.
Step 418, current web page process monitors the mouse hover event in webpage on picture element; If listen to the mouse hover event in webpage on picture element, enter step 420;
Step 420, webpage process obtains the network address of corresponding first picture in described picture element, and the network address of described first picture is returned browser host process;
In actual applications, browser carries out playing up according to the website, download picture of the first picture in picture element, and the network address that the embodiment of the present invention then obtains the first picture returns browser host process.
Step 422, the network address of browser host process to described first picture carries out picture matching regular expressions, to obtain the network address of second picture;
The embodiment of the present invention is for the network address of the picture servers of the employing of each website, picture matching regular expressions rule is built with regular expression, the network address of the first picture is mated, so that the small-sized pixel picture path in the network address of the first picture is replaced with large scale pixel map sheet path, the network address of second picture then can be obtained.
For example, to build a regular expression "for Sina microblogging site ((:?. Ww | ss) \ d + \ sinaimg \ .cn /) (mall | thumbnail | c mw \ d + | sq \ d + | thumb \ d + | square) (/.+ \ (jpe g | gif | png.?))@@\ 1large \ 2 ||. ((:? ww | ss) \ d + \ sinaimg \ .cn / wap) \ d + (/. + \ (?: jpe g | gif | png?))@@\ 1800 \ 2 || (r \ d + \ sinaimg \ .cn /.+?/) (:..? \ d + x) + \ d + (\ (?: jpe g |.? gif | png))@@\ 12000x2000x100x0x0x0 \ 2 || (.. mu \ d + \ sinaimg \ .cn / square \) \ d + (/ weiyinyue \ .music \ .sina \ .com \ .cn /.+ \ (?: jpe g | gif | png?))@@\ 1240 \ 2 ||?. ((:? ww | ss) \ d + \ sinaimg \ .cn /) (. ?: thumb \ d + | square | mw \ d + | middle) (/.+)@@\ 1large \ 2 "
Above-mentioned four " || " have separated 5 picture regular expressions, and each regular expression represents that the small-sized pixel picture path in the network address of replacement one just the first picture replaces with the rule in small-sized pixel picture path.
Network address " http://ww4.sinaimg.cn/thumb150/67dd74e0gw1ek7cn9hhrzj20c808aab8 .jpg " such as little figure utilizes above-mentioned picture regular expression to mate, know and second field " thumb150 " will be replaced with large scale pixel map sheet path, as " large ", so obtain the network address of second picture for " http://ww4.sinaimg.cn/large/67dd74e0gw1ek7cn9hhrzj20c808aab8.jp g ".
Step 424, browser host process, according to the network address of described second picture, downloads described second picture.
Then several network address according to second picture, downloads second picture from picture servers, carries out loading and show in subsequent step.
Step 426, browser host process creates a window, and is loaded in described window by described second picture and shows.
Aforementioned network address matched rule, website list and picture element filtering rule all can the form of configuration file store in embodiments of the present invention, then read described configuration file when browser starts.
The present invention and embodiment one, two, three similar step principles are similar, be not described in detail in this.
And the embodiment of the present invention can be filtered the webpage that browser is opened, retain for user, be accustomed to most the website checking picture, also the picture element in the webpage can opened browser filters, such as be filled into advertising pictures, Navigation Picture etc., retain the picture element that user pays close attention to most, so for the first picture shown in webpage, time on user operation mouse-over to this picture, the embodiment of the present invention then extracts the second picture corresponding with this first picture, then a window is created, described second picture is loaded in described window and shows.So, can directly more accurately show with the second picture of the first picture presentation identical content in webpage in browser window, the display structure of webpage itself need not be changed, also need not carry out clicking the displaying interface entering similar photograph album, user can be made to check image content clearly and completely, user operation is simple, can not affect the normal browsing of user to the page, achieve light-weighted amplificationization picture presentation; Further, owing to having filtered aforementioned network address and picture element, the picture presentation window that user does not pay close attention to can have been ejected, saved system resource simultaneously.
Embodiment five
With reference to Fig. 5, it illustrates in a kind of browser of the present invention and display packing carried out to designed element in webpage, specifically can comprise:
Step 510, the network address of browser host process to current web page is analyzed, and judges whether described network address is particular webpage;
Step 520, judges that described network address is particular webpage, then the delimitation operation in the document elements in browser host process notice current web page process monitoring current web page;
Step 530, current web page process monitors the delimitation operation in the document elements in current web page; If listen to the delimitation operation in the document elements in current web page, then enter step 540;
The webpage process of browser can receive the delimitation operation of user in webpage in embodiments of the present invention, and such as user delimit a rectangle, the rule such as a triangle or irregular situation.
Step 540, current web page process operates according to described delimitation, extracts the document content within the scope of defined area, and described document content is returned to browser host process;
In html document, each element can be specified by the CSS of its correspondence (Cascading Style Sheet, Cascading Style Sheet), and so its display position is relative webpage is fixing.The present invention is after determining the coordinates regional that user delimit in browser display form, the coordinates regional in webpage can be scaled, then according to the coordinate of designed element, judge which designed element is within this coordinate range, such as document elements, the document content of the document elements in defined area can be extracted, then return to browser host process.
Step 550, browser host process, according to described document content, obtains the document content after amplifying, and is loaded on by the document content after described amplification in a window newly created and shows.
The font of described document content can be amplified by browser host process, then creates a window, is loaded in described new window by the document content after described amplification and shows.
In embodiments of the present invention, if there is picture element in defined area, then can obtain corresponding second picture according to the step in embodiment four, then be loaded in the lump in described newly-built window with document elements and show.
The present invention and embodiment one, two, three, four similar step principles are similar, be not described in detail in this.
The designed element of defined area can be shown by the mode of delimiting by the embodiment of the present invention in newly-built window.The browser host process of the embodiment of the present invention presses two-layer strobe utility in main website and station, entirely need not mate filtration, improve filtration efficiency, reduce taking of system resource to each network address.And the embodiment of the present invention can be filtered unnecessary the second element amplified, and also reduces taking of system resource, avoids the amplification of the second useless element to go browsing of interference user.
Embodiment six
With reference to Fig. 6, it illustrates in a kind of browser of the present invention and display device carried out to designed element in webpage, specifically can comprise:
Browser host process module 610, and webpage scheduler module 620;
Described browser host process module 610 comprises:
Web page analysis module 611, is suitable for the network address of browser host process to current web page and analyzes, and judges whether described network address is particular webpage;
Notification module 612, if be suitable for for particular webpage, browser host process notice current web page process monitors the Action Events on the designed element in current web page;
Display module 613, is suitable for browser host process obtains corresponding designed element the second element according to described analysis result, and is loaded on by described second element in a window newly created and shows.
Described webpage scheduler module 620 comprises:
Monitoring module 621, is suitable for the Action Events on the designed element in current web page process monitoring current web page; When listening to the Action Events on designed element, then the designed element of current web page being analyzed, analysis result being returned to browser host process;
Preferably, described designed element comprise picture element, video elementary, document elements wherein at least one.
Preferably, described display module 613 comprises:
The window's position determination module, is suitable for, when browser host process new window, according to the size of the second element and the position of mouse, determining the position of created window.
Preferably, described designed element comprise picture element, video elementary, document elements wherein at least one.
Preferably, also comprise:
Window mobile module, is suitable for, according to the movement of mouse above designed element, adjusting the position of described window.
Preferably, also comprise:
Interface display module, is suitable for loading and shows the functional interface for described designed element; Described functional interface comprises played in full screen interface and/or shares interface and/or saving interface and/or browser and arranges interface; Wherein, described played in full screen interface comprises the content of described designed element is carried out played in full screen; Described interface of sharing comprises the content of described designed element being sent to first terminal and/or the content of described designed element being shared and generates Quick Response Code to the 3rd website and/or for the content of described designed element; Described saving interface comprises to be preserved the content of described designed element.
Wherein webpage scheduler module can comprise multiple.
Embodiment seven
With reference to Fig. 7, it illustrates in a kind of browser of the present invention and display device carried out to designed element in webpage, specifically can comprise:
Browser host process module 710, and webpage scheduler module 720;
Described browser host process module 710 comprises:
Web page analysis module 711, described web page analysis module 711 comprises:
Network address matching module 7111, is suitable for for network address corresponding to current web page document, according to the network address matched rule built with regular expression and/or preset network address list, mates described network address; When network address matches, then judge that described web document is the particular webpage with designed element;
Notification module 712, if be suitable for for particular webpage, browser host process notice current web page process is for the designed element in webpage, according to preset filtering rule, described designed element is filtered, and notice current web page process goes to monitor the Action Events on the designed element in current web page;
Display module 713, is suitable for browser host process obtains corresponding designed element the second element according to described analysis result, and is loaded on by described second element in a window newly created and shows.
Described webpage scheduler module 720 comprises:
Filtering module 721, is suitable for current web page process for the designed element in webpage, filters according to preset filtering rule to described designed element;
Monitoring module 722, is suitable for current web page process and goes to monitor the Action Events on the designed element in current web page; If current web page process listens to the Action Events on designed element, then the designed element of current web page is analyzed, analysis result is returned to browser host process.
Embodiment eight
With reference to Fig. 8, it illustrates the structural representation in a kind of browser of the present invention, picture element in webpage being carried out to display device, specifically can comprise:
Browser host process module 810, and webpage scheduler module 820;
Described browser host process module 810 comprises:
Web page analysis module 811, is suitable for the network address of browser host process to current web page and analyzes, and judges whether described network address is particular webpage;
Notification module 812, if be suitable for for particular webpage, browser host process notice current web page process is monitoring the mouse hover event on the picture element in current web page;
Display module 813, is suitable for browser host process obtains corresponding picture element second picture according to described analysis result, and is loaded on by described second picture in a window newly created and shows.
Described webpage scheduler module 820 comprises:
Monitoring module 821, is suitable for current web page process and is monitoring the mouse hover event on the picture element in current web page; If listen to the mouse hover event on picture element, then the picture element of current web page is analyzed, analysis result is returned to browser host process.
Embodiment nine
With reference to Fig. 9, it illustrates the structural representation in a kind of browser of the present invention, picture element in webpage being carried out to display device, specifically can comprise:
Browser host process module 910, and webpage scheduler module 920;
Described browser host process module 910 comprises:
Network address matching module 911, described network address matching module 911 comprises:
Main website matching module 9111, is suitable for the main website network address matched rule according to building with regular expression, judges that whether described network address is the network address of predetermined main website;
Matching module 9112 in standing, if be suitable for the network address that described network address is predetermined main website, then according to network address matched rule in the station built with regular expression, judges that whether webpage corresponding to described network address be the particular webpage with picture element.
Notification module 912, if be suitable for for particular webpage, browser host process notice current web page process, for the picture element in webpage, is filtered described picture element according to preset filtering rule, and is notified to monitor the mouse hover event on the picture element in current web page;
Display module 913, is suitable for browser host process obtains corresponding picture element second picture according to described analysis result, and is loaded on by described second picture in a window newly created and shows.
Described webpage scheduler module 920 comprises:
Filtering module 921, is suitable for webpage process for the picture element in webpage, filters according to preset filtering rule to described picture element;
Monitoring module 922, is suitable for current web page process and is monitoring the mouse hover event on the picture element in current web page; If listen to the mouse hover event on picture element, then webpage process obtains the network address of corresponding first picture in described picture element, and the network address of described first picture is returned browser host process.
Preferably, described filtering module 921 comprises:
First filtering module, be suitable for when described designed element comprises picture element, webpage process judges whether described dimension of picture reaches first threshold; If do not reached, then monitor the mouse-over thing on described picture element; If do not reached, then do not monitor the mouse hover event on described picture element.
Preferably, described filtering module 921 comprises:
Described filtering module comprises:
Second filtering module, is suitable for when described designed element comprises picture element, and one or more being belonged to by described picture element in the picture element of the picture element of advertising node, the picture element of navigation bar node, non-text node filters.
Preferably, described monitoring module 922 comprises:
First picture website acquisition module, is suitable for obtaining the network address of corresponding first picture in described picture element;
Second picture website acquisition module, is suitable for carrying out matching regular expressions to the network address of described first picture, determines the network address of second picture, and the network address of described second picture is returned to browser host process.
Preferably, described display module 913 comprises:
Second picture acquisition module, is suitable for browser host process second picture according to the website, download of described second picture;
Picture presentation module, is suitable for browser host process and creates a window, and is loaded in described window by described second picture and shows.
Embodiment ten
With reference to Figure 10, it illustrates the structural representation in a kind of browser of the present invention, designed element in webpage being carried out to display device, specifically can comprise:
Browser host process module 1010, and webpage scheduler module 1020;
Described browser host process module 1010 comprises:
Web page analysis module 1011, is suitable for the network address of browser host process to current web page and analyzes, and judges whether described network address is particular webpage;
Notification module 1012, if be suitable for for particular webpage, browser host process notice current web page process monitors the delimitation operation in the document elements in current web page;
Display module 1013, is suitable for browser host process according to described document content, obtains the document content after amplifying, and is loaded on by the document content after described amplification in a window newly created and shows.
Described webpage scheduler module 1020 comprises:
Monitoring module 1021, is suitable for the delimitation operation in the document elements in front webpage process monitoring current web page; If listen to the delimitation operation in the document elements in current web page;
Extraction module 1022, is suitable for current web page process and operates according to described delimitation, extracts the document content within the scope of defined area, and described document content is returned to browser host process.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of the some or all parts in the equipment in the browser that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention, designed element in webpage shown.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses a kind of method in A1, browser, designed element in webpage shown, comprising: the network address of browser host process to current web page is analyzed, judge whether described network address is particular webpage; If be particular webpage, browser host process notice current web page process goes to monitor the Action Events on the designed element in current web page; If current web page process listens to the Action Events on designed element, then the designed element of current web page is analyzed, analysis result is returned to browser host process; Browser host process obtains the second element of corresponding designed element according to described analysis result, and is loaded on by described second element in a window newly created and shows.
A2, method as described in A1, the network address of browser host process to current web page is analyzed, judge whether described network address is that particular webpage comprises: for the network address that current web page document is corresponding, according to the network address matched rule built with regular expression and/or preset network address list, described network address is mated; When network address matches, then judge that described web document is the particular webpage with designed element.
A3, method as described in A2, the network address matched rule that described basis builds with regular expression and/or preset network address list, described network address is mated, comprising: according to the main website network address matched rule built with regular expression, judge that whether described network address is the network address of predetermined main website; If described network address is the network address of predetermined main website, then according to network address matched rule in the station built with regular expression, judge that whether webpage corresponding to described network address be the particular webpage with designed element.
A4, method as described in A1, browser host process notice current web page process also comprises: for the designed element in webpage, filters according to preset filtering rule to described designed element before monitoring the Action Events on the designed element in current web page.
A5, method as described in A1, described designed element comprise picture element, video elementary, document elements wherein at least one.
A6, method as described in A5, when described designed element comprises picture element, described for the designed element in webpage, according to preset filtering rule, described designed element is filtered, comprising:
Webpage process judges whether described dimension of picture reaches first threshold; If do not reached, then monitor the Action Events on described designed element; If do not reached, then do not monitor the Action Events on described designed element.
A7, method as described in A5, when described designed element comprises picture element, the Action Events that current web page process is monitored on the designed element in current web page comprises: current web page process monitors the mouse hover event on the picture element in current web page.
A8, method as described in A5, when described designed element comprises picture element, described for the designed element in webpage, according to preset filtering rule, described designed element is filtered, comprising:
One or more being belonged to by described picture element in the picture element of the picture element of advertising node, the picture element of navigation bar node, non-text node filters.
A9, method as described in A7, if described current web page process listens to the Action Events on designed element, then the designed element of current web page is analyzed, analysis result is returned to browser host process and comprise: the network address obtaining corresponding first picture in described picture element; Matching regular expressions is carried out to the network address of described first picture, determines the network address of second picture, and the network address of described second picture is returned to browser host process.
A10, method as described in A9, described browser host process obtains the second element of corresponding designed element according to described analysis result, and is loaded on by described second element in a window newly created and shows and comprise: browser host process is second picture according to the website, download of described second picture; Browser host process creates a window, and is loaded in described window by described second picture and shows.
A11, method as described in A1, when described designed element comprises document elements, the Action Events that described current web page process is monitored on the designed element in current web page comprises:
Current web page process monitors the delimitation operation in the document elements in current web page.
A12, method as described in A11, if described current web page process listens to the Action Events on designed element, then the designed element of current web page is analyzed, analysis result is returned to browser host process to comprise: current web page process operates according to described delimitation, extract the document content within the scope of defined area, and described document content is returned to browser host process.
A13, method as described in A12, described browser host process obtains the second element of corresponding designed element according to described analysis result, and described second element is loaded in a window newly created and shows and comprise: browser host process is according to described document content, obtain the document content after amplifying, and the document content after described amplification is loaded in a window newly created and shows.
A14, method as described in A1, describedly comprise when browser host process new window: according to the size of the second element and the position of mouse, determine the position of created window.
A15, method as described in A1, also comprise: according to the movement of mouse above designed element, adjust the position of described window.
A16, method as described in A1, also comprise:
Load and show the functional interface for described designed element; Described functional interface comprises played in full screen interface and/or shares interface and/or saving interface and/or browser and arranges interface; Wherein, described played in full screen interface comprises the content of described designed element is carried out played in full screen; Described interface of sharing comprises the content of described designed element being sent to first terminal and/or the content of described designed element being shared and generates Quick Response Code to the 3rd website and/or for the content of described designed element; Described saving interface comprises to be preserved the content of described designed element.
The invention also discloses the device in B17, a kind of browser, designed element in webpage shown, comprising: web page analysis module, be suitable for the network address of browser host process to current web page and analyze, judge whether described network address is particular webpage; Notification module, if be suitable for for particular webpage, browser host process notice current web page process monitors the Action Events on the designed element in current web page; Monitoring module, is suitable for the Action Events on the designed element in current web page process monitoring current web page; When listening to the Action Events on designed element, then the designed element of current web page being analyzed, analysis result being returned to browser host process; Display module, is suitable for browser host process obtains corresponding designed element the second element according to described analysis result, and is loaded on by described second element in a window newly created and shows.
B18, device as described in B17, described web page analysis module comprises:
Network address matching module, is suitable for for network address corresponding to current web page document, according to the network address matched rule built with regular expression and/or preset network address list, mates described network address; When network address matches, then judge that described web document is the particular webpage with designed element.
B19, device as described in B18, described network address matching module comprises: main website matching module, is suitable for the main website network address matched rule according to building with regular expression, judges that whether described network address is the network address of predetermined main website; Matching module in standing, if be suitable for the network address that described network address is predetermined main website, then according to network address matched rule in the station built with regular expression, judges that whether webpage corresponding to described network address be the particular webpage with designed element.
B20, device as described in B17, also comprise: the first notification module, before being suitable for the Action Events on the designed element in browser host process notice current web page process monitoring current web page, for the designed element in webpage, according to preset filtering rule, described designed element is filtered; Accordingly, described monitoring module also comprises: filtering module, before being suitable for monitoring the Action Events on the designed element in current web page in current web page process, for the designed element in webpage, filters described designed element according to preset filtering rule.
B21, device as described in B20, described designed element comprise picture element, video elementary, document elements wherein at least one.
B22, device as described in B21, described filtering module comprises:
First filtering module, be suitable for when described designed element comprises picture element, webpage process judges whether described dimension of picture reaches first threshold; If do not reached, then monitor the Action Events on described designed element; If do not reached, then do not monitor the Action Events on described designed element.
B23, device as described in B21, described monitoring module comprises:
Picture element monitoring module, is suitable for when described designed element comprises picture element, and current web page process monitors the mouse hover event on the picture element in current web page.
B24, device as described in B21, described filtering module comprises:
Second filtering module, is suitable for when described designed element comprises picture element, and one or more being belonged to by described picture element in the picture element of the picture element of advertising node, the picture element of navigation bar node, non-text node filters.
B25, device as described in B23, described monitoring module comprises: the first picture website acquisition module, is suitable for obtaining the network address of corresponding first picture in described picture element; Second picture website acquisition module, is suitable for carrying out matching regular expressions to the network address of described first picture, determines the network address of second picture, and the network address of described second picture is returned to browser host process.
B26, method as described in B25, described display module comprises: second picture acquisition module, is suitable for browser host process second picture according to the website, download of described second picture; Picture presentation module, is suitable for browser host process and creates a window, and is loaded in described window by described second picture and shows.
B27, device as described in B17, described monitoring module comprises: document elements monitoring module, is suitable for the delimitation operation in document elements that current web page process monitors in current web page.
B28, device as described in B27, described monitoring module comprises:
Module delimited by document, be suitable for current web page process and operate according to described delimitation, extracts the document content within the scope of defined area, and described document content is returned to browser host process.
B29, device as described in B28, described display module comprises:
Document display module, is suitable for browser host process according to described document content, obtains the document content after amplifying, and is loaded on by the document content after described amplification in a window newly created and shows.
B30, device as described in B17, described display module comprises: the window's position determination module, is suitable for, when browser host process new window, according to the size of the second element and the position of mouse, determining the position of created window.
B31, device as described in B17, also comprise: window mobile module, be suitable for, according to the movement of mouse above designed element, adjusting the position of described window.
B32, device as described in B17, also comprise:
Interface display module, is suitable for loading and shows the functional interface for described designed element; Described functional interface comprises played in full screen interface and/or shares interface and/or saving interface and/or browser and arranges interface; Wherein, described played in full screen interface comprises the content of described designed element is carried out played in full screen; Described interface of sharing comprises the content of described designed element being sent to first terminal and/or the content of described designed element being shared and generates Quick Response Code to the 3rd website and/or for the content of described designed element; Described saving interface comprises to be preserved the content of described designed element.

Claims (10)

1. in browser to the method that designed element in webpage shows, comprising:
The network address of browser host process to current web page is analyzed, and judges whether described network address is particular webpage;
If be particular webpage, browser host process notice current web page process goes to monitor the Action Events on the designed element in current web page;
If current web page process listens to the Action Events on designed element, then the designed element of current web page is analyzed, analysis result is returned to browser host process;
Browser host process obtains the second element of corresponding designed element according to described analysis result, and is loaded on by described second element in a window newly created and shows.
2. the method for claim 1, is characterized in that, the network address of browser host process to current web page is analyzed, and judges whether described network address is that particular webpage comprises:
For the network address that current web page document is corresponding, according to the network address matched rule built with regular expression and/or preset network address list, described network address is mated; When network address matches, then judge that described web document is the particular webpage with designed element.
3. method as claimed in claim 2, is characterized in that, the network address matched rule that described basis builds with regular expression and/or preset network address list, mates, comprising described network address:
According to the main website network address matched rule built with regular expression, judge that whether described network address is the network address of predetermined main website;
If described network address is the network address of predetermined main website, then according to network address matched rule in the station built with regular expression, judge that whether webpage corresponding to described network address be the particular webpage with designed element.
4. the method for claim 1, is characterized in that, browser host process notice current web page process also comprises before monitoring the Action Events on the designed element in current web page:
For the designed element in webpage, according to preset filtering rule, described designed element is filtered.
5. the method for claim 1, is characterized in that, described designed element comprise picture element, video elementary, document elements wherein at least one.
6. method as claimed in claim 5, is characterized in that, when described designed element comprises picture element, described for the designed element in webpage, filters, comprising according to preset filtering rule to described designed element:
Webpage process judges whether described dimension of picture reaches first threshold; If do not reached, then monitor the Action Events on described designed element; If do not reached, then do not monitor the Action Events on described designed element.
7. method as claimed in claim 5, is characterized in that, when described designed element comprises picture element, the Action Events that current web page process is monitored on the designed element in current web page comprises:
Current web page process monitors the mouse hover event on the picture element in current web page.
8. method as claimed in claim 5, is characterized in that, when described designed element comprises picture element, described for the designed element in webpage, filters, comprising according to preset filtering rule to described designed element:
One or more being belonged to by described picture element in the picture element of the picture element of advertising node, the picture element of navigation bar node, non-text node filters.
9. method as claimed in claim 7, is characterized in that, if described current web page process listens to the Action Events on designed element, then analyze the designed element of current web page, analysis result is returned to browser host process and comprise:
Obtain the network address of corresponding first picture in described picture element;
Matching regular expressions is carried out to the network address of described first picture, determines the network address of second picture, and the network address of described second picture is returned to browser host process.
10. in browser to the device that designed element in webpage shows, comprising:
Web page analysis module, is suitable for the network address of browser host process to current web page and analyzes, and judges whether described network address is particular webpage;
Notification module, if be suitable for for particular webpage, browser host process notice current web page process monitors the Action Events on the designed element in current web page;
Monitoring module, is suitable for the Action Events on the designed element in current web page process monitoring current web page; When listening to the Action Events on designed element, then the designed element of current web page being analyzed, analysis result being returned to browser host process;
Display module, is suitable for browser host process obtains corresponding designed element the second element according to described analysis result, and is loaded on by described second element in a window newly created and shows.
CN201410643594.8A 2014-11-07 2014-11-07 Method and device for displaying specified element in web page in browser Pending CN104361082A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410643594.8A CN104361082A (en) 2014-11-07 2014-11-07 Method and device for displaying specified element in web page in browser
PCT/CN2015/093603 WO2016070770A1 (en) 2014-11-07 2015-11-02 Web page picture display method and device in browser, and web page specific element display method and device in browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410643594.8A CN104361082A (en) 2014-11-07 2014-11-07 Method and device for displaying specified element in web page in browser

Publications (1)

Publication Number Publication Date
CN104361082A true CN104361082A (en) 2015-02-18

Family

ID=52528342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410643594.8A Pending CN104361082A (en) 2014-11-07 2014-11-07 Method and device for displaying specified element in web page in browser

Country Status (1)

Country Link
CN (1) CN104361082A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750863A (en) * 2015-04-16 2015-07-01 车智互联(北京)科技有限公司 Method and system for automatically examining webpage graphics size
CN104899287A (en) * 2015-06-04 2015-09-09 百度在线网络技术(北京)有限公司 Webpage display method and device
WO2016070770A1 (en) * 2014-11-07 2016-05-12 北京奇虎科技有限公司 Web page picture display method and device in browser, and web page specific element display method and device in browser
CN105912201A (en) * 2016-04-05 2016-08-31 苏州奇展信息科技有限公司 Online consultation method for online training platform
CN106155455A (en) * 2015-03-30 2016-11-23 阿里巴巴集团控股有限公司 The control method of object and device in interface
CN106326316A (en) * 2015-07-08 2017-01-11 腾讯科技(深圳)有限公司 Web page advertisement filtering method and device
CN106406998A (en) * 2016-09-28 2017-02-15 北京奇虎科技有限公司 Method and device for processing user interface
CN106844454A (en) * 2016-12-19 2017-06-13 北京东方车云信息技术有限公司 A kind of page display method, device and electronic equipment
CN107391698A (en) * 2017-07-27 2017-11-24 杭州登虹科技有限公司 A kind of method, apparatus, medium and the computing device of Dynamic Announce webpage
CN107705347A (en) * 2017-09-12 2018-02-16 方家齐 One Trademark design accessory system
CN111026860A (en) * 2019-11-20 2020-04-17 中车青岛四方机车车辆股份有限公司 Method for displaying electronic document and browser plug-in
WO2020078207A1 (en) * 2018-10-18 2020-04-23 杭州海康威视数字技术股份有限公司 Video playing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916900A (en) * 2006-08-30 2007-02-21 田园 Method of browsing web page
WO2011009019A2 (en) * 2009-07-16 2011-01-20 Benevoltek, Inc. Improved web page hot spots
CN102197360A (en) * 2008-10-27 2011-09-21 夏普株式会社 Display device, and portable terminal
CN102968474A (en) * 2012-11-15 2013-03-13 广东欧珀移动通信有限公司 Method for displaying webpage browsed by mobile communication device
CN104063673A (en) * 2014-06-20 2014-09-24 北京奇虎科技有限公司 Method for inputting information in browser and browser device
CN104077387A (en) * 2014-06-27 2014-10-01 北京奇虎科技有限公司 Webpage content display method and browser device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916900A (en) * 2006-08-30 2007-02-21 田园 Method of browsing web page
CN102197360A (en) * 2008-10-27 2011-09-21 夏普株式会社 Display device, and portable terminal
WO2011009019A2 (en) * 2009-07-16 2011-01-20 Benevoltek, Inc. Improved web page hot spots
CN102968474A (en) * 2012-11-15 2013-03-13 广东欧珀移动通信有限公司 Method for displaying webpage browsed by mobile communication device
CN104063673A (en) * 2014-06-20 2014-09-24 北京奇虎科技有限公司 Method for inputting information in browser and browser device
CN104077387A (en) * 2014-06-27 2014-10-01 北京奇虎科技有限公司 Webpage content display method and browser device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016070770A1 (en) * 2014-11-07 2016-05-12 北京奇虎科技有限公司 Web page picture display method and device in browser, and web page specific element display method and device in browser
CN106155455B (en) * 2015-03-30 2020-03-03 阿里巴巴集团控股有限公司 Method and device for controlling objects in interface
CN106155455A (en) * 2015-03-30 2016-11-23 阿里巴巴集团控股有限公司 The control method of object and device in interface
CN104750863B (en) * 2015-04-16 2017-10-17 车智互联(北京)科技有限公司 A kind of Web page picture size automatic check method and system
CN104750863A (en) * 2015-04-16 2015-07-01 车智互联(北京)科技有限公司 Method and system for automatically examining webpage graphics size
CN104899287B (en) * 2015-06-04 2019-04-19 百度在线网络技术(北京)有限公司 The display methods and device of webpage
CN104899287A (en) * 2015-06-04 2015-09-09 百度在线网络技术(北京)有限公司 Webpage display method and device
CN106326316B (en) * 2015-07-08 2022-11-29 腾讯科技(深圳)有限公司 Webpage advertisement filtering method and device
CN106326316A (en) * 2015-07-08 2017-01-11 腾讯科技(深圳)有限公司 Web page advertisement filtering method and device
CN105912201A (en) * 2016-04-05 2016-08-31 苏州奇展信息科技有限公司 Online consultation method for online training platform
CN106406998A (en) * 2016-09-28 2017-02-15 北京奇虎科技有限公司 Method and device for processing user interface
CN106844454A (en) * 2016-12-19 2017-06-13 北京东方车云信息技术有限公司 A kind of page display method, device and electronic equipment
CN107391698A (en) * 2017-07-27 2017-11-24 杭州登虹科技有限公司 A kind of method, apparatus, medium and the computing device of Dynamic Announce webpage
CN107705347A (en) * 2017-09-12 2018-02-16 方家齐 One Trademark design accessory system
WO2020078207A1 (en) * 2018-10-18 2020-04-23 杭州海康威视数字技术股份有限公司 Video playing method and device
US11800199B2 (en) 2018-10-18 2023-10-24 Hangzhou Hikvision Digital Technology Co., Ltd. Video playing method and apparatus
CN111026860A (en) * 2019-11-20 2020-04-17 中车青岛四方机车车辆股份有限公司 Method for displaying electronic document and browser plug-in

Similar Documents

Publication Publication Date Title
CN104361082A (en) Method and device for displaying specified element in web page in browser
CN104360882A (en) Method and device for displaying images in web page in browser
US10146421B1 (en) Online information system with per-document selectable items
CN104077387B (en) A kind of web page contents display methods and browser device
CN104426925B (en) Web page resources acquisition methods and device
CN103853417A (en) Rolling and pagination display method and device for network dynamic picture
CN103544272A (en) Method and device for displaying pictures in browser
CN104021016A (en) Method and browser for loading browser plug-in icons
CN113190781A (en) Page layout method, device, equipment and storage medium
CN111428162A (en) Page screenshot method and device
CN102819556B (en) Method and device for viewing pictures
CN110019037A (en) A kind of pdf document methods of exhibiting, device, equipment and storage medium
CN113792208B (en) Picture interaction method, device, equipment, medium and program product based on webpage
US20110197133A1 (en) Methods and apparatuses for identifying and monitoring information in electronic documents over a network
CN109240756A (en) A kind of method and device of dynamically load JavaScript module
CN105224611A (en) Based on the operation processing method of browser, device and browser
CN104777960A (en) Method and device for realizing composite object marquee capable of being triggered segmentally
CN110866208A (en) Responsive layout method, device and equipment for page
CN107329981B (en) Page detection method and device
CN103544271A (en) Picture processing window loading method and device for browsers
US9858246B1 (en) Determining and generating a number of images meeting particular size ranges and selecting an image for display in a placeholder of a network document
CN105224652A (en) A kind of information recommendation method based on video and electronic equipment
KR101596793B1 (en) Responsive news web service system and Real-time news posting method using the same
CN110321506A (en) Webpage data loading method, device, computer equipment and storage medium
US11843679B2 (en) Automated dependency management based on page components

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150218