Search

CN-122019342-A - Browser debugging method and device, storage medium and electronic equipment

CN122019342ACN 122019342 ACN122019342 ACN 122019342ACN-122019342-A

Abstract

The application provides a browser debugging method, a device, a storage medium and electronic equipment, wherein the method is applied to the technical field of computers and comprises the following steps: opening a modification interface of a browser based on an access instruction of a user, displaying browser setting information of the browser on the modification interface, acquiring a data modification instruction input by the user aiming at the modification interface, modifying the browser setting information based on the data modification instruction, and controlling the browser to run according to the modified browser setting information. The method can facilitate the user to view and modify the related data of the browser state by displaying all the browser setting information, and the modified browser setting information is directly adopted for running without restarting, so that the normal flow of the user for the browser debugging work is ensured, and the efficiency of the browser debugging is improved.

Inventors

  • YE JIAMING

Assignees

  • 三六零数字安全科技集团有限公司

Dates

Publication Date
20260512
Application Date
20241111

Claims (10)

  1. 1. A method for debugging a browser, the method comprising: Opening a modification interface of the browser based on an access instruction of a user, and displaying browser setting information of the browser on the modification interface; Acquiring a data modification instruction input by the user aiming at the modification interface; and modifying the browser setting information based on the data modification instruction, and controlling the browser to run according to the modified browser setting information.
  2. 2. The method of claim 1, wherein the browser setting information includes local configuration parameters, user preference setting parameters, and memory data of the browser.
  3. 3. The method according to claim 1, wherein the opening a modification interface in a browser kernel based on an access instruction of a user, and displaying browser setting information of the browser on the modification interface, includes: If an access instruction of a user for modifying an interface is received, performing access right verification processing for the user; and if the user passes the access right verification process, opening the modification interface, and displaying the browser setting information of the browser on the modification interface.
  4. 4. A method according to claim 3, wherein said performing an access rights verification process for said user comprises: Displaying an access verification window in the browser, and acquiring access right verification information input by the user aiming at the access verification window; And if the access right verification information exists in the access white list, determining that the user passes the access right verification processing.
  5. 5. The method according to claim 1, wherein the modifying the browser setting information based on the data modification instruction includes: Determining target setting parameters aimed by the data modification instruction, and acquiring modification values in the data modification instruction; and changing the value of the target setting parameter into the modified value.
  6. 6. The method of claim 1, wherein before opening the modification interface of the browser based on the user access instruction, further comprising: A modification interface is created in the browser kernel.
  7. 7. The method according to claim 1, wherein the method further comprises: generating target modification information based on the data modification instruction; And storing the target modification information to a history modification record of the browser.
  8. 8. A browser debugging device, the device comprising: the interface display unit is used for opening a modification interface of the browser based on an access instruction of a user, and displaying browser setting information of the browser on the modification interface; The instruction acquisition unit is used for acquiring a data modification instruction input by the user aiming at the modification interface; And the modification processing unit is used for modifying the browser setting information based on the data modification instruction and controlling the browser to run according to the modified browser setting information.
  9. 9. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any one of claims 1 to 7.
  10. 10. An electronic device comprising a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-7.

Description

Browser debugging method and device, storage medium and electronic equipment Technical Field The present application relates to the field of computer technologies, and in particular, to a method and apparatus for debugging a browser, a storage medium, and an electronic device in the field of computer technologies. Background The browser is an application program for accessing and displaying internet content, when in a browser development test stage, an operation and maintenance stage and the like, related staff needs to change related information of the browser so as to debug the browser to an ideal state, but a browser debugging tool in the prior art can only display partial local configuration parameters for adjustment by the staff, can not display all related parameters to the staff, so that the staff is limited in debugging the browser configuration and can not refer to global adjustment, and the browser can be restarted after the local configuration parameters are changed by the debugging tool in the prior art, thereby interrupting the debugging work of the staff and wasting time, and a more convenient and efficient browser debugging method needs to be provided. Disclosure of Invention The embodiment of the application provides a browser debugging method, a device, a storage medium and electronic equipment, wherein the method can facilitate the user to check and modify the related data of the browser state by displaying all browser setting information, and the modified browser setting information is directly adopted for running without restarting, so that the normal flow of the user for the browser debugging work is ensured, and the efficiency of the browser debugging is improved. In a first aspect, an embodiment of the present application provides a method for debugging a browser, where the method includes: Opening a modification interface of the browser based on an access instruction of a user, and displaying browser setting information of the browser on the modification interface; Acquiring a data modification instruction input by the user aiming at the modification interface; and modifying the browser setting information based on the data modification instruction, and controlling the browser to run according to the modified browser setting information. By the technical scheme, the user can conveniently view and modify the related data of the browser state by displaying all the browser setting information, and the modified browser setting information is directly adopted for running without restarting, so that the normal flow of the user for the browser debugging work is ensured, and the efficiency of the browser debugging is improved. With reference to the first aspect, in some possible implementations, the browser setting information includes a local configuration parameter of the browser, a user preference setting parameter, and memory data. Through the technical scheme, the related setting parameters of the browser can be comprehensively displayed to the user, so that the user can conveniently debug the browser. With reference to the first aspect, in some possible implementations, the opening a modification interface in a browser kernel based on an access instruction of a user, and displaying browser setting information of the browser on the modification interface includes: If an access instruction of a user for modifying an interface is received, performing access right verification processing for the user; and if the user passes the access right verification process, opening the modification interface, and displaying the browser setting information of the browser on the modification interface. Through the technical scheme, the leakage of the browser setting information to irrelevant personnel can be avoided through the access right checking process, and the privacy safety of the browser setting information is ensured. With reference to the first aspect, in some possible implementations, the performing an access right verification process for the user includes: Displaying an access verification window in the browser, and acquiring access right verification information input by the user aiming at the access verification window; And if the access right verification information exists in the access white list, determining that the user passes the access right verification processing. Through the technical scheme, the access authority of the user can be checked through the access check window, so that unauthorized access is prevented, and the safety of browser setting information and the accuracy of access control are further improved. With reference to the first aspect, in some possible implementations, the modifying the browser setting information based on the data modification instruction includes: Determining target setting parameters aimed by the data modification instruction, and acquiring modification values in the data modification instruction; and changing the value of the target setting pa