diff --git a/src/options.ts b/src/options.ts index e963a683..2034aff5 100644 --- a/src/options.ts +++ b/src/options.ts @@ -430,7 +430,7 @@ function invidiousInstanceAddInit(element: HTMLElement, option: string) { let instanceList = Config.config[option]; if (!instanceList) instanceList = []; - instanceList.push(textBox.value); + instanceList.push(textBox.value.trim().toLowerCase()); Config.config[option] = instanceList;