Documentation page
Installation
Installation
Install from the Chrome Web Store
- Open the Aninag Mobile listing in the Chrome Web Store.
- Click Add to Chrome.
- Confirm the permissions prompt.
- After installation, click the extension icon in the Chrome toolbar.
- Select a device and orientation to start previewing.
Install locally in Chrome
- Download or clone this repository.
- Open Chrome and go to
chrome://extensions. - Turn on Developer mode.
- Click Load unpacked.
- Select the project folder.
- The extension will be added to Chrome and can be used immediately.
Desktop companion setup
For the frameless floating phone experience, install the desktop dependencies and start the companion app:
npm install
npm start -- --url=https://your-site.test --device=iphone --orientation=portrait
Native Messaging setup
Chrome requires a one-time Native Messaging registration before the extension can launch the desktop companion.
- Load the extension in Chrome.
- Copy the extension ID from the extension details page.
- Run:
npm run setup:native -- YOUR_EXTENSION_ID
- Reload the extension in Chrome.
After setup, the preview action can open the Electron window automatically.
Notes
- The extension reads cookies for the previewed site so logged-in sessions can continue in the mobile preview.
- Only cookies for the previewed domain and parent domains are transferred.
- LocalStorage and IndexedDB are not copied from Chrome into the companion preview.