Great GPA For ZJU JWBINFOSYS

麻麻再也不用担心我的GPA

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name          Great GPA For ZJU JWBINFOSYS
// @namespace     http://zzeyu.com
// @description   麻麻再也不用担心我的GPA
// @include       http://jwbinfosys.zju.edu.cn/*


// @version 0.0.1.20150410032319
// ==/UserScript==
var tab = document.getElementById("DataGrid1");  //找到这个表格
var rows = tab.rows;               //取得这个table下的所有行
for(var i=1;i<rows.length;i++)
{
   for(var j=0;j<rows[i].cells.length;j++)
   {   
     if(j!=2 && j!=4 && j!=5) continue;
     var cell=rows[i].cells[j];
     if(j==2) cell.innerHTML="100";
     if(j==4) cell.innerHTML="5";
	 if(j==5) cell.innerHTML="&nbsp";
   }
}