Add option to disable sponsorblock.

This commit is contained in:
FireMasterK
2021-02-25 20:10:40 +05:30
parent 3e0eea6ddb
commit 058f0d4e8c
2 changed files with 20 additions and 10 deletions

View File

@@ -295,14 +295,9 @@ export default {
});
},
async getSponsors() {
this.fetchSponsors().then(data => (this.sponsors = data));
if (!localStorage || localStorage.getItem("sponsorblock") !== false)
this.fetchSponsors().then(data => (this.sponsors = data));
}
}
};
</script>
<style>
.vjs-current-time {
display: block;
}
</style>