MCPcopy Create free account
hub / github.com/codecombat/codecombat / allowIframeTracking

Function allowIframeTracking

app/views/podcast/trackPlayMixin.js:17–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 }
16 },
17 allowIframeTracking () {
18 // without this blur, second click on any other iframe wont be tracked
19 setTimeout(() => {
20 document.activeElement?.blur()
21 }, 3000)
22 },
23 storageKey (podcastId) {
24 return `podcast-played-${podcastId}-${me.get('_id')}`
25 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected