Greasy Fork is available in English.

华为ModelArt自动续期

华为ModelArt自动续期,适用于北京4免费节点。

  1. // ==UserScript==
  2. // @name 华为ModelArt自动续期
  3. // @version 1.0
  4. // @namespace https://greasyfork.org/users/773473
  5. // @license Apache2.0
  6. // @description 华为ModelArt自动续期,适用于北京4免费节点。
  7. // @author LittleJake
  8. // @match https://authoring-modelarts-cnnorth4.huaweicloud.com/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=huaweicloud.com
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. setInterval(function(){
  16. document.querySelector('#lease-dur button').click();
  17. document.querySelector('.MuiDialogActions-root button').click();
  18. console.log("已续期")
  19. }, 60*1000*10);
  20. })();