-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b67b3c
commit fb809eb
Showing
1,144 changed files
with
355,983 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
16,234 changes: 16,234 additions & 0 deletions
16,234
Sources/ContentScopeScripts/dist/contentScopeIsolated.js
Large diffs are not rendered by default.
Oops, something went wrong.
1,105 changes: 1,105 additions & 0 deletions
1,105
Sources/ContentScopeScripts/dist/pages/duckplayer/dist/index.css
Large diffs are not rendered by default.
Oops, something went wrong.
3,821 changes: 3,821 additions & 0 deletions
3,821
Sources/ContentScopeScripts/dist/pages/duckplayer/dist/index.js
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
Sources/ContentScopeScripts/dist/pages/duckplayer/dist/inline.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"use strict"; | ||
(() => { | ||
// pages/duckplayer/src/inline.js | ||
var param = new URLSearchParams(window.location.search).get("platform"); | ||
if (isAllowed(param)) { | ||
document.documentElement.dataset.platform = String(param); | ||
} else { | ||
document.documentElement.dataset.platform = "apple"; | ||
} | ||
function isAllowed(input) { | ||
const allowed = ["windows", "apple", "integration"]; | ||
return allowed.includes(input); | ||
} | ||
})(); |
Oops, something went wrong.