Fix sponsorblock.

This commit is contained in:
FireMasterK 2021-02-25 21:15:26 +05:30
parent a1ff5c53ce
commit 531804af94
No known key found for this signature in database
GPG key ID: 8DFF5DD33E93DB58

View file

@ -132,7 +132,12 @@ export default {
"?category=" + "?category=" +
(localStorage (localStorage
? encodeURIComponent( ? encodeURIComponent(
"[" + localStorage.getItem("selectedSkip") + "]" '["' +
localStorage
.getItem("selectedSkip")
.split(",")
.join('","') +
'"]'
) )
: encodeURIComponent( : encodeURIComponent(
'["sponsor", "interaction", "selfpromo", "music_offtopic"]' '["sponsor", "interaction", "selfpromo", "music_offtopic"]'