mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
310f612a4a
MozReview-Commit-ID: 6uLfRFf6GB5 --HG-- extra : rebase_source : bab9c478d6127d8b9bb422fce38239722cfed55a
609 B
609 B
Onboarding
System addon to provide the onboarding overlay for user friendly tours.
Architecture
Everytime about:home
or about:newtab
page is opened, onboarding overlay is injected into that page (if browser.onboarding.enabled
preference is true
).
Landing rules
We would apply some rules:
- Avoid
chrome://
inonbaording.js
since onboarding is intented to be injected into a normal content process page. - All styles and ids should be formated as
onboarding-*
to avoid conflict with the origin page. - All strings in
locales
should be formated asonboarding.*
for consistency.