Shortcut key setting method and shortcut key processing method and device in page

A technology of shortcut keys and pages, applied in the Internet field, can solve problems such as difficult maintenance, and achieve the effect of solving difficult maintenance, improving input efficiency, and reducing switching costs.

Pending Publication Date: 2020-07-14
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a method for setting shortcut keys, a method and device for processing shortcut keys in a page, so as to at least solve the technical problem of difficulty in maintenance due to fixed settings in the process of setting shortcut keys in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Shortcut key setting method and shortcut key processing method and device in page
  • Shortcut key setting method and shortcut key processing method and device in page
  • Shortcut key setting method and shortcut key processing method and device in page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] According to an embodiment of the present invention, an embodiment of a shortcut key setting method is also provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0035] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, figure 1 It is a block diagram of hardware structure of a computer terminal according to a shortcut key setting method in an embodiment of the present invention. Such as figure 1 As shown, the computer terminal 10 may include one or more (only one is shown in the figure) processors 102 ...

Embodiment 2

[0067] According to an embodiment of the present invention, there is also provided a device for implementing the above shortcut key setting method, such as Figure 4 as shown, Figure 4 It is a schematic structural diagram of a shortcut key setting device according to Embodiment 2 of the present invention, and the device includes:

[0068] The modifying module 42 is used to change the attribute of the webpage element according to the obtained shortcut key identifier; the setting module 44 is used to set the trigger event and processing function of the shortcut key identifier according to the attribute of the webpage element.

[0069] In the embodiment of the present invention, the method of directly writing the identifier of the shortcut key into the attribute of the webpage element is adopted, and the attribute of the webpage element is changed according to the obtained shortcut key identifier; the triggering event and processing of the shortcut key identifier are set accordi...

Embodiment 3

[0076] According to an aspect of an embodiment of the present invention, a method for processing shortcut keys in a page is provided, Figure 5 It is a flowchart of a method for processing shortcut keys in a page according to Embodiment 3 of the present invention, as shown in Figure 5 shown, including:

[0077] Step S502, load the page, and determine the page elements in the page;

[0078] Step S504, obtaining the shortcut key identification in the page element;

[0079] Step S506, registering the trigger event and processing function identified by the shortcut key.

[0080] Specifically, in combination with steps S502 to S506, the method for processing shortcut keys in the page provided by the embodiment of the present application can be applied to setting shortcut keys during the use of the browser. Changes in the mapping relationship between the key and the corresponding function, resulting in the failure of the shortcut key;

[0081] However, the shortcut key processi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a shortcut key setting method and a shortcut key processing method and device in a page. The method comprises: changing webpage element attributes according to an obtained shortcut key identifier, and setting a trigger event and a processing function of the shortcut key identifier according to the webpage element attribute. The technical problem that in the prior art, maintenance is difficult due to the fact that shortcut keys are fixedly arranged in the shortcut key setting process is solved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method for setting shortcut keys, a method and a device for processing shortcut keys in a page. Background technique [0002] In traditional software (such as word, excel, etc.), shortcut keys are often used to improve the user's efficiency in using the software; with the development of Internet products, website pages and SaaS system pages are becoming more and more complicated. Input form, for complex forms like this, the browser supports the user to switch the input box with the mouse and the keyboard tab key by default, but these two methods are still unable to quickly switch from one input box to another target input box Arrived quickly. [0003] At present, most shortcut keys are implemented in JS code, such as: document.querySelector('input[name=search]').addEventListener('keyup', [0004] function(){}); Disadvantage: This method must use the name or other unique ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/38G06F16/958
CPCG06F8/38G06F16/958
Inventor 万先甲
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products