CN114579903B - Full keyboard browser operation method, device, equipment and storage medium - Google Patents

Full keyboard browser operation method, device, equipment and storage medium Download PDF

Info

Publication number
CN114579903B
CN114579903B CN202210157989.1A CN202210157989A CN114579903B CN 114579903 B CN114579903 B CN 114579903B CN 202210157989 A CN202210157989 A CN 202210157989A CN 114579903 B CN114579903 B CN 114579903B
Authority
CN
China
Prior art keywords
instruction
trigger event
event
processing function
executing
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.)
Active
Application number
CN202210157989.1A
Other languages
Chinese (zh)
Other versions
CN114579903A (en
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.)
Guangzhou Institute of Technology
Original Assignee
Guangzhou Institute of Technology
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 Guangzhou Institute of Technology filed Critical Guangzhou Institute of Technology
Priority to CN202210157989.1A priority Critical patent/CN114579903B/en
Publication of CN114579903A publication Critical patent/CN114579903A/en
Application granted granted Critical
Publication of CN114579903B publication Critical patent/CN114579903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a full keyboard browser operation method, a device, equipment and a storage medium, wherein the method is characterized in that a browser page is loaded and a script is executed, the script is used for generating preset content according to the browser page, and the preset content comprises a trigger event and an event processing function corresponding to the trigger event; the method comprises the steps of receiving a shortcut key instruction input through a keyboard, matching the shortcut key instruction with the trigger event, determining a target trigger event, executing an event processing function corresponding to the target trigger event, changing the display content of a browser page, and realizing the use of the browser through the shortcut key instruction input through the keyboard without using a mouse when a user uses the browser.

Description

Full keyboard browser operation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for operating a full keyboard browser.
Background
Nowadays, many operations on web pages must rely on a mouse, and most basic operations such as opening a link, clicking a button, clicking an input box and the like, which results in extremely low efficiency in using a browser, hands need to be frequently switched back and forth between a keyboard and the mouse, especially for the task of writing and editing while looking for data, users need to be required to switch back and forth between the mouse and the keyboard, the operation is troublesome, the efficiency is low, and at the same time, hand fatigue, mouse hand and other problems are easily caused, so solutions are required to be sought.
Disclosure of Invention
In view of the above, the present invention aims to provide a method, an apparatus, a device and a storage medium for operating a full keyboard browser, which are convenient to operate.
The technical scheme adopted by the embodiment of the invention is as follows:
a full keyboard browser operating method comprising:
loading a browser page and executing a script; the script is used for generating preset content according to the browser page, wherein the preset content comprises a trigger event and an event processing function corresponding to the trigger event;
Receiving a shortcut key instruction input through a keyboard, matching the shortcut key instruction with the trigger event, and determining a target trigger event;
And executing an event processing function corresponding to the target trigger event, and changing the display content of the browser page.
Further, the shortcut key instruction includes a first instruction and a second instruction, the receiving the shortcut key instruction input through the keyboard, matching the shortcut key instruction with the trigger event, and determining the target trigger event includes:
Receiving the first instruction, acquiring a clickable element of the browser page through the script, and displaying the trigger event on the clickable element;
and receiving the second instruction, matching the second instruction with the trigger event, and determining a target trigger event.
Further, the shortcut key instruction includes a scroll instruction, the event processing function includes a scroll function, the matching the shortcut key instruction with the trigger event, determining a target trigger event, executing the event processing function corresponding to the target trigger event, and changing the display content of the browser page, including:
And matching the scrolling instruction with the triggering event, determining a target triggering event, and when a scroll bar is arranged in the browser page, executing a scrolling function corresponding to the target triggering event, and triggering the scroll bar to change the display content of the browser page.
Further, the shortcut key instruction includes a third instruction, a fourth instruction and a fifth instruction, and executing an event processing function corresponding to the target trigger event changes display content of the browser page, including:
Receiving the third instruction, executing an event processing function corresponding to a target trigger event of the third instruction, and displaying a pop-up window; the pop-up window comprises an input box and a list;
Receiving the fourth instruction, executing an event processing function corresponding to a target trigger event of the fourth instruction, inputting content in the input box to index and match target content from a history record and/or a bookmark according to the input content, and displaying the target content in the list;
and receiving a fifth instruction, executing an event processing function corresponding to a target trigger event of the fifth instruction, and opening the target content in the list.
Further, the shortcut key instruction includes a sixth instruction, a seventh instruction, and an eighth instruction, and executing an event processing function corresponding to the target trigger event changes display content of the browser page, including:
Receiving the sixth instruction, executing an event processing function corresponding to a target trigger event of the sixth instruction, entering a text browsing mode to obtain text paragraphs in the browser page, and displaying the trigger event in each text paragraph;
receiving the seventh instruction, executing an event processing function corresponding to a trigger event matched with the seventh instruction, and inserting a mouse cursor into a text paragraph corresponding to the matched trigger event;
and receiving the eighth instruction, executing an event processing function corresponding to a target trigger event of the eighth instruction, and moving the mouse cursor to select a text so as to edit the text.
Further, the shortcut key instruction includes a ninth instruction, and executing an event processing function corresponding to the target trigger event changes display content of the browser page, including:
Receiving the ninth instruction, executing an event processing function corresponding to a target trigger event of the ninth instruction, positioning a mouse cursor to an input box and entering a text insertion mode; the state of the keyboard in the text insertion mode is a normal input state for canceling the input of the shortcut key instruction.
Further, the full keyboard browser operation method further comprises the following steps:
responding to a plug-in triggering instruction input through a keyboard, and triggering a setting function of a browser plug-in corresponding to the script;
And setting the trigger event and/or the event processing function in response to a setting instruction input through a keyboard.
The embodiment of the invention also provides a full keyboard browser operation device, which comprises:
The loading module is used for loading the browser page and executing the script; the script is used for generating preset content according to the browser page, wherein the preset content comprises a trigger event and an event processing function corresponding to the trigger event;
The determining module is used for receiving a shortcut key instruction input through a keyboard, matching the shortcut key instruction with the trigger event and determining a target trigger event;
And the execution module is used for executing the event processing function corresponding to the target trigger event and changing the display content of the browser page.
The embodiment of the invention also provides electronic equipment, which comprises a processor and a memory, wherein at least one instruction, at least one section of program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to realize the method.
Embodiments of the present invention also provide a computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by a processor to implement the method.
The beneficial effects of the invention are as follows: the method comprises the steps of loading a browser page and executing a script, wherein the script is used for generating preset content according to the browser page, and the preset content comprises a trigger event and an event processing function corresponding to the trigger event; and receiving a shortcut key instruction input through a keyboard, matching the shortcut key instruction with the trigger event, determining a target trigger event, executing an event processing function corresponding to the target trigger event, changing the display content of the browser page, and realizing the use of the browser through the shortcut key instruction input through the keyboard without using a mouse when a user uses the browser, so that the operation is convenient and fast, and the efficiency is improved.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for operating a full keyboard browser according to the present invention;
FIG. 2 is a schematic diagram of a browser page according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims and drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
As shown in fig. 1, an embodiment of the present invention provides a full keyboard browser operation method, which includes steps S100 to S300:
s100, loading the browser page and executing the script.
In the embodiment of the invention, a browser plug-in is created for the browser, each browser plug-in is provided with a corresponding script, the script is executed in the loading process of each browser page and after the loading is completed, and specifically, the script can generate preset content according to the browser page when the script is executed. It should be noted that, the browser includes, but is not limited to, a browser such as Chrome, firefox, and the browser page includes information of the browser itself and information of a page currently displayed by the browser. Optionally, the preset content includes, but is not limited to, a trigger event and an event processing function corresponding to the trigger event, where the trigger event and the event processing function corresponding to the trigger event implement registration association. The triggering event is an element which occurs on a browser page and can be "dealt with" by a script generated by a JavaScript script language, such as a user clicking on the event, pressing a keyboard button event, which is a native mechanism supported by the browser, for example, pressing an XX key, and the triggering event is pressing the XX key; the event processing function is a set of program instructions written in advance by using a JavaScript script language to complete a certain function, such as opening a hyperlink function, including but not limited to an element information acquisition instruction, an element 'click event' triggering instruction, and the like, and is generated by defining a plug-in after loading a webpage.
S200, receiving a shortcut key instruction input through a keyboard, matching the shortcut key instruction with a trigger event, and determining a target trigger event.
In the embodiment of the invention, after the script is executed, monitoring of command events such as keyboard pressing, releasing and the like can be monitored, after the corresponding command event is monitored, the command event is matched with the trigger event, and the matched trigger event (namely, the target trigger event) is determined.
S300, executing an event processing function corresponding to the target trigger event, and changing the display content of the browser page.
In the embodiment of the invention, after the target trigger event is determined, the event processing function corresponding to the target trigger event registered by the target trigger event is executed to perform corresponding processing, so that a specific function is realized, and the display content of the current browser page is changed. For example: the change includes but is not limited to mouse cursor position movement, page jump, scrolling, text selection, window pop-up, trigger event display, etc. which can be realized by the mouse, so that the browser operation function of the full keyboard is realized by replacing the mouse by the keyboard without using the mouse operation.
Optionally, functions such as clicking operation, scrolling operation, history and bookmark searching, text browsing mode, text insertion mode, etc. may be implemented based on the difference of the shortcut key instructions.
Steps S200 and S300 in the embodiment of the present invention have different implementation manners based on implementing different functions. Optionally, when the shortcut key command input through the keyboard includes a first command and a second command, where the first command and the second command refer to commands input at different times, step S200 includes steps S211-S212:
s211, receiving a first instruction, acquiring a clickable element of the browser page through a script, and displaying a trigger event on the clickable element.
S212, receiving a second instruction, matching the second instruction with the trigger event, and determining a target trigger event.
Alternatively, the manner of display may be set as required, for example, different graphics, forms, colors, etc. may be used, and as shown in fig. 2, the trigger event is displayed on the clickable element in the form of a small bubble box 101 in the browser page 100. For example, the user presses the shortcut key "f", activates the selection mode before clicking operation, the script obtains all clickable elements in the browser page, defaults to setting the shortcut key for the clickable elements alphabetically (one bit is not enough, and one bit is added, for example, "AA" is behind the "Z" shortcut key), and a small bubble box is generated and displayed above the clickable elements. It should be noted that, the clickable element refers to clickable content in a browser page, such as an input box, a button of a function area, a website, and a scroll bar. For example, the shortcut key corresponding to the input box of the web site bar is "a", the shortcut key corresponding to the first web site is "B", the shortcut key corresponding to the second web site is "C", the shortcut key corresponding to the scroll bar in the up-down direction is "D", and the shortcut key corresponding to the scroll bar in the left-right direction is "E". When the user presses the "C", the second instruction "C" is matched with the trigger event, and the target trigger event is determined to be "C", so that the browser page jumps to the second website from the current display content, and the content of the second website is displayed, so that the display content of the browser page is changed.
Optionally, the user may further set the shortcut key instruction to include an adjustment instruction, for example, when multiple bubble boxes overlap, the overlapped bubble boxes may be inverted by pressing a "Shift" key, the bubble boxes may be hidden by pressing a space key, and recovery may be released. In addition, when the key input by the user does not have a corresponding trigger event, no operation is performed or the selection mode is exited.
Optionally, when the shortcut key instruction input through the keyboard includes a scroll instruction, the event processing function includes a scroll function, and step S200 includes step S221:
S221, matching the scrolling instruction with the trigger event, and determining a target trigger event.
Optionally, the scroll command may be a trigger command of a scroll bar in an up-down direction or a trigger command of a scroll bar in a left-right direction, for example, a shortcut key corresponding to the scroll bar in the up-down direction is "D", when the scroll command is "D" input by a user, matching with a trigger event at this time, determining that a target trigger event is "D", and when the scroll bar is in the browser page, executing a scroll function corresponding to the target trigger event, that is, executing a scroll function corresponding to the target trigger event "D", so as to trigger the scroll bar to scroll to change the display content of the browser page. It will be appreciated that the corresponding operation is not performed without the scrollbar.
In order to facilitate the use of the user, when setting the shortcut command of the scroll bar, four shortcut keys may be respectively set according to the front, back, left and right, for example, the shortcut key "h" is scrolling left, the shortcut key "l" is scrolling right, the shortcut key "j" is scrolling down, the shortcut key "k" is scrolling up, etc. In addition, the scroll instruction may also refer to percentage scrolling, top/bottom scrolling, and the like, without being particularly limited.
Optionally, when the shortcut key command input through the keyboard includes a third command, a fourth command and a fifth command, the step S300 includes steps S311-S313, where the third command, the fourth command and the fifth command are commands input at different times when implementing the history and bookmark searching function, and are used for searching the quick positioning history, bookmark connection and jump:
S311, receiving a third instruction, executing an event processing function corresponding to a target trigger event of the third instruction, and displaying a pop-up window.
In the embodiment of the invention, the pop-up window comprises an input box and a list, wherein a plurality of latest (which can be set according to the need) history records are displayed in the list, and target contents displayed in the list can comprise web page links, web page titles, bookmark pages, bookmark catalogues and the like. Optionally, after the browser plug-in is enabled and the loading of the browser page is completed, all history and bookmarks are obtained through the browser API (Application Programming Interface, application program interface) and a temporary library is generated. Optionally, the user presses a third instruction, such as "t", for history and bookmark searching, executes an event processing function corresponding to the target trigger event of the third instruction, and displays a pop-up window.
S312, receiving the fourth instruction, executing an event processing function corresponding to the target trigger event of the fourth instruction, inputting contents in an input box to index and match the target contents from the history record and/or the bookmark according to the input contents, and displaying the target contents in the list.
Optionally, when the user inputs the fourth instruction, executing an event processing function corresponding to the target trigger event of the fourth instruction. It should be noted that, when the input box is selected to input the content, the mode of shortcut key input may be exited, for example, the event processing function corresponding to the fourth instruction may be the mode of exiting shortcut key input, where the content input by the keyboard is the content in the normal input state, for example, the content input by the keyboard is "p", the content input by the input box is "p", then the script indexes and matches the target content from the history record and/or the bookmark of the temporary library according to the input content, and displays the target content in the list.
S313, receiving a fifth instruction, executing an event processing function corresponding to a target trigger event of the fifth instruction, and opening target contents in the list.
Optionally, the first item of target content in the list is selected by default, the fifth instruction of the user may be a determining instruction or an instruction including selecting and determining two functions, and then executing an event processing function corresponding to the target trigger event of the fifth instruction, and opening the target content in the list, for example, opening the target content (such as a new web page) on a new tab page of the browser.
Optionally, when the shortcut key command input through the keyboard includes a sixth command, a seventh command, and an eighth command, the step S300 includes steps S321-S323, where the sixth command, the seventh command, and the eighth command are commands input at different times when implementing the text browsing mode, and are used for performing quick selection on a text through the keyboard, editing on a text such as a selected text operation, and the like:
s321, receiving a sixth instruction, executing an event processing function corresponding to a target trigger event of the sixth instruction, entering a text browsing mode to obtain text paragraphs in a browser page, and displaying the trigger event in each text paragraph.
Optionally, the user inputs a sixth instruction, such as a shortcut key "v", executes an event processing function corresponding to a target trigger event of the sixth instruction, enters a text browsing mode, and obtains all text paragraphs in the browser page through a script of the JavaScript scripting language. Optionally, as shown in fig. 2, a trigger event is displayed in each text passage in a bubble box, e.g., a first text passage corresponds to trigger event "F" and a second text passage corresponds to trigger event "G".
S322, receiving a seventh instruction, executing an event processing function corresponding to the trigger event matched with the seventh instruction, and inserting a mouse cursor into the text paragraph corresponding to the matched trigger event.
Optionally, for example, when the seventh instruction input by the user is "F", an event processing function corresponding to a trigger event "F" matched with the key "F" is executed, and the mouse cursor is inserted into the text paragraph corresponding to the matched trigger event, that is, the mouse cursor is moved to the first text paragraph, for example, the first text of the first text paragraph.
S323, receiving an eighth instruction, executing an event processing function corresponding to a target trigger event of the eighth instruction, and moving a mouse cursor to select a text so as to edit the text.
Optionally, for example, when the eighth instruction input by the user is: 1) Instructions for cursor movement, such as: cursor movement is performed by using a shortcut key of Vim (Unix and Unix-like system text editor), "h" is cursor movement leftward, "l" is cursor movement rightward, "j" is cursor movement downward, "k" is cursor movement upward, etc.; 2) The command for editing the text includes, but is not limited to, selecting, copying, cutting, searching for the next, etc., and then executing the event processing function corresponding to the target trigger event of the eighth command, and moving the mouse cursor to select the text for editing the text. Alternatively, the user may exit the text browsing mode by entering a shortcut command via the keyboard as exiting the shortcut "ESC" key.
Optionally, when the shortcut key command input through the keyboard includes a ninth command, step S300 includes step S331, wherein the ninth command is a command of the text insertion mode:
s331, receiving a ninth instruction, executing an event processing function corresponding to a target trigger event of the ninth instruction, positioning a mouse cursor to an input box, and entering a text insertion mode.
Optionally, the state of the keyboard in the text insertion mode is a normal input state of canceling the input of the shortcut key instruction, and the normal input state is that, for example, when the user presses "p" on the keyboard, the content input on the browser page is "p", and is not the trigger event "p" corresponding to the button "p". Specifically, when the target trigger event corresponding to the ninth instruction input by the user is the input box, for example, the target trigger event is "a" in fig. 2, the corresponding event processing function is executed at this time, and the mouse cursor is positioned to the input box of the website in fig. 2 and enters the text insertion mode, so that the user can perform text input. Alternatively, the user may exit the text insertion mode by entering a shortcut command via the keyboard to exit the shortcut "ESC" key, and the shortcut is revalidated.
Optionally, the full keyboard browser operation method of the embodiment of the present invention includes steps S410 to S420:
s410, responding to a plug-in triggering instruction input through a keyboard, and triggering a setting function of a browser plug-in corresponding to the script.
S420, setting a trigger event and/or an event processing function in response to a setting instruction input through a keyboard.
In the embodiment of the invention, when the user needs to personally set the trigger event corresponding to the shortcut key and/or the trigger event corresponding to the trigger event, the personalized setting function is provided. Specifically, the user can trigger the setting function of the browser plug-in corresponding to the script through the plug-in triggering instruction input by the keyboard, for example, the setting function is displayed in a form of a setting window after being triggered, and at the moment, the user inputs the setting instruction again through the keyboard, so that the triggering event and/or the event processing function can be set in the setting window in a personalized mode, the method is convenient and rapid, and the practical experience of the user is improved.
The full-keyboard browser operation method of the embodiment of the invention realizes the control of the browser to operate the webpage by using the keyboard by generating various shortcut keys on the browser webpage through the browser plug-in, and changes the mode of frequently switching the keyboard and the mouse when the webpage is operated, so that each user can not leave the keyboard when writing/writing codes and inquiring webpage data, high-efficiency completion work is maintained, and the efficiency is greatly improved.
The embodiment of the invention also provides a full keyboard browser operation device, which comprises:
The loading module is used for loading the browser page and executing the script; the script is used for generating preset contents according to the browser page, wherein the preset contents comprise triggering events and event processing functions corresponding to the triggering events;
The determining module is used for receiving a shortcut key instruction input through a keyboard, matching the shortcut key instruction with a trigger event and determining a target trigger event;
And the execution module is used for executing an event processing function corresponding to the target trigger event and changing the display content of the browser page.
The content in the method embodiment is applicable to the embodiment of the device, and the functions specifically realized by the embodiment of the device are the same as those of the method embodiment, and the obtained beneficial effects are the same as those of the method embodiment.
The embodiment of the invention also provides electronic equipment, which comprises a processor and a memory, wherein at least one instruction, at least one section of program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to realize the full keyboard browser operation method of the previous embodiment. The electronic equipment of the embodiment of the invention comprises, but is not limited to, any intelligent terminal such as a tablet personal computer, a computer and the like.
The content in the method embodiment is applicable to the embodiment of the device, and functions specifically implemented by the embodiment of the device are the same as those of the embodiment of the method, and the achieved beneficial effects are the same as those of the embodiment of the method.
The embodiment of the invention also provides a computer readable storage medium, wherein at least one instruction, at least one section of program, code set or instruction set is stored in the storage medium, and the at least one instruction, the at least one section of program, the code set or instruction set is loaded and executed by a processor to realize the full keyboard browser operation method of the previous embodiment.
Embodiments of the present invention also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the full keyboard browser operation method of the foregoing embodiment.
The terms "first," "second," "third," "fourth," and the like in the description of the application and in the above figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one (item)" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including multiple instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a magnetic disk, or an optical disk, or other various media capable of storing a program.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. A method of operating a full keyboard browser, comprising:
loading a browser page and executing a script; the script is used for generating preset content according to the browser page, wherein the preset content comprises a trigger event and an event processing function corresponding to the trigger event;
Receiving a shortcut key instruction input through a keyboard, matching the shortcut key instruction with the trigger event, and determining a target trigger event;
Executing an event processing function corresponding to the target trigger event, and changing the display content of the browser page;
The shortcut key instruction comprises a first instruction and a second instruction, the shortcut key instruction input through a keyboard is received, the shortcut key instruction is matched with the trigger event, and the target trigger event is determined, and the method comprises the following steps:
Receiving the first instruction, acquiring a clickable element of the browser page through the script, and displaying the trigger event on the clickable element;
receiving the second instruction, matching the second instruction with the trigger event, and determining a target trigger event;
The shortcut key instruction comprises a sixth instruction, a seventh instruction and an eighth instruction, the executing the event processing function corresponding to the target trigger event changes the display content of the browser page, and the method comprises the following steps:
Receiving the sixth instruction, executing an event processing function corresponding to a target trigger event of the sixth instruction, entering a text browsing mode to obtain text paragraphs in the browser page, and displaying the trigger event in each text paragraph;
receiving the seventh instruction, executing an event processing function corresponding to a trigger event matched with the seventh instruction, and inserting a mouse cursor into a text paragraph corresponding to the matched trigger event;
and receiving the eighth instruction, executing an event processing function corresponding to a target trigger event of the eighth instruction, and moving the mouse cursor to select a text so as to edit the text.
2. The full keyboard browser operating method of claim 1, wherein: the shortcut key instruction comprises a scrolling instruction, the event processing function comprises a scrolling function, the shortcut key instruction is matched with the trigger event, a target trigger event is determined, the event processing function corresponding to the target trigger event is executed, and the display content of the browser page is changed, and the method comprises the following steps:
And matching the scrolling instruction with the triggering event, determining a target triggering event, and when a scroll bar is arranged in the browser page, executing a scrolling function corresponding to the target triggering event, and triggering the scroll bar to change the display content of the browser page.
3. The full keyboard browser operating method of claim 1, wherein: the shortcut key instruction comprises a third instruction, a fourth instruction and a fifth instruction, the executing the event processing function corresponding to the target trigger event changes the display content of the browser page, and the method comprises the following steps:
Receiving the third instruction, executing an event processing function corresponding to a target trigger event of the third instruction, and displaying a pop-up window; the pop-up window comprises an input box and a list;
Receiving the fourth instruction, executing an event processing function corresponding to a target trigger event of the fourth instruction, inputting content in the input box to index and match target content from a history record and/or a bookmark according to the input content, and displaying the target content in the list;
and receiving a fifth instruction, executing an event processing function corresponding to a target trigger event of the fifth instruction, and opening the target content in the list.
4. The full keyboard browser operating method of claim 1, wherein: the shortcut key instruction includes a ninth instruction, and the executing the event processing function corresponding to the target trigger event changes the display content of the browser page, including:
Receiving the ninth instruction, executing an event processing function corresponding to a target trigger event of the ninth instruction, positioning a mouse cursor to an input box and entering a text insertion mode; the state of the keyboard in the text insertion mode is a normal input state for canceling the input of the shortcut key instruction.
5. The full keyboard browser operating method of any one of claims 1-4, wherein: the full keyboard browser operation method further comprises the following steps:
responding to a plug-in triggering instruction input through a keyboard, and triggering a setting function of a browser plug-in corresponding to the script;
And setting the trigger event and/or the event processing function in response to a setting instruction input through a keyboard.
6. A full keyboard browser operating apparatus, comprising:
The loading module is used for loading the browser page and executing the script; the script is used for generating preset content according to the browser page, wherein the preset content comprises a trigger event and an event processing function corresponding to the trigger event;
The determining module is used for receiving a shortcut key instruction input through a keyboard, matching the shortcut key instruction with the trigger event and determining a target trigger event;
The execution module is used for executing an event processing function corresponding to the target trigger event and changing the display content of the browser page;
The shortcut key instruction comprises a first instruction and a second instruction, and the determining module is specifically configured to:
Receiving the first instruction, acquiring a clickable element of the browser page through the script, and displaying the trigger event on the clickable element;
receiving the second instruction, matching the second instruction with the trigger event, and determining a target trigger event;
The shortcut key instruction comprises a sixth instruction, a seventh instruction and an eighth instruction, and the execution module is specifically configured to:
Receiving the sixth instruction, executing an event processing function corresponding to a target trigger event of the sixth instruction, entering a text browsing mode to obtain text paragraphs in the browser page, and displaying the trigger event in each text paragraph;
receiving the seventh instruction, executing an event processing function corresponding to a trigger event matched with the seventh instruction, and inserting a mouse cursor into a text paragraph corresponding to the matched trigger event;
and receiving the eighth instruction, executing an event processing function corresponding to a target trigger event of the eighth instruction, and moving the mouse cursor to select a text so as to edit the text.
7. An electronic device comprising a processor and a memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method of any one of claims 1-5.
8. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set, or instruction set being loaded and executed by a processor to implement the method of any of claims 1-5.
CN202210157989.1A 2022-02-21 2022-02-21 Full keyboard browser operation method, device, equipment and storage medium Active CN114579903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210157989.1A CN114579903B (en) 2022-02-21 2022-02-21 Full keyboard browser operation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210157989.1A CN114579903B (en) 2022-02-21 2022-02-21 Full keyboard browser operation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114579903A CN114579903A (en) 2022-06-03
CN114579903B true CN114579903B (en) 2024-05-10

Family

ID=81773159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210157989.1A Active CN114579903B (en) 2022-02-21 2022-02-21 Full keyboard browser operation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114579903B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8468457B1 (en) * 2011-09-30 2013-06-18 Google Inc. Global keyboard shortcuts management for web applications
US8977966B1 (en) * 2011-06-29 2015-03-10 Amazon Technologies, Inc. Keyboard navigation
CN107390992A (en) * 2017-07-21 2017-11-24 北京三快在线科技有限公司 Webpage manipulation exchange method, device and Website server
JP2019020884A (en) * 2017-07-13 2019-02-07 株式会社サテライトオフィス Browser application software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8087033B2 (en) * 2007-08-31 2011-12-27 Yahoo! Inc. Task-based tool for speeding and customizing interactions with web documents

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8977966B1 (en) * 2011-06-29 2015-03-10 Amazon Technologies, Inc. Keyboard navigation
US8468457B1 (en) * 2011-09-30 2013-06-18 Google Inc. Global keyboard shortcuts management for web applications
JP2019020884A (en) * 2017-07-13 2019-02-07 株式会社サテライトオフィス Browser application software
CN107390992A (en) * 2017-07-21 2017-11-24 北京三快在线科技有限公司 Webpage manipulation exchange method, device and Website server

Also Published As

Publication number Publication date
CN114579903A (en) 2022-06-03

Similar Documents

Publication Publication Date Title
US10817175B2 (en) Input device enhanced interface
EP3262497B1 (en) Contextual zoom
Kieras Using the keystroke-level model to estimate execution times
US7549130B2 (en) Pattern-based keyboard controls
KR101163716B1 (en) Previewing documents on a computer system
EP2758894B1 (en) Visual representation of supplemental information for a digital work
RU2554395C2 (en) System and method for selecting tabs within tabbed browser
US7454694B2 (en) Method and system for organizing document information in a non-directed arrangement of documents
JP4270391B2 (en) Multimedia file tooltip
US9811235B2 (en) Cascading inline display and preview of related information for elements in a document
CN107368511B (en) Information display method and device
KR20070097570A (en) Electronic apparatus with a web page browsing function
KR100222362B1 (en) A method for rapid repositioning of a display pointer
US9910835B2 (en) User interface for creation of content works
KR101580003B1 (en) Graphical user interface for non mouse-based activation of links
CN114185465A (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN114579903B (en) Full keyboard browser operation method, device, equipment and storage medium
CN112487340A (en) Innovative technology of extremely-fast simple anti-theft Linux full-screen browser
CN113608645A (en) Innovative technology for switching full-screen or window display and default full-screen browser at blank position of webpage by double-clicking of mouse
CN113778605A (en) Paging comparison method
CN112835502A (en) Page display method, electronic equipment and storage medium
JP3937682B2 (en) Information processing device
CN110502717A (en) A kind of real-time management method of web page tag
CN110119485B (en) Interface access method and device based on bookmark
EP0452692A2 (en) Conditional look ahead valid option determination

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
GR01 Patent grant
GR01 Patent grant