missav timetcontroler adjustment for mobile

On the mobile end, adapt and optimize missav's time control to facilitate interaction.

  1. // ==UserScript==
  2. // @name missav timetcontroler adjustment for mobile
  3. // @namespace http://tampermonkey.net/
  4. // @version 2023-12-15
  5. // @description On the mobile end, adapt and optimize missav's time control to facilitate interaction.
  6. // @author CCC
  7. // @match https://missav.com/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=missav.com
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. // Your code here...
  17.  
  18. let container = document.querySelector('.order-first >div > div:nth-child(2)');
  19. let spans = container.querySelectorAll('span');
  20.  
  21. container.classList.add('flex-col')
  22. for (let i = 0; i < spans.length; i++) {
  23. // 对每个 span 元素进行操作,比如添加类名或修改样式
  24. spans[i].classList.add('pt-4');
  25. }
  26. })();