Browser Mirror
Horizontally mirror the current browser tab or its main video area. Works in Mozilla Firefox, Google Chrome, Opera, and Yandex Browser.
Build
npm run build
This creates browser-specific packages under dist/:
dist/firefox/— load as a temporary extension inabout:debugging, or package as a.zipfor addons.mozilla.org.dist/chrome/— load as an unpacked extension atchrome://extensionswith Developer mode enabled, or package as a.zipfor the Chrome Web Store.dist/opera/— combined Opera/Yandex package. It provides a native sidebar and toolbar popup in Opera, and a toolbar popup in Yandex Browser.
Install for development
Run npm run build first, then follow the instructions for your browser.
Firefox
- Open
about:debugging. - Select This Firefox.
- Click Load Temporary Add-on….
- Select
dist/firefox/manifest.json. - Open the Browser Mirror sidebar from its toolbar button. Temporary add-ons are removed when Firefox restarts.
Chrome
- Open
chrome://extensions. - Turn on Developer mode in the upper-right corner.
- Click Load unpacked.
- Select the
dist/chrome/folder. - Optionally pin Browser Mirror from Chrome's Extensions menu. After rebuilding, return to
chrome://extensionsand click Reload on its extension card.
Opera
- Open
opera://extensions. - Turn on Developer mode.
- Click Load unpacked.
- Select the
dist/opera/folder. - Open Browser Mirror from Opera's sidebar for a persistent panel, or from the toolbar for a temporary popup. Pin the sidebar panel in Opera to keep it open while switching tabs. After rebuilding, return to
opera://extensionsand reload the extension.
Yandex Browser
- Open
browser://extensions. - Turn on Developer mode.
- Click Load unpacked extension.
- Select the
dist/opera/folder. If the file chooser requires a file, selectdist/opera/manifest.json. - Open Browser Mirror from its toolbar button. Yandex ignores Opera's sidebar declaration and uses the included popup. After rebuilding, return to
browser://extensionsand reload the extension; if no reload control is available, remove it and load it again.
Usage
- Open the extension from the toolbar or sidebar icon to show its sidebar, side panel, or popup.
- Click Mirror page to flip the entire active tab horizontally.
- Click Mirror video to flip only the largest visible video element (e.g. the main player on YouTube, Vimeo, or any page with a
<video>tag). - Click the same button again to restore the original orientation.
- Click Reset all tabs to restore the original orientation of every mirrored page and video in all open tabs.
The toolbar also contains:
- an interface-language selector (English, Spanish, Italian, French, German, Russian, Korean, Japanese, Chinese),
- a theme toggle (dark / light).
The sidebar refreshes automatically when you switch tabs, so it always shows the mirror state of the tab currently in focus.
Install permanently in Firefox
Temporary add-ons loaded via about:debugging are removed when Firefox restarts. To keep Browser Mirror installed across restarts, package dist/firefox/ as a .zip and submit it to addons.mozilla.org to receive a signed .xpi.
If you want to publish it publicly, choose On this site during submission so it appears on the Firefox Add-ons website and updates automatically for users.
Privacy
Browser Mirror does not collect, store, or transmit any data. See PRIVACY.md for the full privacy policy.
Architecture
The project structure mirrors the browser-translations extension:
src/— source files shared between browsers.manifests/— Manifest V3 configurations for Firefox, Chrome, and the combined Opera/Yandex package.build.js— copies shared source files and the right manifest intodist/[browser]/.
