Statement scripts

Automate click-and-click statement scripts

  1. // ==UserScript==
  2. // @name Statement scripts
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-02-02
  5. // @description Automate click-and-click statement scripts
  6. // @author women
  7. // @match https://greasyfork.org/zh-CN/users/1255849-womenhao
  8. // @match *://*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=greasyfork.org
  10. // @license AGPL-3.0
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. (
  15. function() {
  16. 'use strict';
  17. // Create the feature box HTML element
  18. var featureBox = document.createElement('div');
  19. featureBox.className = 'feature-box';
  20.  
  21. // Add some content to the box
  22. var inputLabel = document.createElement('label');
  23. inputLabel.htmlFor = 'feature-box-input';
  24. inputLabel.textContent = 'Enter your text here:';
  25.  
  26. var inputBox = document.createElement('input');
  27. inputBox.id = 'feature-box-input';
  28. inputBox.type = 'text';
  29.  
  30. var button = document.createElement('button');
  31. button.textContent = 'Submit';
  32.  
  33. featureBox.appendChild(inputLabel);
  34. featureBox.appendChild(inputBox);
  35. featureBox.appendChild(button);
  36.  
  37.  
  38. // Append the feature box to the page
  39. document.body.appendChild(featureBox);
  40.  
  41.  
  42.  
  43.  
  44. }
  45.  
  46. )
  47.  
  48. ();