| AboutPreferences.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs"
|
22583 |
- |
| ActivityStream.sys.mjs |
@import {RegionLocaleEntries} from "moz-src:///toolkit/modules/RegionLocaleMap.sys.mjs" |
87486 |
- |
| ActivityStreamMessageChannel.sys.mjs |
@type {Function} |
13113 |
- |
| ActivityStreamPrefs.sys.mjs |
@type {new (args?: object) => Omit<typeof Preferences, "_branchStr"> & { _branchStr: string }} |
3776 |
- |
| actors |
|
|
- |
| AdsClient.sys.mjs |
@import {MozAdsCacheConfig, MozAdsCallbackOptions, MozAdsClient, MozAdsEnvironment, MozAdsRequestOptions, MozAdsTelemetry} from "moz-src:///toolkit/components/uniffi-bindgen-gecko-js/components/generated/RustAdsClient.sys.mjs"
|
11746 |
- |
| AdsFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
20376 |
- |
| cache.worker.js |
global ReactDOMServer, NewtabRenderUtils |
6671 |
- |
| DefaultSites.sys.mjs |
|
1584 |
- |
| DiscoveryStreamFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
105774 |
- |
| DownloadsManager.sys.mjs |
null for non-private downloads |
5795 |
- |
| ExternalComponentsFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
6512 |
- |
| FaviconFeed.sys.mjs |
|
627 |
- |
| FrecencyBoostProvider |
|
|
- |
| HighlightsFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
10735 |
- |
| ImportHelper.sys.mjs |
Helper so the new tab extension can easily trainhop while we convert
modules from resource:// to moz-src:// URIs.
@param {string} module
The full moz-src URI to import.
@param {string} [fallbackResourcePath ="resource://gre/modules/"]
The resource url prefix to use for fallback import if moz-src fails.
The helper will suffix _only_ the module filename to this path.
|
990 |
- |
| InferredModel |
|
|
- |
| InferredPersonalizationFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
26710 |
- |
| NewTabActorRegistry.sys.mjs |
Fission-compatible JSWindowActor implementations.
Detailed documentation of these options is in dom/docs/ipc/jsactors.rst,
available at https://firefox-source-docs.mozilla.org/dom/ipc/jsactors.html
|
2291 |
- |
| NewTabAttributionFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
5340 |
- |
| NewTabAttributionService.sys.mjs |
@import {ObjectStore} from "resource://gre/modules/IndexedDB.sys.mjs" |
16045 |
- |
| NewTabContentPing.sys.mjs |
Set the maximum number of events to send in a 24 hour period
@param {number} maxEvents
|
17223 |
- |
| NewTabGleanUtils.sys.mjs |
Module for managing Glean telemetry metrics and pings in the New Tab page.
This object provides functionality to:
- Read and parse JSON configuration files containing metrics and ping definitions
- Register metrics and pings at runtime
- Convert between different naming conventions (dotted snake case, kebab case, camel case)
- Handle metric and ping registration with proper error handling and logging
|
11766 |
- |
| NewTabInit.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
1737 |
- |
| NewTabMessaging.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
5723 |
- |
| PersistentCache.sys.mjs |
A file (disk) based persistent cache of a JSON serializable object.
|
2547 |
- |
| PlacesFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
14977 |
- |
| PrefsFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
43321 |
- |
| RemoteRenderer.sys.mjs |
@import {DeferredTask} from "resource://gre/modules/DeferredTask.sys.mjs"
@import {RemoteSettingsClient} from "resource://services-settings/RemoteSettingsClient.sys.mjs"
|
24311 |
- |
| Screenshots.sys.mjs |
Get a screenshot / thumbnail for a url. Either returns the disk cached
image or initiates a background request for the url.
@param url {string} The url to get a thumbnail
@return {Promise} Resolves a custom object or null if failed
|
5117 |
- |
| SectionsLayoutFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
18859 |
- |
| SectionsManager.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
15667 |
- |
| SiteClassifier.sys.mjs |
classifySite
Classifies a given URL into a category based on classification data from RemoteSettings.
The data from remote settings can match a category by one of the following:
- match the exact URL
- match the hostname or second level domain (sld)
- match query parameter(s), and optionally their values or prefixes
- match both (hostname or sld) and query parameter(s)
The data looks like:
[{
"type": "hostname-and-params-match",
"criteria": [
{
"url": "https://matchurl.com",
"hostname": "matchhostname.com",
"sld": "secondleveldomain",
"params": [
{
"key": "matchparam",
"value": "matchvalue",
"prefix": "matchpPrefix",
},
],
},
],
"weight": 300,
},...]
|
3297 |
- |
| SmartShortcutsFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
3846 |
- |
| SmartShortcutsRanker |
|
|
- |
| SponsoredTopSitesScoreProvider |
|
|
- |
| StartupCacheInit.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
7206 |
- |
| Store.sys.mjs |
Store - This has a similar structure to a redux store, but includes some extra
functionality to allow for routing of actions between the Main processes
and child processes via a ActivityStreamMessageChannel.
It also accepts an array of "Feeds" on inititalization, which
can listen for any action that is dispatched through the store.
|
5853 |
- |
| SystemTickFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
1926 |
- |
| TelemetryFeed.sys.mjs |
eslint no-console: ["error", { allow: ["error"] }] |
127173 |
- |
| TemporaryMerinoClientShim.sys.mjs |
eslint-disable no-eq-null |
28962 |
- |
| TopSitesFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
98031 |
- |
| TopStoriesFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
23506 |
- |
| Wallpapers |
|
|
- |
| WeatherFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
16914 |
- |
| WebNotificationsFeed.sys.mjs |
@import {Store} from "resource://newtab/lib/Store.sys.mjs" |
16721 |
- |
| Widgets |
|
|
- |