Skip to content

Commit ba3f802

Browse files
committed
fix: fixed userscript
1 parent 6fa4e35 commit ba3f802

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/plugins/youtube-music-background-play/userscript.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { observe } from '../../lib/filters'
22

3-
export function nonStop() {
3+
function nonStop() {
44
Object.defineProperty(document, 'hidden', {
55
get: () => false,
66
configurable: true,
@@ -86,3 +86,5 @@ export function nonStop() {
8686
},
8787
)
8888
}
89+
90+
nonStop()

0 commit comments

Comments
 (0)