AILYZE Filter Script

Filter AILYZE website elements

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==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

})();