Skip to content

[fix] Properly disable the model switcher instead of just hiding it #8

Description

@NextDev65

When the model switcher is turned off in the settings, the script should do more than just hide the UI element.
It needs to completely disable the functionality by:

  • Restoring the default window.fetch behavior to prevent the model from being overridden in requests.
  • Potentially removing the <select> element and its associated event listeners from the DOM, rather than just setting display: none.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions