Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

add referrer to transitions event, fixing #290 #291

Merged
merged 2 commits into from
Jul 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/content-scripts/pageTransition.event.content.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ import { fromMonotonicClock } from "../timing.js";
type: "webScience.pageTransition.contentScriptEventUpdate",
pageId: pageManager.pageId,
url: pageManager.url,
referrer: pageManager.referrer,
isHistoryChange,
isOpenedTab,
openerTabId,
Expand Down
1 change: 1 addition & 0 deletions src/pageTransition.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ async function initialize() {
schema: {
pageId: "string",
url: "string",
referrer: "string",
isHistoryChange: "boolean",
isOpenedTab: "boolean",
openerTabId: "number",
Expand Down