File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
java/org/schabi/newpipe/util/potoken Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 177177
178178 const botguard = await BotGuardClient . create ( {
179179 globalName : challengeData . globalName ,
180- globalObj : globalThis ,
180+ globalObj : this ,
181181 program : challengeData . program
182182 } ) ;
183183
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ class PoTokenWebView private constructor(
9898 try {
9999 data = JSON.parse(String.raw`$responseBody `)
100100 result = await runBotGuard(data)
101- globalThis .webPoSignalOutput = result.webPoSignalOutput
101+ this .webPoSignalOutput = result.webPoSignalOutput
102102 $JS_INTERFACE .onRunBotguardResult(result.botguardResponse)
103103 } catch (error) {
104104 $JS_INTERFACE .onJsInitializationError(error.toString())
@@ -139,7 +139,7 @@ class PoTokenWebView private constructor(
139139 webView.evaluateJavascript(
140140 """ (async function() {
141141 try {
142- globalThis .integrityToken = JSON.parse(String.raw`$responseBody `)
142+ this .integrityToken = JSON.parse(String.raw`$responseBody `)
143143 $JS_INTERFACE .onInitializationFinished(integrityToken[1])
144144 } catch (error) {
145145 $JS_INTERFACE .onJsInitializationError(error.toString())
You can’t perform that action at this time.
0 commit comments