An experiment with opening mobile views of pages in the sidebar
Use npm install
, then npm start
.
To use the build intended for a Shield Study use SHIELD=1 npm run build
To use the build intended for addons.mozilla.org (as opposed to Test Pilot) use npm run build-amo
Check out the repository. Go to about:debugging
in Firefox, and select Load Temporary Add-on. Select a file in the addon/
directory.
Or: install web-ext
(like npm i -g web-ext
) and run web-ext run -s addon/ --browser-console -f nightly
The version of the addon in the production branch is built into a signed XPI (clicking on this link will install the add-on).
This adds a context menu item: Open in sidebar or Open link in sidebar. Select that, and the sidebar will be opened with a mobile view of the page.
The QA/test plan is documented in this document.
Anthony_f's Sidebar for Google Search inspired this add-on's approach.