jasonetorres / my-web-shortcuts

An Open Source Browser Extension used to create custom keyboard shortcuts on any website 🌐⌨️

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note: There are a lot of basic functionalities missing currently, that's why this project has a lot of scope for contributions, star & watch the repository to stay updated, or follow @Prakhartiwari0 on Twitter.

image

My Web Shortcuts

Contributor Covenant

A Browser Extension to create custom keyboard shortcuts on any website. When you click on the Extension icon in the toolbar, you get to select an element to set the shortcut for, and then select the keyboard key to use in order to click on that element. After doing that, just reload the website and you will be able to click on that element just by pressing the key.

First Demo of My Web Shortcuts + Invitation to Contributors!

How to Install the extension

Note: Only Chromium-based browsers like Google Chrome & Brave are supported currently.

Show the Steps
  1. Clone the repository & Open the folder
    git clone "https://github.com/prakhartiwari0/my-web-shortcuts" && cd my-web-shortcuts
  2. Install the Packages using NPM
    npm i
  3. Start the Development Server
    npm run dev
  4. Drag and upload the newly generated dist folder into your Browser
  5. The extension is now installed in the browser, but you need to reload the website to use it.

Features to work on

Type of Element/Location Selection for a Keyboard Shortcut

One can select a single or multiple elements or a location(x,y) on the webpage with a single keyboard shortcut attached to it.

  • singleElement Single Element Clicking: Simply Select an Element to click on.

    • conditionally Click Conditionally:
        1. otherElementExists Click on this Element if some other Element exists.
        1. otherElementDoesNotExist Click on this Element if some other Element doesn't exists.
  • multiElements Multiple Elements Selection: Select multiple elements to click on one by one from the first to the last.

    • atIntervals Select Elements to click in series at desired intervals
    • similar Select Elements to click/focus on all the similar Elements one by one, shift click to reverse (e.g. Google result links, Discord users list etc.)
    • conditionally Select Elements to click conditionally:
        1. currentElementDoesNotExist Click on Next Element if the current Element doesn't exist.
        1. currentElementNotClickable Click on Next Element if the current Element isn't clickable.
  • locateElement Location Selection: Click on the element that exists on the Coordinates.

About

An Open Source Browser Extension used to create custom keyboard shortcuts on any website 🌐⌨️

License:MIT License


Languages

Language:JavaScript 78.9%Language:CSS 13.9%Language:HTML 7.1%