Clear UESTC Eams Timeout

清除电子科大教务系统的 setTimeouts,可以有效提升教务系统流畅性,减轻学校服务器压力,热爱成电从我做起

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name Clear UESTC Eams Timeout
// @name:zh 清除电子科大教务系统的 setTimeouts
// @description 清除电子科大教务系统的 setTimeouts,可以有效提升教务系统流畅性,减轻学校服务器压力,热爱成电从我做起 
// @match *://eams.uestc.edu.cn/*
// @grant none
// @version 0.0.1.20171228090812
// @namespace https://greasyfork.org/users/164794
// ==/UserScript==

function clear() {
  var e=setTimeout(clear, 2000);
  for(i=0;i<=e;i++){
    console.log('clear' + i);
    clearTimeout(i);
  }  
}

clear()