• afoutopatisaOP
    link
    2
    edit-2
    10 months ago

    This should be as easy as document.getElementsByClassName("form-select w-auto d-inline-block")[0].selectedIndex = 38, I gave it a try and works on console but can’t get it to select after DOM load. I’ll give it another try once I have the time and create a separate script as this is outside the scope of the original script ;)

    • @TCB13
      link
      English
      110 months ago

      Doesn’t seem to work on mine tho.

      Uncaught TypeError: Cannot set properties of undefined (setting 'selectedIndex')
          at :1:87