@@ -46,7 +46,7 @@ const daltonizerType = document.getElementById('daltonizerType');
4646const daltonizerStrength = document . getElementById ( 'daltonizerStrength' ) ;
4747const previewEnabled = document . getElementById ( 'previewenabled' ) ;
4848const replaceDelay = document . getElementById ( 'replacedelay' ) ;
49- const ytclient = document . getElementById ( 'ytclient' ) ;
49+ // const ytclient = document.getElementById('ytclient');
5050const maxdownloaders = document . getElementById ( 'maxdownloaders' ) ;
5151autoEnableURLSInput . setAttribute ( 'autocapitalize' , 'off' ) ;
5252autoEnableURLSInput . setAttribute ( 'autocomplete' , 'off' ) ;
@@ -72,7 +72,7 @@ if (!EnvUtils.isExtension()) {
7272 autoEnableURLSInput . disabled = true ;
7373 customSourcePatterns . disabled = true ;
7474 miniSize . disabled = true ;
75- ytclient . disabled = true ;
75+ // ytclient.disabled = true;
7676 autoplayNext . disabled = true ;
7777}
7878
@@ -109,7 +109,7 @@ async function loadOptions(newOptions) {
109109 setSelectMenuValue ( visChangeAction , Options . visChangeAction ) ;
110110 setSelectMenuValue ( miniPos , Options . miniPos ) ;
111111 setSelectMenuValue ( qualityMenu , Options . defaultQuality ) ;
112- setSelectMenuValue ( ytclient , Options . defaultYoutubeClient ) ;
112+ // setSelectMenuValue(ytclient, Options.defaultYoutubeClient);
113113
114114 if ( Options . visChangeAction === VisChangeActions . MINI_PLAYER ) {
115115 showWhenMiniSelected . style . display = '' ;
@@ -219,10 +219,10 @@ createSelectMenu(qualityMenu, Object.values(DefaultQualities), Options.defaultQu
219219 optionChanged ( ) ;
220220} ) ;
221221
222- createSelectMenu ( ytclient , Object . values ( YoutubeClients ) , Options . defaultYoutubeClient , null , ( e ) => {
223- Options . defaultYoutubeClient = e . target . value ;
224- optionChanged ( ) ;
225- } ) ;
222+ // createSelectMenu(ytclient, Object.values(YoutubeClients), Options.defaultYoutubeClient, null, (e) => {
223+ // Options.defaultYoutubeClient = e.target.value;
224+ // optionChanged();
225+ // });
226226
227227document . querySelectorAll ( '.option' ) . forEach ( ( option ) => {
228228 option . addEventListener ( 'click' , ( e ) => {
0 commit comments