Browser based potokens

This commit is contained in:
Brahim Hadriche committed 2026-06-26 13:06:51 -04:00
1 parent 5e798f19de
commit 63f9ac693a
27 files changed
+722 -499

No files matched your search

@@ -1406,12 +1406,16 @@ function ReportVideoError(errorData as object, url as dynamic, urls as object, u
}]
end if
potAttached = "false"
potSource = "none"
loggedIn = "false"
content = m.top.content
if content <> invalid
if ValidBool(content.potAttached)
potAttached = "true"
end if
if not StringUtils.IsNullOrEmpty(content.potSource)
potSource = content.potSource
end if
if ValidBool(content.loggedIn)
loggedIn = "true"
end if
@@ -1426,10 +1430,12 @@ function ReportVideoError(errorData as object, url as dynamic, urls as object, u
"Urls: " + FormatJson(urls)
`Url index: ${urlIndex}`
`pot_attached: ${potAttached}`
`pot_source: ${potSource}`
`logged_in: ${loggedIn}`
].Join(Chr(10))
errorData.fingerprint.Push(shownInDialog)
errorData.fingerprint.Push(potAttached)
errorData.fingerprint.Push(potSource)
errorData.fingerprint.Push(loggedIn)
if shownInDialog
level = "error"