fune/browser/components/newtab/content-src/asrouter
2019-05-21 23:43:23 +00:00
..
components Bug 1552366 - Add placeholder cards, wrapping buttons and bug fixes to Activity Stream r=k88hudson 2019-05-17 13:25:09 +00:00
docs Bug 1548952 - Add offline fallback, request timeouts and bug fixes to Activity Stream r=k88hudson 2019-05-04 05:36:06 +00:00
schemas Bug 1548952 - Add offline fallback, request timeouts and bug fixes to Activity Stream r=k88hudson 2019-05-04 05:36:06 +00:00
templates Bug 1553334 - Add experimentation sizing, card actions and bug fixes to Activity Stream r=r1cky 2019-05-21 23:43:23 +00:00
asrouter-content.jsx Bug 1551751 - Add return telemetry, faster stories and bug fixes to Activity Stream r=r1cky 2019-05-15 02:21:12 +00:00
README.md Bug 1510040 - Add devtool documentation, devdep updates and bug fixes to Activity Stream r=k88hudson 2018-11-27 04:19:47 +00:00
rich-text-strings.js Bug 1510766 - Add AMO firstrun, FxA defaults and bug fixes to Activity Stream r=k88hudson 2018-11-29 05:26:55 +00:00
template-utils.js Bug 1489962 - Add snippets targeting, Pocket tagging and bug fixes to Activity Stream r=Mardak 2018-09-20 18:36:20 +00:00

Activity Stream Router

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

Name Used for Type Example value
whitelistHosts Whitelist 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

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