fune/browser/components/newtab/content-src/asrouter
2022-09-27 18:58:57 +00:00
..
components Bug 1727319 - Part 2 - Remove intermediary variables in _theme.scss. r=Mardak 2021-09-16 21:50:29 +00:00
docs Bug 1792344 - Add targeting in ASRouter for distributions. r=Mardak,mkaply 2022-09-27 18:58:57 +00:00
schemas Bug 1790444 - Allow to localize action title in Toast Notification actions messages. r=barret 2022-09-14 17:47:24 +00:00
templates Bug 1790444 - Allow to localize action title in Toast Notification actions messages. r=barret 2022-09-14 17:47:24 +00:00
asrouter-content.jsx Bug 1705855 - Fix newtab padding r=thecount 2021-05-21 00:27:42 +00:00
asrouter-utils.js Bug 1673109 - Get rid of unused dismissById function on ASRouterUtils. r=andreio 2020-11-06 20:45:52 +00:00
README.md
rich-text-strings.js Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs 2019-07-10 12:03:37 +00:00
template-utils.js Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs 2019-07-10 12:03:37 +00:00

Activity Stream Router

Preferences browser.newtab.activity-stream.asrouter.*

Name Used for Type Example value
allowHosts Allow a host in order to fetch messages from its endpoint [String] ["gist.github.com", "gist.githubusercontent.com", "localhost:8000"]
providers.snippets Message provider options for snippets Object see below
providers.cfr Message provider options for cfr Object see below
providers.onboarding Message provider options for onboarding Object see below
useRemoteL10n Controls whether to use the remote Fluent files for l10n, default as true Boolean `[true

Message providers examples

{
  "id" : "snippets",
  "type" : "remote",
  "enabled": true,
  "url" : "https://snippets.cdn.mozilla.net/us-west/bundles/bundle_d6d90fb9098ce8b45e60acf601bcb91b68322309.json",
  "updateCycleInMs" : 14400000
}
{
  "id" : "onboarding",
  "enabled": true,
  "type" : "local",
  "localProvider" : "OnboardingMessageProvider"
}

Snippet message format documentation