Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions entries/browser-gestures.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"id": "browser-gestures",
"displayName": "Browser Gestures",
"description": "Swipe two fingers on the trackpad to go back and forward in the BB browser. A dark arrow slides in from the edge as you swipe, and the page changes when you lift your fingers; pull back to cancel. Vertical scrolling and horizontal scrollers that can still move keep working as before. Requires the BB desktop app and a trackpad.",
"icon": {
"url": "./icons/browser-gestures-ee0b6231.svg"
},
"screenshots": [
"./screenshots/browser-gestures/swipe-ready.jpg",
"./screenshots/browser-gestures/swipe-in-progress.jpg"
],
"overview": "./overview/browser-gestures.md",
"tags": [
"browser",
"trackpad",
"gestures",
"swipe",
"back-forward",
"history",
"navigation",
"macos"
],
"author": {
"name": "Nikolai Berezovskii",
"github": "brzvsk",
"url": "https://github.com/brzvsk"
},
"category": "utilities",
"source": {
"git": {
"url": "https://github.com/brzvsk/bb-plugins.git",
"subdir": "plugins/browser-gestures",
"range": "^0.1.0",
"tagPrefix": "browser-gestures/"
}
}
}
1 change: 1 addition & 0 deletions icons/browser-gestures-ee0b6231.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions overview/browser-gestures.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## What you get

- **Back and forward by swipe.** Swipe two fingers right to go back, left to go forward, in any BB desktop browser tab.
- **A Chrome-style arrow.** A dark circle slides in from the edge as you swipe. It turns solid when the swipe is long enough, and navigation happens when you lift your fingers. Pull back before lifting to cancel.
- **Scrolling stays scrolling.** Vertical scrolling is never treated as a gesture. Carousels, code blocks and other horizontal scrollers keep the swipe while they can still move; at their edge, a fresh swipe navigates.
- **Nothing to configure.** No toolbar button or settings; disable the plugin to turn gestures off.

## Limits

- Works in the BB desktop app's browser only, on the top-level page. Cross-origin iframes do not receive the gesture.
- Pages cannot tell when fingers leave the trackpad. If you hold your fingers completely still with the arrow fully out, navigation happens after about 0.6 seconds.
- Built on the experimental browser page API, so a future BB release may need a plugin update.

## Privacy

The plugin reads only scroll movement. It does not read page content, send data anywhere, or need an account.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/browser-gestures/swipe-ready.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading