Skip to content

About

Transform browsing with intuitive mouse gestures - navigate, manage tabs & search with fluid mouse movements

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

πŸ–±οΈ QuickGestures

Transform your browsing with intuitive mouse gestures

A powerful Chrome extension that brings fluid mouse gesture navigation to your browser. Draw simple patterns to navigate, manage tabs, search text, and control your browsing experience like never before.

Chrome Extension TypeScript Manifest V3

Website: deneblab.github.io/QuickGestures Β· Installation guide Β· Privacy policy

QuickGestures: a gesture drawn down and then right closes the tab


✨ Key Features

🎯 Multi-Context Gestures

  • Page Gestures - Right-click gestures for page navigation
  • Link Gestures - Direct link manipulation without modifiers
  • Selection Gestures - Text-specific actions on selected content

🚫 Site Exclusions

  • Wildcard pattern support (*.example.com/*)
  • Flexible URL matching for selective disabling
  • Real-time exclusion updates

πŸ‘οΈ Visual Feedback

  • Real-time gesture overlay with customizable colors
  • Live gesture name display during drawing
  • Context indicators and visual confirmations
  • High contrast mode for accessibility

πŸ“‘ Tab Order Control

  • Configure where new tabs open (right/left of current, far right, or default)
  • Control new tab state (foreground, background, or default)
  • Choose focus behavior after closing a tab (left, right, last active, or default)

βš™οΈ Fully Customizable

  • Complete gesture mapping editor
  • Visual arrow symbols (β¬…βž‘β¬†β¬‡) instead of letters
  • Adjustable sensitivity and thresholds
  • Custom search engine integration

πŸš€ Quick Start

Install QuickGestures from the Chrome Web Store, or see the installation guide for all options. To build it yourself:

Installation

  1. Clone the repository

    git clone https://github.com/DenebLab/QuickGestures.git
    cd QuickGestures
  2. Build the extension

    npm install
    npm run build
  3. Load in Chrome

    • Open chrome://extensions/
    • Enable "Developer mode"
    • Click "Load unpacked" β†’ Select dist folder

Basic Usage

  1. Page Navigation: Right-click and drag

    • β¬… Go back | ➑ Go forward | ⬆ Scroll top | ⬇ Scroll bottom
  2. Link Actions: Left-click and drag on any link

    • ➑ Open in background | β¬… Open in foreground | ⬆ Open in new window
  3. Text Operations: Select text, then left-click and drag

    • ➑ Search in new tab | β¬… Search current tab

πŸ“‹ Default Gesture Maps

🌐 Page Gestures (Right Mouse Button)
Gesture Action Description
β¬… Go Back Navigate to previous page
➑ Go Forward Navigate to next page
⬆ Scroll Top Jump to top of page
⬇ Scroll Bottom Jump to bottom of page
β¬…βž‘ New Tab Open new tab
βž‘β¬… Close Tabs Right Close tabs to the right
⬇⬆ Reopen Tab Restore last closed tab
β¬‡βž‘ Close Tab Close current tab
⬆⬅ Switch Tab Left Move to previous tab
β¬†βž‘ Switch Tab Right Move to next tab
πŸ”— Link Gestures (No modifier required)
Gesture Action Description
➑ Background Tab Open link in background tab
β¬… Foreground Tab Open link in foreground tab
⬆ New Window Open link in new window
πŸ“ Selection Gestures (No modifier required)
Gesture Action Description
➑ Search New Tab Search selected text in new tab
β¬… Search Current Search selected text in current tab

βš™οΈ Configuration

Appearance Settings

  • Line Color: Customize gesture trail color
  • Line Width: Adjust trail thickness (1-10px)
  • High Contrast: Enhanced visibility mode
  • Show Context Chip: Display context indicators
  • Show Gesture Name: Real-time gesture name display

Context Controls

  • Page Gestures: Enable/disable right-click gestures (on macOS and Linux, right-click twice quickly to open the context menu)
  • Link Gestures: Enable/disable link-specific actions
  • Selection Gestures: Enable/disable text selection actions
  • Movement Thresholds: Adjust sensitivity settings

Tab Order

  • On tab open β€” Position: Follow default, right of current tab, left of current tab, far right end
  • On tab open β€” State: Follow default, open in foreground, open in background
  • After tab close β€” Position: Follow default, go to left tab, go to right tab, go to last active tab

Site Exclusions

  • Add wildcard patterns to disable gestures on specific sites
  • Examples: *.test.com/*, https://example.com/admin/*
  • Real-time pattern matching and updates

πŸ› οΈ Development

Prerequisites

  • Node.js 24+ (latest LTS)
  • npm or yarn
  • Chrome browser
  • .NET 10 SDK for the full build (build.cmd / build.sh installs a local copy if it is missing)

Setup

# Install dependencies
npm install

# Development build with watch mode
npm run dev

# Production build
npm run build

# Clean build artifacts
npm run clean

Full build and package

The release build uses Fallout (src/build/) and abcversion for the version:

./build.sh      # Linux/macOS
.\build.cmd     # Windows

It typechecks, bundles into dist/, sets the version in dist/manifest.json and creates output/quickgestures-v<version>.zip. Run ./build.sh --help for all targets.

Documentation

Project documentation available in docs/:

Key Technologies

  • TypeScript - Type-safe development
  • esbuild - Fast bundling and compilation
  • Chrome Extensions API - Manifest V3 compliance
  • Canvas API - Gesture visualization
  • Chrome Storage - Settings persistence

πŸ”’ Privacy & Security

QuickGestures is designed with privacy in mind:

  • βœ… 100% Local Processing - All gesture recognition happens locally
  • βœ… No Data Collection - No analytics or tracking
  • βœ… No External Requests - No communication with external servers
  • βœ… Open Source - Full code transparency
  • βœ… Minimal Permissions - Only essential Chrome APIs used

Read the full privacy policy.

Required Permissions

  • storage - Save your gesture settings and preferences (Chrome may sync them across your devices if Chrome Sync is on)
  • tabs - Tab management actions (new, close, switch, reopen) and tab order control
  • scripting - Gesture detection and page interactions (scrolling)
  • sessions - Restore recently closed tabs with reopen gesture
  • Website Access (http://*/*, https://*/*) - Enable gestures on all sites

πŸ”’ Privacy: All processing is local - no data collection, tracking, or external communication.
πŸ“– Details: See privacy-policy.md for complete privacy information.


πŸ’‘ Feature Requests

  • Check existing issues first
  • Describe the use case and expected behavior

πŸ“œ License

MIT License - see LICENSE file for details.


πŸ”— Links


πŸ™ Acknowledgments

  • Inspired by classic mouse gesture extensions
  • Built with modern Chrome Extension APIs
  • Community feedback and contributions

⭐ Star this repository if QuickGestures enhances your browsing experience!

Report Bug β€’ Request Feature

About

Transform browsing with intuitive mouse gestures - navigate, manage tabs & search with fluid mouse movements

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages