aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.ts')
-rw-r--r--src/player.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/player.ts b/src/player.ts
deleted file mode 100644
index ea0e541..0000000
--- a/src/player.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-export default function with_player (): Promise<HTMLElement> {
- return new Promise(function(resolve) {
- const interval = setInterval(
- function() {
- const player = document.querySelector('.NFPlayer.nf-player-container');
-
- if (player) {
- clearInterval(interval);
-
- resolve(player);
- }
- },
- 1000
- );
- });
-}