An open API service indexing awesome lists of open source software.

https://github.com/saihon/focus-input-element

A browser extension that focuses on the next or previous HTML input element when the shortcut key is pressed.
https://github.com/saihon/focus-input-element

browser-addon browser-extension chrome chrome-extension firefox firefox-addon firefox-extension firefox-webextension

Last synced: 3 months ago
JSON representation

A browser extension that focuses on the next or previous HTML input element when the shortcut key is pressed.

Awesome Lists containing this project

README

          

# focus-input-element

Overview:

Pressing the shortcut key moves the cursor to the text box on the Web page.

The default shortcut keys:

- Next input box: F2
- Previous input box: Shift+F2
- Unfocus: F4
- First input box: Default unspecified
- Last input box: Default unspecified

Features:

- Press the key repeatedly to move to the next or previous input box.
- Focus is available on the nearest input box in the active area of the scrolled page.
- Markers allow you to locate the input box.
- These settings can be changed on the Options page.


# Install

Installation via ADD-ONS Mozilla
https://addons.mozilla.org/en-US/firefox/addon/focus-input-element/

Installation via Chrome Web Store
https://chrome.google.com/webstore/detail/focus-input-element/pehdagiekdjhnojgbbcnckoojejiojgn


# Development


### Build

- Download dependencies

```
npm install
```

- Build for FireFox

```
npm run build-firefox
```

- Build for Chrome
```
npm run build-chrome
```


### Debug

- Download dependencies

```
npm install
```

- Run webpack

```
npx webpack --watch
```

- Debugging
```
npx web-ext run -s ./dist
```