mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
f0c47c12cb
MozReview-Commit-ID: AOsjcvuuWCZ --HG-- extra : rebase_source : 0022ae4deb828518083bc85e06d1b245ceac9fcf |
||
---|---|---|
.. | ||
content | ||
locales | ||
test/browser | ||
bootstrap.js | ||
install.rdf.in | ||
jar.mn | ||
moz.build | ||
README.md |
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.