mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 06:27:14 +03:00
Prevented upload button from appearing on invidious.
It still appears if the video player controls are disabled.
This commit is contained in:
@@ -756,6 +756,9 @@ function getControls() {
|
||||
|
||||
//adds all the player controls buttons
|
||||
async function createButtons() {
|
||||
// Don't add controls on Invidious yet
|
||||
if (onInvidious) return;
|
||||
|
||||
let result = await wait(getControls).catch();
|
||||
|
||||
//set global controls variable
|
||||
|
||||
Reference in New Issue
Block a user