mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 22:47:18 +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
|
//adds all the player controls buttons
|
||||||
async function createButtons() {
|
async function createButtons() {
|
||||||
|
// Don't add controls on Invidious yet
|
||||||
|
if (onInvidious) return;
|
||||||
|
|
||||||
let result = await wait(getControls).catch();
|
let result = await wait(getControls).catch();
|
||||||
|
|
||||||
//set global controls variable
|
//set global controls variable
|
||||||
|
|||||||
Reference in New Issue
Block a user