AILYZE Filter Script

Filter AILYZE website elements

  1. // ==UserScript==
  2. // @name AILYZE Filter Script
  3. // @namespace tampermonkey.org
  4. // @version 1.0
  5. // @description Filter AILYZE website elements
  6. // @match https://www.ailyze.com/ailyze/*
  7. // @grant none
  8. // ==/UserScript==
  9.  
  10. (function() {
  11. 'use strict';
  12.  
  13. // Localizar o elemento de upload de arquivo
  14. var uploadInput = document.querySelector('input[type="file"]');
  15.  
  16. // Verificar se o elemento foi encontrado
  17. if (uploadInput) {
  18. // Fazer algo com o elemento de upload
  19. // ...
  20. }
  21.  
  22. // Localizar o elemento select com id "id_analysis_type"
  23. var analysisTypeSelect = document.querySelector('select#id_analysis_type');
  24.  
  25. // Verificar se o elemento foi encontrado
  26. if (analysisTypeSelect) {
  27. // Fazer algo com o elemento select
  28. // ...
  29. }
  30.  
  31. // Localizar o elemento select com id "id_summary_type"
  32. var summaryTypeSelect = document.querySelector('select#id_summary_type');
  33.  
  34. // Verificar se o elemento foi encontrado
  35. if (summaryTypeSelect) {
  36. // Fazer algo com o elemento select
  37. // ...
  38. }
  39.  
  40. // Localizar o elemento de instruções opcionais
  41. var optionalInstructionsInput = document.querySelector('textarea#id_optional_instructions');
  42.  
  43. // Verificar se o elemento foi encontrado
  44. if (optionalInstructionsInput) {
  45. // Fazer algo com o elemento de instruções opcionais
  46. // ...
  47. }
  48.  
  49. // Localizar o elemento select com id "id_language"
  50. var languageSelect = document.querySelector('select#id_language');
  51.  
  52. // Verificar se o elemento foi encontrado
  53. if (languageSelect) {
  54. // Fazer algo com o elemento select
  55. // ...
  56. }
  57.  
  58. // Localizar o elemento select com id "id_response_length"
  59. var responseLengthSelect = document.querySelector('select#id_response_length');
  60.  
  61. // Verificar se o elemento foi encontrado
  62. if (responseLengthSelect) {
  63. // Fazer algo com o elemento select
  64. // ...
  65. }
  66.  
  67. // Localizar o elemento de instruções de resposta desejada
  68. var responseInstructionsInput = document.querySelector('textarea#id_response_instructions');
  69.  
  70. // Verificar se o elemento foi encontrado
  71. if (responseInstructionsInput) {
  72. // Fazer algo com o elemento de instruções de resposta desejada
  73. // ...
  74. }
  75.  
  76. // Outras localizações e tratamentos de erros podem ser adicionados conforme necessário
  77.  
  78. })();