crossbind
GitHub
← All extensions

page-feel

A page that behaves as an app's own view, not as a web page.

Package @crossbind/extension-page-feelnpm ↗Source ↗

It comes with @crossbind/core-app-host: there is nothing to install or list.

What it does

The pagePhonesDesktop
Zoom, by a pinch, a double tap or focusing a small inputOffOff on Windows, where Ctrl and the wheel zoom the page
The window moving past its edgesOnly where the page scrollsOff
Selecting text, and the I-beam over itOnly in what its user editsOnly in what its user edits
The menu of a long press or a right clickOnly on what its user editsOnly on what its user edits
Dragging an image or a link outOffOff
The grey flash of a tapOff
A tapped element staying :hoverIts :hover styles show as pressed, while the finger is down
Windows' status bar, autofill, swipe navigation and browser keysOff in a build for its users

A build for development keeps the right-click menu, for Inspect Element, and on Windows the browser's keys.

Every style it adds loses to any rule of the app's, so the app can undo it where it wants:

css
.article {
-webkit-user-select: text;
user-select: text;
cursor: text;
}
html {
overscroll-behavior: auto;
}

An app that names maximum-scale or user-scalable in its own viewport keeps its zoom.

Platforms

macOS, iOS, Android, Linux and Windows.

Replace or leave out

It holds the role page-feel. An extension with replaces: 'page-feel' takes it; app: { without: ['page-feel'] } in crossbind.config.js leaves it out, and the page behaves as in a browser.

Type to search every guide page and section.
↑↓ navigate↵ openesc close