AILYZE Filter Script

Filter AILYZE website elements

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         AILYZE Filter Script
// @namespace    tampermonkey.org
// @version      1.0
// @description  Filter AILYZE website elements
// @match        https://www.ailyze.com/ailyze/*
// @grant        none
// ==/UserScript==

(function() {
  'use strict';

  // Localizar o elemento de upload de arquivo
  var uploadInput = document.querySelector('input[type="file"]');

  // Verificar se o elemento foi encontrado
  if (uploadInput) {
    // Fazer algo com o elemento de upload
    // ...
  }

  // Localizar o elemento select com id "id_analysis_type"
  var analysisTypeSelect = document.querySelector('select#id_analysis_type');

  // Verificar se o elemento foi encontrado
  if (analysisTypeSelect) {
    // Fazer algo com o elemento select
    // ...
  }

  // Localizar o elemento select com id "id_summary_type"
  var summaryTypeSelect = document.querySelector('select#id_summary_type');

  // Verificar se o elemento foi encontrado
  if (summaryTypeSelect) {
    // Fazer algo com o elemento select
    // ...
  }

  // Localizar o elemento de instruções opcionais
  var optionalInstructionsInput = document.querySelector('textarea#id_optional_instructions');

  // Verificar se o elemento foi encontrado
  if (optionalInstructionsInput) {
    // Fazer algo com o elemento de instruções opcionais
    // ...
  }

  // Localizar o elemento select com id "id_language"
  var languageSelect = document.querySelector('select#id_language');

  // Verificar se o elemento foi encontrado
  if (languageSelect) {
    // Fazer algo com o elemento select
    // ...
  }

  // Localizar o elemento select com id "id_response_length"
  var responseLengthSelect = document.querySelector('select#id_response_length');

  // Verificar se o elemento foi encontrado
  if (responseLengthSelect) {
    // Fazer algo com o elemento select
    // ...
  }

  // Localizar o elemento de instruções de resposta desejada
  var responseInstructionsInput = document.querySelector('textarea#id_response_instructions');

  // Verificar se o elemento foi encontrado
  if (responseInstructionsInput) {
    // Fazer algo com o elemento de instruções de resposta desejada
    // ...
  }

  // Outras localizações e tratamentos de erros podem ser adicionados conforme necessário

})();