CN112925703A - Method, device, equipment and storage medium for detecting browser supported by website - Google Patents

Method, device, equipment and storage medium for detecting browser supported by website Download PDF

Info

Publication number
CN112925703A
CN112925703A CN202110104976.3A CN202110104976A CN112925703A CN 112925703 A CN112925703 A CN 112925703A CN 202110104976 A CN202110104976 A CN 202110104976A CN 112925703 A CN112925703 A CN 112925703A
Authority
CN
China
Prior art keywords
browser
website
supported
dependent object
system dependent
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
CN202110104976.3A
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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110104976.3A priority Critical patent/CN112925703A/en
Publication of CN112925703A publication Critical patent/CN112925703A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The disclosure provides a method, a device, equipment and a storage medium for detecting a browser supported by a website, wherein the website corresponds to at least one system dependent object, and a webpage displayed on the browser supporting the at least one system dependent object by the website has a preset display effect, so that a process of determining the browser supported by the website is a process of determining whether the browser supports the at least one system dependent object; at least one first browser supporting at least the at least one system dependent object may be determined based on the system dependent objects and the at least one system dependent object supported by the browsers, the first browser being supported by the website because the first browser supports the at least one system dependent object. According to the method and the device, the website can be determined to be compatible with which browsers without manual operation, labor cost can be effectively saved, each webpage in the website does not need to be opened and detected, and time is saved.

Description

Method, device, equipment and storage medium for detecting browser supported by website
Technical Field
The present disclosure relates to the field of internet testing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting a browser supported by a website.
Background
At present, more and more users browse web pages through various favorite browsers. Due to the wide variety of browsers, a web page must be compatible with multiple browsers to ensure that the web page has the same display effect, e.g., appearance, in different browsers.
In the related art, a method for detecting a browser supported by a website includes: and for each browser to be tested, accessing the hyperlink in the website by using the browser to be tested to obtain interactive information, wherein the interactive information comprises the content of the webpage after the hyperlink is opened, and determining whether the webpage opened by the browser can be normally displayed by a tester, for example, whether the webpage opened by the browser is consistent with a webpage display interface opened by a standard browser or not so as to determine whether the browser to be tested is compatible with the website or not.
At present, the method for detecting the compatibility of the website with the browser has high labor cost and long time consumption.
Disclosure of Invention
The present disclosure provides a method, an apparatus, a device, and a storage medium for detecting a browser supported by a website, so as to at least solve the problems of higher labor cost and longer time consumption of a method for detecting a website compatible browser in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for detecting a browser supported by a website, including: acquiring at least one system dependent object corresponding to the website, wherein a webpage displayed on a browser supporting the at least one system dependent object by the website has a preset display effect; determining at least one first browser based on the system dependent objects supported by the browsers respectively and the at least one system dependent object, wherein the first browser at least supports the at least one system dependent object; determining that the website supports the at least one first browser. .
With reference to the first aspect, in a first possible implementation manner, the obtaining at least one system dependent object corresponding to the website includes:
acquiring each resource object corresponding to the website;
and for any one resource object in the resource objects, if the preset system dependent object comprises the resource object, determining the resource object as the system dependent object corresponding to the website.
With reference to the first aspect, in a second possible implementation manner, the determining at least one first browser based on the system-dependent objects and the at least one system-dependent object respectively supported by the browsers includes:
setting a first identifier for a browser supporting the system dependent object and a second identifier for at least one browser not supporting the system dependent object based on each system dependent object respectively supported by each browser for each system dependent object corresponding to the website;
determining a browser provided with the same number of the first identifiers as the at least one system-dependent object as the first browser.
With reference to the first aspect, in a third possible implementation manner, the determining at least one first browser based on the system-dependent objects and the at least one system-dependent object that are respectively supported by the browsers includes:
for each system dependent object corresponding to the website, determining at least one browser supporting the system dependent object corresponding to the website based on each system dependent object supported by each browser respectively;
and determining a browser supporting the system dependent object corresponding to each website as the first browser.
With reference to the first aspect, in a fourth possible implementation manner, the method further includes:
determining at least one second browser based on the system dependent objects respectively supported by the browsers and the at least one system dependent object, wherein the second browser does not support one or more target system dependent objects in the at least one system dependent object.
With reference to the first aspect, in a fifth possible implementation manner, the method further includes:
and displaying the target system dependent objects which are not supported by the second browser and correspond to the second browsers.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for detecting a browser supported by a website, including: the acquisition module is configured to acquire at least one system dependent object corresponding to the website, and the website has a preset display effect on a webpage displayed on a browser supporting the at least one system dependent object; a first determining module, configured to determine at least one first browser based on each system-dependent object supported by each browser and the at least one system-dependent object obtained by the obtaining module, where the first browser at least supports the at least one system-dependent object; a second determination module configured to determine that the website supports the at least one first browser.
With reference to the second aspect, in a first possible implementation manner, the obtaining module is specifically configured to:
a first acquisition unit configured to acquire resource objects corresponding to the website;
a first determining unit, configured to determine, for any one of the resource objects obtained by the first obtaining unit, that the resource object is a system dependent object corresponding to the website if each preset system dependent object includes the resource object.
With reference to the second aspect, in a second possible implementation manner, the first determining module is specifically configured to:
the setting unit is configured to set a first identifier for a browser supporting the system dependent object and a second identifier for at least one browser not supporting the system dependent object based on each system dependent object respectively supported by each browser for each system dependent object corresponding to the website;
a second determination unit configured to determine a browser provided with the same number of the first identifiers as the at least one system-dependent object as the first browser.
With reference to the second aspect, in a third possible implementation manner, the first determining module is specifically configured to:
a third determining unit, configured to determine, for each system-dependent object corresponding to the website, at least one browser that supports the system-dependent object corresponding to the website based on each system-dependent object that is supported by each browser, respectively;
a fourth determining unit configured to determine, as the first browser, a browser that supports a system dependent object corresponding to each of the websites.
With reference to the second aspect, in a fourth possible implementation manner, the method further includes:
a third determining module configured to determine at least one second browser based on the system-dependent objects and the at least one system-dependent object respectively supported by the browsers, the second browser not supporting one or more target system-dependent objects of the at least one system-dependent object.
With reference to the second aspect, in a fifth possible implementation manner, the method further includes:
and the display module is configured to display the target system dependent objects which are not supported by the second browsers and correspond to the second browsers.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of detecting web site supported browsers according to the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method of detecting a browser supported by a website according to the first aspect.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, which is loadable into an internal memory of a computer, for example, a memory included in the electronic device according to the third aspect, and contains software codes, and which, when loaded and executed by the computer, is capable of implementing the method for detecting a browser supported by a website according to the first aspect.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer program/instruction which, when executed by a processor included in the electronic device shown in the third aspect, implements the method for detecting a browser supported by a website according to the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the method comprises the steps that a website corresponds to at least one system dependent object, a webpage displayed on a browser supporting the at least one system dependent object by the website has a preset display effect, and a webpage displayed on a browser not supporting any system dependent object in the at least one system dependent object by the website does not have the preset display effect, so that the process of determining the browser supported by the website is a process of determining whether the browser supports the at least one system dependent object or not; the system dependent objects supported by the browsers can be obtained in advance, and then at least one first browser supporting at least the at least one system dependent object is determined based on the system dependent objects supported by the browsers and the at least one system dependent object, and the first browser is supported by the website because the first browser supports the at least one system dependent object. According to the method and the device, the website can be determined to be compatible with which browsers without manual operation, labor cost can be effectively saved, each webpage in the website does not need to be opened and detected, and time is saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is an architectural diagram of an implementation environment shown in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of detecting web site supported browsers in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram of a presentation interface shown in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating an apparatus for detecting web site supported browsers in accordance with an illustrative embodiment;
FIG. 5 is a block diagram illustrating a method for an electronic device according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the disclosure provides a method and a device for detecting a browser supported by a website, an electronic device and a storage medium.
First, an application scenario related to the embodiment of the present disclosure is described.
The technical scheme provided by the embodiment of the disclosure can be applied to various application scenarios, and the embodiment of the disclosure provides, but is not limited to, the following three application scenarios.
In the first application scenario, when a development engineer adds a new function to a website, it is necessary to determine each browser that the website is already compatible with/supports.
If a new function is added to the website, the method provided by the embodiment of the disclosure may be used to detect which browsers the website has been compatible with/supports, so as to guide a development engineer to write program codes using a system dependent object commonly supported by the browsers compatible with/supported by the website when writing the program codes corresponding to the new function, so that each browser is compatible with/supports the new function of the website. The new function cannot be added to the website, so that the website is not compatible with/does not support the browser which can be compatible/supported before the new function is not added.
For example, if the browsers compatible with/supported by the website include chrome browser, firefox browser, Opera browser, Safri browser, and IE8 browser, after adding new functions to the website, the browsers compatible with/supported by the website should also include chrome browser, firefox browser, Opera browser, Safri browser, and IE8 browser.
The situation that the website does not support one or more browsers which can be compatible before is avoided as much as possible after new functions are added in the website, for example, a firefox browser and an Opera browser.
In the second application scenario, before a development engineer adds a new function to a website, the method provided in the embodiment of the present disclosure may be used to detect each browser that is already compatible with/supported by the website, and after the development engineer adds the new function to the website, the method provided in the embodiment of the present disclosure may be used to detect each browser that is currently compatible with/supported by the website.
In a third application scenario, more and more users browse webpages through various favorite browsers, and in order to meet the requirements of the users, a website is required to be compatible with/support multiple browsers. Before a website is enabled to be compatible with/support various browsers, which browsers are compatible with/supported by the website and which browsers are incompatible with/not supported by the website can be detected by using the method provided by the embodiment of the disclosure, so that compatibility processing can be performed as required.
Next, an implementation environment related to the embodiments of the present disclosure will be described.
Fig. 1 is an architecture diagram illustrating an implementation environment to which the following method of detecting web-site-supported browsers can be applied, according to an exemplary embodiment, including: electronic device 11, first database 12, and second database 13.
For example, the electronic device may be any electronic product that can interact with a user through one or more ways such as a keyboard, a touch pad, a touch screen, a remote controller, a voice interaction device, or a handwriting device, for example, a mobile phone, a tablet computer, a palm computer, a personal computer, a wearable device, a smart television, and the like.
The electronic device may be, for example, one server, a server cluster composed of a plurality of servers, or a cloud computing service center. The server may include a processor, memory, and a network interface, among others.
For example, the first database 12 may be located in the electronic device 11, or may be independent from the electronic device 11; the second database 12 may be located in the electronic device 11 or may be independent of the electronic device 11.
Illustratively, the electronic device 11 may establish a connection and communicate with the first database 12 and the second database 13, respectively, via a wired network or a wireless network.
The inventor researches to find that the principle of website compatibility/browser support for each browser is as follows: one or more system dependent objects corresponding to the website are supported by the browser. The browser supporting the system dependent object refers to that when the system dependent object is executed in the program running process of a website, a realization method corresponding to the system dependent object supported by the browser can be called through the browser, if the browser can be successfully called, the browser is considered to support the system dependent object, and if the browser cannot be successfully called, the browser is considered to not support the system dependent object. I.e. the programs of the web site can run normally through the browser.
Illustratively, the system dependent object may be a browser-defined variable or a function corresponding to an implementation method of the browser package, for example, a browser-defined global variable, a constructor of a basic data type, an Inter Section Observer API, object.
Illustratively, a "function corresponding to an implementation method of a browser package" may be referred to as a native function.
The following description will take the system dependent object as object.
Assume that the program of the website includes a system dependent object of object. If the browser a opens the hyperlink of the website, during the program running of the website, if the object.defineProperty () is executed, the program of the website calls the implementation method corresponding to the object.defineProperty () through the browser a, and since the browser a does not encapsulate the implementation method of the object.defineProperty (), the object.defineProperty () cannot be executed, so that the corresponding function of the object.defineProperty () cannot be implemented, and the website cannot present the corresponding display effect in the browser a, that is, the website is incompatible/non-supporting with the browser a.
The first database 12 stores system-dependent objects supported by browsers, respectively.
The second database 13 stores each system-dependent object.
For example, the first database 12 and the second database 13 may be the same database, or different databases.
If the first database 12 and the second database 13 are different databases, the second database 13 may store the system-dependent objects without storing which browsers support which system-dependent objects.
The electronic device 11 may determine which resource objects of the resource objects corresponding to the website are system-dependent objects by using the second database 13. Illustratively, the intersection of each resource object with the second database 12 is at least one system-dependent object corresponding to the website.
The electronic device 11 may determine at least one first browser supported by the website by using the first database 12 and at least one system-dependent object included in each resource object corresponding to the website.
Illustratively, the first database 12 stores the type names of browsers, and the type name of a browser includes the name of the browser and the version of the browser.
Each browser includes but is not limited to: chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser, IE9 browser, IE10 browser, and IE11 browser.
Illustratively, browsers with the same name but different versions in the first database are different browsers, e.g., IE8, IE9, IE10, IE11 are different browsers.
For example, there are various ways for each browser to obtain the system-dependent objects supported by the browser, and the embodiments of the present disclosure provide, but are not limited to, the following two.
The first implementation mode comprises the following steps: system dependent objects supported by a browser published on a network are gathered.
The second implementation mode comprises the following steps: program code is written to detect system dependent objects supported by the browser.
Taking a Chrome browser as an example, for the following description, exemplary detecting program codes for detecting each system dependent object supported by the Chrome browser may be as follows:
Figure BDA0002917015960000071
for example, the detection program code may be different for different browsers.
The contents of the first database may be supplemented by both implementations described above.
It will be understood by those skilled in the art that the foregoing electronic devices and databases are merely examples, and that other electronic devices or databases, now existing or later that may appear, may be suitable for use with the present disclosure, and are intended to be included within the scope of the present disclosure and are hereby incorporated by reference.
The following describes a method for detecting a browser supported by a website according to an embodiment of the present disclosure with reference to the accompanying drawings.
Fig. 2 is a flowchart illustrating a method for detecting web site supported browsers applied to the electronic device 11 according to an exemplary embodiment, and the method includes the following steps S21 to S23.
In step S21, at least one system dependent object corresponding to the website is obtained, and a webpage presented on a browser supporting the at least one system dependent object by the website has a preset display effect.
The problem that the website supports the browser means that the display effect of the web page of the website on various browsers may be inconsistent, so that the compatibility problem between the browser and the web page is generated. In the design and manufacture of the website, the compatibility of browsers is well made, and the website can be normally displayed under different browsers. In the embodiment of the disclosure, the normal display effect of the website under different browsers compatible with the website is referred to as a preset display effect.
For example, when a system dependent object is executed, the browser calls an implementation method supported by the browser and corresponding to the system dependent object.
Illustratively, the system dependent object is a variable or a function, and if the system dependent object is a function, the implementation method corresponding to the function is an implementation program code corresponding to the function. The browser encapsulates the implementation program code corresponding to the function.
The encapsulation of the function means that one or more functions are encapsulated in a function and class mode, and only one function name is provided for the outside. If the development engineer needs to execute the same function in the process of writing the program of the website, the development engineer does not need to write the same function, and can write only the function name corresponding to the function.
If the system dependent object is a variable, the implementation method corresponding to the variable is the meaning of the variable defined by the browser.
In step S22, at least one first browser is determined based on the system-dependent objects and the at least one system-dependent object respectively supported by the browsers, and the first browser at least supports the at least one system-dependent object.
For example, at least one first browser supporting at least the at least one system dependent object may be determined from the system dependent objects respectively supported by the browsers stored in the first database.
In an optional implementation manner, the electronic device 11 runs a program of a website, and obtains the at least one system dependent object corresponding to the website.
In an optional implementation manner, the other device runs the program of the website, obtains the at least one system dependent object corresponding to the website, and sends the at least one system dependent object to the electronic device 11, that is, the electronic device 11 may receive the at least one system dependent object from the other device.
For example, the program may be a js (javascript) program.
It is understood that the program may involve multiple phases during execution, for example, the JS program involves a compile phase and an execute phase during execution, and the at least one system dependent object is obtained during the compile phase of the program.
Exemplary step S21 specifically includes the following steps S211 to S214.
In step S211, a plurality of character strings included in the program are divided into at least one lexical unit.
Illustratively, the compilation stage includes lexical analysis for segmenting a character string in a program (e.g., a JS program) into meaningful lexical units, such as dividing the character string var a ═ 1 into the following four lexical units: var, a ═ 1.
In step S212, the AST tree is converted based on at least one lexical unit corresponding to each character string.
Illustratively, the syntax analysis is used to convert at least one lexical unit corresponding to each of the character strings into an Abstract Syntax Tree (AST).
In step S213, the nodes included in the AST tree are converted into nodes corresponding to the preset standard, so as to obtain a converted AST tree.
Illustratively, the AST tree includes nodes written using the first standard, the nodes being variables or functions.
Illustratively, the browser cannot interpret code written using the ES6 standard, and the browser can interpret code written using the ES5 standard. Then the first standard is the ES (ecmascript)6 standard and the predetermined standard is the ES5 standard.
For example, if a node in the AST tree is a let or const (the let or const is code written using the ES6 standard), the let or const may be converted into a var (code written using the ES5 standard).
In step S214, a basic code is generated based on the converted AST, and the at least one system-dependent object is obtained from the basic code.
Illustratively, the implementation of generating the basic code based on the converted AST is as follows: traversing the converted AST, a character string that can represent the converted code is constructed to obtain the basic code.
In step S23, it is determined that the website supports the at least one first browser.
Illustratively, after the step S23, the method may further include the steps of: and displaying the type name of the at least one first browser.
Illustratively, the type name of a browser includes the name of the browser and a version number, e.g., the type name IE 9.
In the method for detecting a browser supported by a website, a website corresponds to at least one system-dependent object, a webpage presented by the website on the browser supporting the at least one system-dependent object has a preset display effect, and a webpage presented by the website on the browser not supporting any system-dependent object in the at least one system-dependent object does not have the preset display effect, so that a process of determining the browser supported by the website is a process of determining whether the browser supports the at least one system-dependent object; the system dependent objects supported by the browsers can be obtained in advance, and then at least one first browser supporting at least the at least one system dependent object is determined based on the system dependent objects supported by the browsers and the at least one system dependent object, and the first browser is supported by the website because the first browser supports the at least one system dependent object. According to the method and the device, the website can be determined to be compatible with which browsers without manual operation, labor cost can be effectively saved, each webpage in the website does not need to be opened and detected, and time is saved.
There are various implementations of step S21 in the embodiments of the present disclosure, and the embodiments of the present disclosure provide, but are not limited to, the following two methods.
A first implementation, which includes the following steps a 11-a 12 in implementation.
In step a11, resource objects corresponding to the website are acquired.
The resource objects are the basis for the website presentation on the browser. And realizing the function of presenting the website on the browser by operating each resource object corresponding to the website.
Illustratively, a resource object is a variable or function.
Illustratively, the implementation of step a11 may include steps S211 to S213 and "generating a basic code based on the converted AST, obtaining resource objects from the basic code".
It is understood that the basic code, such as the basic code mentioned in step S214 above, contains the resource objects obtained in step a11, and the resource objects may be system dependent objects or programmer-defined resource objects.
The customized resource object may be a function defined by a development engineer or a variable defined by the development engineer during the process of programming the website by a programmer. The programmer may customize a function or a variable in the program, and need to write an implementation method corresponding to the function or the variable, for example, the implementation method of the function a defined by the programmer may be as follows:
#include<stdio.h>
int main A()
{
printf("Hello World!\n");
}
since the programmer defines the implementation method of the function a in the program, when the function a is run, the function a can be run based on the implementation method written by the programmer. Namely, the implementation method of the customized resource object is included in the program, and the function corresponding to the resource object can be implemented by running the implementation method of the resource object included in the program.
The system dependent object may be an existing function or variable supported by a browser during the process of writing a program of a website by a programmer, and an implementation method of the system dependent object, such as functions of String (), Number (), etc., need not to be defined in the program, and the programmer may directly use the functions during the process of writing the program, but does not write the implementation method of the function, and the implementation methods of the functions may be stored in an existing function library, such as a dll (dynamic Link library).
When the program runs in the browser, if the program runs to the system dependent object, and if the browser supports the system dependent object, the implementation method of the program can be called from the corresponding function library, so that the function corresponding to the system dependent object can be implemented.
For the browsers, if the program includes the implementation method of the customized resource object, each browser supports the customized resource object. If the program does not comprise the implementation method of the system dependent object, if the browser does not support the system dependent object, the implementation method of the system dependent object cannot be operated, so that the function corresponding to the system object cannot be realized; if the browser supports the system dependent object, the implementation method of the system dependent object can be run, so that the corresponding function of the system object can be implemented.
In step a12, for any one of the resource objects, if the preset system dependent object includes the resource object, it is determined that the resource object is the system dependent object corresponding to the website.
Illustratively, step A12 may result in one or more system dependent objects.
For example, for any one of the resource objects, if each system dependent object stored in the second database includes the resource object, it is determined that the resource object is a system dependent object.
For example, for any one of the resource objects, if each system dependent object stored in the second database does not include the resource object, it is determined that the resource object is a self-defined resource object.
The second database 13 is configured to store a plurality of system dependent objects, and if each system dependent object stored in the second database includes the resource object, it indicates that the resource object is a system dependent object.
In a second implementation manner, the program written by the development engineer includes the at least one system dependent object corresponding to the website.
There are various implementations of step S22 in the embodiments of the present disclosure, and the embodiments of the present disclosure provide, but are not limited to, the following two methods.
In a first implementation, the method includes the following steps B11 through B12.
In step B11, for each system dependent object corresponding to the website, based on each system dependent object respectively supported by each browser, a first identifier is set for the browser supporting the system dependent object, and a second identifier is set for at least one browser not supporting the system dependent object.
For example, the first identifier may be any one or more characters, the second identifier may be any one or more characters, and the first identifier is different from the second identifier.
Illustratively, one character may be any one of a number, a letter, a special symbol, and a mathematical symbol.
Assume that the number of "at least one system dependent object" is five and is: inter Section Observer API, object. The type name of the browser included in the first database includes: chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser.
For the Inter Section Observer API, assume that the chrome browser, firefox browser, Opera browser, and Safri browser all support the Inter Section Observer API; respectively setting first identifications for a chrome browser, a firefox browser, an Opera browser and a Safri browser; the IE8 browser does not support the Intersection Observer API, and sets a second identifier for the IE8 browser.
For object, defineProperty (), it is assumed that the chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser all support the Intersection Observer API; and respectively setting a first identifier for a chrome browser, a firefox browser, an Opera browser, a Safri browser and an IE8 browser.
For promise.type.ultimate (), it is assumed that the chrome browser, firefox browser, Opera browser, and Safri browser all support promise.type.ultimate (); respectively setting first identifications for a chrome browser, a firefox browser, an Opera browser and a Safri browser; IE8 browser does not support promise.
From () it is assumed that the chrome browser, firefox browser, Opera browser, Safri browser all support from (); respectively setting first identifications for a chrome browser, a firefox browser, an Opera browser and a Safri browser; from () is not supported by IE8 browser, and the second identity is set to IE8 browser.
For new Set (), assume that the chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser all support new Set (); and respectively setting a first identifier for a chrome browser, a firefox browser, an Opera browser, a Safri browser and an IE8 browser.
In step B12, the browser provided with the same number of the first identifiers as the at least one system dependent object is determined to be the first browser.
Illustratively, step B12 may result in one or more first browsers.
Still taking the above example as an example, the "at least one system dependent object" includes five system dependent objects, and five first identifiers are respectively corresponding to the chrome browser, the firefox browser, the Opera browser and the Safri browser, so that the chrome browser, the firefox browser, the Opera browser and the Safri browser are respectively determined as the first browsers. For the IE8 browser, there are two first identities for one, which is determined to be the second browser.
In the embodiment of the present disclosure, the first browser refers to a browser compatible with a website, and the second browser refers to a browser incompatible with the website.
In a second implementation, the method includes the following steps B21 through B23.
In step B21, for each of the browsers, it is detected whether the system dependent objects supported by the browser include the at least one system dependent object, and if yes, step B22 is executed.
Illustratively, for each browser, traversing the system-dependent objects supported by the browser, determining whether the system-dependent objects supported by the browser include the at least one system-dependent object, if so, determining that the browser is a first browser, and if not, determining that the browser is a second browser.
In step B22, the browser is determined to be the first browser.
In a third implementation, the method includes the following steps B31 through B32.
In step B31, for each system-dependent object corresponding to the website, at least one browser that supports the system-dependent object corresponding to the website is determined based on the system-dependent objects supported by the browsers, respectively.
In step B32, at least one browser supporting the system dependent object corresponding to each website is determined as at least one first browser.
Illustratively, for each system dependent object corresponding to a website, a first browser set supporting the system dependent object is screened from browsers, and one first browser set comprises one or more browsers; obtaining a set of browsers with the same number as the at least one system-dependent object; and acquiring the intersection of the first browser sets, wherein the browsers contained in the intersection are the first browsers.
Suppose that the number of all system-dependent objects corresponding to a website is five, and they are respectively: inter Section Observer API, object. The type name of the browser included in the first database includes: chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser.
For the Inter Section Observer API, assume that the chrome browser, firefox browser, Opera browser, and Safri browser all support the Inter Section Observer API; then, the first set of browsers supporting the Intersection Observer API includes: chrome browser, firefox browser, Opera browser, Safri browser.
For object, defineProperty (), it is assumed that the chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser all support the Intersection Observer API; then, the first set of browsers supporting object. chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser.
For promise.type.ultimate (), it is assumed that the chrome browser, firefox browser, Opera browser, and Safri browser all support promise.type.ultimate (); then, the first set of browsers supporting promise. chrome browser, firefox browser, Opera browser, Safri browser.
From () it is assumed that the chrome browser, firefox browser, Opera browser, Safri browser all support from (); then, the first set of browsers supporting arm.from () includes: chrome browser, firefox browser, Opera browser, Safri browser.
For new Set (), assume that the chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser all support new Set (); then, the first Set of browsers supporting new Set () includes: chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser.
The intersection of the first Set of browsers supporting the Inter Section Observer API, the first Set of browsers supporting object. A chrome browser, a firefox browser, an Opera browser, and a Safri browser, and then the chrome browser, the firefox browser, the Opera browser, and the Safri browser are all first browsers.
It will be appreciated that it is sometimes desirable to extend a web site compatible browser, i.e. to rewrite the programs of the web site so that the web site may be compatible with a previously incompatible browser. When extending web site compatible browsers, it is necessary to determine which browsers the web site is incompatible with.
Based on this, the method for detecting a browser supported by a website provided by the embodiment of the present disclosure further includes the following step C11.
In step C11, at least one second browser is determined based on the system dependent objects respectively supported by the browsers and the at least one system dependent object, and the second browser does not support one or more target system dependent objects in the at least one system dependent object.
For example, there are various implementations of step C11, and the embodiments of the present disclosure provide, but are not limited to, the following two.
The first implementation includes step B11 and step C111.
Step B11 can be referred to above and will not be described here.
In step C111, at least one browser with less than the same number of the first identifiers as the at least one system-dependent object is set is determined as at least one of the second browsers.
Still taking the above example, the "at least one system dependent object" includes five system dependent objects. For the IE8 browser, there are two first identities for one, which is determined to be the second browser since 2 < 5.
The second implementation includes step B21 and step B23.
In step B21, for each browser in the browsers, detecting whether the system dependent objects supported by the browser include the at least one system dependent object, and if not, executing step B23.
Illustratively, for each browser, traversing the system-dependent objects supported by the browser, determining whether the system-dependent objects supported by the browser include the at least one system-dependent object, if so, determining that the browser is a first browser, and if not, determining that the browser is a second browser.
In step B23, the browser is determined to be a second browser.
In a third implementation, the method includes the following steps C21 to C22.
In step C21, for each system dependent object corresponding to the website, based on the system dependent objects respectively supported by the browsers, at least one browser that does not support the system dependent object is determined, so as to obtain at least one browser that does not support one or more target system dependent objects in the at least one system dependent object.
In step C22, at least one browser that does not support one or more target system dependent objects of the at least one system dependent object is determined to be at least one of the second browsers.
Illustratively, for each system dependent object corresponding to the website, a second browser set which does not support the system dependent object is screened from the browsers, and one second browser set comprises one or more browsers; obtaining a set of browsers with the same number as the at least one system-dependent object; and acquiring a union of the second browser sets, wherein the browser included in the union is the second browser.
Assume that the number of all system dependent objects corresponding to a website is five, and they are respectively: inter Section Observer API, object. The type name of the browser included in the first database includes: chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser.
For the Inter Section Observer API, assume that the IE8 browser does not support the Inter Section Observer API; then, the second set of browsers that do not support the Intersection Observer API includes: IE8 browser.
For object, defineProperty (), it is assumed that the chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser all support the Intersection Observer API; then, there is no second set of browsers that do not support object.
For promise.type.final (), the chrome browser does not support promise.type.final (); then, the second set of browsers that do not support promise. chrome browser.
For the arrow from (), it is assumed that the firefox browser does not support the arrow from (); then, the second set of browsers that do not support arrow. A firefox browser.
For new Set (), it is assumed that the chrome browser and the firefox browser do not support new Set (); then, the second Set of browsers that do not support new Set () include: chrome browser, firefox browser.
A union of the second browser Set that does not support the Inter Section Observer API, the second browser Set that does not support progress. IE8 browser, chrome browser, firefox browser, then IE8 browser, chrome browser, firefox browser are all the second browser.
It will be appreciated that in extending web site compatible browsers, it is necessary to determine which browsers the web site is incompatible with. For each browser, the reason why the browser is not compatible with the website needs to be determined in order to guide the development engineer in determining the method of compatible processing.
Based on this, the method for detecting a browser supported by a website provided by the embodiment of the present disclosure further includes: and displaying the target system dependent objects which are not supported by the second browsers and correspond to the second browsers.
Illustratively, the number of target system dependent objects that are not supported by a second browser may be one or more.
The development engineer can be guided to determine the compatible processing method because the development engineer can see the unsupported one or more target system dependent objects corresponding to the at least one second browser respectively.
For example, the manner of presenting one or more of the target system dependent objects which are not supported by the target system dependent objects corresponding to the at least one second browser may be presented in a table form or in a text form.
The following description will be given by taking a tabular form as an example. FIG. 3 is a schematic diagram of a presentation interface shown in accordance with an exemplary embodiment.
Assume that "at least one system dependent object" includes five system dependent objects, respectively: inter Section Observer API, object. The type name of each browser includes: chrome browser, firefox browser, Opera browser, Safri browser, IE8 browser.
FIG. 3 shows a schematic diagram of whether or not each browser supports each system dependent object.
Exemplarily, in fig. 3, support is represented by "√" and non-support is represented by "×". Illustratively, "√" shown in fig. 3 can be one representation of the first marker mentioned above, and "×" can be one representation of the second marker mentioned above.
Illustratively, the color of "√" is different from the color of "x," e.g., green for "√" and red for xx.
Illustratively, the color of "√" is the same as the color of "x".
As is apparent from fig. 3, since the chrome browser, the firefox browser, the Opera browser, and the Safri browser all support the at least one system-dependent object corresponding to the website, the website is compatible with the chrome browser, the firefox browser, the Opera browser, and the Safri browser, that is, the chrome browser, the firefox browser, the Opera browser, and the Safri browser are the first browser mentioned in the embodiments of the present disclosure.
As can be seen from fig. 3, the website is not compatible with the IE8 browser because the IE8 browser does not support three target system dependent objects, namely, the IE8 browser is the second browser mentioned in the embodiments of the present disclosure.
Illustratively, if a website compatible IE8 browser is required, then the three target system dependent objects of Inter Section Observer API, premium.
For example, for the Inter Section Observer API, a polyfil (shim library) may be written to simulate the Inter Section Observer API, and the same principles of progress.
Assume that the Intersection Observer API corresponds to polyfil A. Exemplary programs for IE8 compliant websites include if (browser type name ═ IE8) { polyfil a }; else, the Intersection Observer API. Project, finish () and arm, from () are the same and will not be described again.
That is, if the browser for opening the hyperlink of the website is the IE8 browser, then when executing the polyfil a, if the browser for opening the hyperlink of the website is not the IE8 browser, the Inter Section Observer API is executed.
The method is described in detail in the embodiments disclosed in the present application, and the method of the present application can be implemented by using various types of apparatuses, so that various apparatuses are also disclosed in the present application, and specific embodiments are given below for detailed description.
FIG. 4 is a block diagram illustrating an apparatus for detecting web site supported browsers, according to an example embodiment. Referring to fig. 4, the apparatus includes an obtaining module 41, a first determining module 42, and a second determining module 43, wherein:
the obtaining module 41 is configured to obtain at least one system dependent object corresponding to the website, where a webpage presented on a browser supporting the at least one system dependent object by the website has a preset display effect; the first determining module 42 is configured to determine at least one first browser based on the system-dependent objects respectively supported by the browsers and the at least one system-dependent object obtained by the obtaining module, where the first browser at least supports the at least one system-dependent object; a second determining module 43 configured to determine that the website supports the at least one first browser.
In an optional implementation manner, the obtaining module is specifically configured to: a first acquisition unit configured to acquire resource objects corresponding to the website; a first determining unit, configured to determine, for any one of the resource objects obtained by the first obtaining unit, that the resource object is a system dependent object corresponding to the website if each preset system dependent object includes the resource object.
In an optional implementation manner, the first determining module is specifically configured to: the setting unit is configured to set a first identifier for a browser supporting the system dependent object and a second identifier for at least one browser not supporting the system dependent object based on each system dependent object respectively supported by each browser for each system dependent object corresponding to the website; a second determination unit configured to determine a browser provided with the same number of the first identifiers as the at least one system-dependent object as the first browser.
In an optional implementation manner, the first determining module is specifically configured to: a third determining unit, configured to determine, for each system-dependent object corresponding to the website, at least one browser that supports the system-dependent object corresponding to the website based on each system-dependent object that is supported by each browser, respectively; a fourth determining unit configured to determine, as the first browser, a browser that supports a system dependent object corresponding to each of the websites.
In an optional implementation manner, the apparatus for detecting browsers supported by a website further includes a third determining module configured to determine at least one second browser based on each system-dependent object and the at least one system-dependent object respectively supported by each browser, where the second browser does not support one or more target system-dependent objects in the at least one system-dependent object.
In an optional implementation manner, the apparatus for detecting browsers supported by the website further includes: and the display module is configured to display the target system dependent objects which are not supported by the second browsers and correspond to the second browsers.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 5 is a block diagram illustrating a method for an electronic device 11 according to an example embodiment.
As shown in fig. 5, the electronic device 11 includes, but is not limited to: a processor 501, a memory 502, a network interface 503, an I/O controller 504, a communication bus 505, and a display 506.
It should be noted that, as those skilled in the art will appreciate, the structure of the electronic device shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in fig. 5, or may combine some components, or may be arranged in different components.
The following describes each component of the electronic device 11 in detail with reference to fig. 5:
the processor 501 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the electronic device. Processor 501 may include one or more processing units; optionally, the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 501.
Processor 501 may be a Central Processing Unit (CPU), or an application Specific Integrated circuit (asic), or one or more Integrated circuits configured to implement embodiments of the present invention, etc.;
the Memory 502 may include Memory, such as Random-Access Memory (RAM) 5021 and Read-Only Memory (ROM) 5022, and may also include a mass storage device 5023, such as at least 1 disk storage. Of course, the electronic device may also include hardware required for other services.
The memory 502 is used for storing the executable instructions of the processor 501. The processor 501 is configured to perform the steps of the method for detecting a browser supported by a website.
A wired or wireless network interface 503 is configured to connect the electronic device 11 to a network.
The processor 501, the memory 502, the network interface 503, the I/O controller 504, and the display screen 506 may be connected to each other by a communication bus 505, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
The display screen 506 is used for displaying a display interface, for example, a presentation interface shown in fig. 3. The display 506 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 11 may include 1 or N display screens 506, with N being a positive integer greater than 1.
In an exemplary embodiment, the electronic device 11 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described electronic resource transmission method.
The processor 501 included in the electronic device 11 has the following functions: acquiring at least one system dependent object corresponding to the website, wherein a webpage displayed on a browser supporting the at least one system dependent object by the website has a preset display effect; determining at least one first browser based on the system dependent objects supported by the browsers respectively and the at least one system dependent object, wherein the first browser at least supports the at least one system dependent object; determining that the website supports the at least one first browser.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as the memory 502 comprising instructions, executable by the processor 501 of the electronic device 11 to perform the above-described method is also provided. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, which may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which is loadable into the internal memory of a computer, such as the memory 502 described above, and contains software code, and which, when loaded and executed by a computer, is able to carry out the method described above in any of the embodiments of the method for detecting a browser supported by a web site.
In an exemplary embodiment, a computer program/instructions is also provided, which when executed by a processor included in an electronic device, implements the method of detecting a browser supported by a website as described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. The specification and examples are to be considered as illustrative only
For purposes of illustration, the true scope and spirit of the disclosure is indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for detecting web site supported browsers, comprising:
acquiring at least one system dependent object corresponding to the website, wherein a webpage displayed on a browser supporting the at least one system dependent object by the website has a preset display effect;
determining at least one first browser based on the system dependent objects supported by the browsers respectively and the at least one system dependent object, wherein the first browser at least supports the at least one system dependent object;
determining that the website supports the at least one first browser.
2. The method for detecting browsers supported by websites according to claim 1, wherein said obtaining at least one system dependent object corresponding to said websites comprises:
acquiring each resource object corresponding to the website;
and for any one resource object in the resource objects, if the preset system dependent object comprises the resource object, determining the resource object as the system dependent object corresponding to the website.
3. The method for detecting browsers supported by websites according to claim 1 or 2, wherein the step of determining at least one first browser based on the system-dependent objects and the at least one system-dependent object respectively supported by the browsers comprises:
setting a first identifier for a browser supporting the system dependent object and a second identifier for at least one browser not supporting the system dependent object based on each system dependent object respectively supported by each browser for each system dependent object corresponding to the website;
determining a browser provided with the same number of the first identifiers as the at least one system-dependent object as the first browser.
4. The method for detecting browsers supported by websites according to claim 1 or 2, wherein the step of determining at least one first browser based on the system-dependent objects and the at least one system-dependent object respectively supported by the browsers comprises:
for each system dependent object corresponding to the website, determining at least one browser supporting the system dependent object corresponding to the website based on each system dependent object supported by each browser respectively;
and determining a browser supporting the system dependent object corresponding to each website as the first browser.
5. The method for detecting browser supported by website as claimed in claim 1 or 2, further comprising:
determining at least one second browser based on the system dependent objects respectively supported by the browsers and the at least one system dependent object, wherein the second browser does not support one or more target system dependent objects in the at least one system dependent object.
6. The method of detecting web site supported browsers according to claim 5, further comprising:
and displaying the target system dependent objects which are not supported by the second browser and correspond to the second browsers.
7. An apparatus for detecting web site supported browsers, comprising:
the acquisition module is configured to acquire at least one system dependent object corresponding to the website, and the website has a preset display effect on a webpage displayed on a browser supporting the at least one system dependent object;
a first determining module, configured to determine at least one first browser based on each system-dependent object supported by each browser and the at least one system-dependent object obtained by the obtaining module, where the first browser at least supports the at least one system-dependent object;
a second determination module configured to determine that the website supports the at least one first browser.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of detecting a browser supported by a website of any one of claims 1 to 6.
9. A computer readable storage medium, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform the method of detecting a browser supported by a website of any one of claims 1 to 6.
10. A computer program product directly loadable into the internal memory of a computer, said memory being the memory comprised by the electronic device according to claim 8 and containing software code, said computer program being loadable and executable by the computer to implement the method for detecting web-site supported browsers according to any of claims 1 to 6.
CN202110104976.3A 2021-01-26 2021-01-26 Method, device, equipment and storage medium for detecting browser supported by website Pending CN112925703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110104976.3A CN112925703A (en) 2021-01-26 2021-01-26 Method, device, equipment and storage medium for detecting browser supported by website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110104976.3A CN112925703A (en) 2021-01-26 2021-01-26 Method, device, equipment and storage medium for detecting browser supported by website

Publications (1)

Publication Number Publication Date
CN112925703A true CN112925703A (en) 2021-06-08

Family

ID=76166394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110104976.3A Pending CN112925703A (en) 2021-01-26 2021-01-26 Method, device, equipment and storage medium for detecting browser supported by website

Country Status (1)

Country Link
CN (1) CN112925703A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314516A (en) * 2011-09-22 2012-01-11 惠州Tcl移动通信有限公司 Webpage processing method and mobile terminal and electronic device thereof
CN103064886A (en) * 2012-12-07 2013-04-24 百度在线网络技术(北京)有限公司 Method for supporting multiple browsers and plug-in
US20160034118A1 (en) * 2013-03-15 2016-02-04 Amazon Technologies, Inc. Determining appropriate browsing applications for selected network resources
CN107133165A (en) * 2017-03-22 2017-09-05 腾讯科技(深圳)有限公司 Browser compatibility detection method and device
CN109086374A (en) * 2018-07-23 2018-12-25 北京达佳互联信息技术有限公司 Webpage loading display method, device, terminal device and readable storage medium storing program for executing
CN111199001A (en) * 2019-12-03 2020-05-26 云深互联(北京)科技有限公司 Resource overloading compatibility processing method and system for browser

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314516A (en) * 2011-09-22 2012-01-11 惠州Tcl移动通信有限公司 Webpage processing method and mobile terminal and electronic device thereof
CN103064886A (en) * 2012-12-07 2013-04-24 百度在线网络技术(北京)有限公司 Method for supporting multiple browsers and plug-in
US20160034118A1 (en) * 2013-03-15 2016-02-04 Amazon Technologies, Inc. Determining appropriate browsing applications for selected network resources
CN107133165A (en) * 2017-03-22 2017-09-05 腾讯科技(深圳)有限公司 Browser compatibility detection method and device
CN109086374A (en) * 2018-07-23 2018-12-25 北京达佳互联信息技术有限公司 Webpage loading display method, device, terminal device and readable storage medium storing program for executing
CN111199001A (en) * 2019-12-03 2020-05-26 云深互联(北京)科技有限公司 Resource overloading compatibility processing method and system for browser

Similar Documents

Publication Publication Date Title
CN109976761B (en) Software development kit generation method and device and terminal equipment
EP3876116B1 (en) Method and apparatus for running mini program, electronic device, and storage medium
CN108347358B (en) Method and system for automatically testing cloud connection
US8713530B2 (en) Test framework of visual components in a multitenant database environment
US11829436B2 (en) Method and apparatus of pre-rendering page, electronic device, and storage medium
CN112099790B (en) Method, device, equipment and storage medium for determining page theme
US9471704B2 (en) Shared script files in multi-tab browser
RU2459238C2 (en) Managed execution environment for software application interfacing
US20120173962A1 (en) Online application providing apparatus
CN103443763B (en) Comprise to connect the ISA Bridge of the support called rewriteeing virtual function
CN107451162A (en) Network resource accession equipment, mixing apparatus and method
CN106569856A (en) Method and device of loading application view resource file
CN113010827B (en) Page rendering method and device, electronic equipment and storage medium
WO2017081558A1 (en) Monitoring and actuation of view controller parameters to reach deep states without manual developer intervention
US11741002B2 (en) Test automation systems and methods using logical identifiers
CN107797820A (en) Method and apparatus for generating patch
CN105739992B (en) The method and system of software control memory partition and mapping based on GCC compiler
CN108170430B (en) Interface display method and system
CN112965716B (en) Page processing method and device, electronic equipment and readable storage medium
CN112068879A (en) Method and device for constructing client application development framework based on configuration
CN112925703A (en) Method, device, equipment and storage medium for detecting browser supported by website
CN109508434B (en) Block generation method, webpage rendering method and device
CN114115855A (en) Code multiplexing method and device, computer readable storage medium and electronic equipment
CN113515682A (en) Data crawling method and device, computer equipment and storage medium
CN113961279A (en) Page rendering method, device, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination