"activity"widgets + widgetConfigs fields on initialSetup{
"...": "...",
"widgets": [
{"...": "..."},
{"id": "activity"}
],
"widgetConfigs": [
{"...": "..."},
{"id": "activity", "visibility": "visible" }
]
}
activity_getData{
"activity": [
{
"favicon": "<any img url>",
"url": "https://www.youtube.com",
"title": "youtube.com",
"etldPlusOne": "youtube.com",
"favorite": true,
"trackersFound": true,
"trackingStatus": {
"trackerCompanies": [{ "displayName": "Adobe Analytics" }],
"totalCount": 0
},
"history": [
{
"title": "Electric Callboy - Hypa Hypa (OFFICIAL VIDEO) - YouTube",
"url": "https://youtube.com/watch?v=abc",
"relativeTime": "Just now"
}
]
}
]
}
Notes:
- on macOS, history.title should be a path-like string to match current implementations
- etldPlusOne will be used for fallback favicons/colors, so the logic should match the NTP
activity_getConfigactivity_getUrls{
"urls": ["..."],
"totalTrackersBlocked": 123
}
activity_getDataForUrlsactivity_getData, where DomainActivity items are delivered under .activity{
"activity": [
{"...": "..."}
]
}
activity_confirmBurnSends
{ "url": "..." }
Response:
{ "action": "burn" }
Response (do nothing)
{ "action": "none" }
If { "action": "burn" } is returned, the burn animation will play, and will follow
by sending the notification activity_burnAnimationComplete
activity_onDataUpdateactivity_onDataPatch{
"urls": ["..."],
"totalTrackersBlocked": 123
}
{
"urls": ["..."],
"totalTrackersBlocked": 123,
"patch": {
"...": "..."
}
}
activity_onConfigUpdateactivity_setConfig{
"expansion": "collapsed"
}
activity_addFavorite{ "url": "..." }activity_removeFavorite{ "url": "..." }activity_removeItem{ "url": "..." }activity_openexample payload (with id):
{
"url": "https://example.com/path",
"target": "same-tab"
}
example payload without id (for example, on history items)
{
"url": "https://example.com/path",
"target": "same-tab"
}
activity_burnAnimationComplete