Skip to content

Instantly share code, notes, and snippets.

@ty-cs
Last active August 16, 2017 19:01
Show Gist options
  • Save ty-cs/95a13f89d35281ae3fff1952b1460187 to your computer and use it in GitHub Desktop.
Save ty-cs/95a13f89d35281ae3fff1952b1460187 to your computer and use it in GitHub Desktop.
have a look at Autumn courses ahead of time...
(() => {
const iframe = document.createElement('iframe');
iframe.style.display = "none";
iframe.id = "hit";
iframe.src = 'https://vpn.hit.edu.cn/,DanaInfo=jwts.hit.edu.cn/kbcx/queryGrkb';
document.body.appendChild(iframe);
const subWindow = document.getElementById('hit').contentWindow;
subWindow.document.getElementById('xnxq').value = '2017-20181';
subWindow.exportExcel();
//if failed, just try again!
})();
@ty-cs
Copy link
Author

ty-cs commented Aug 16, 2017

if first time failed, then try again! XD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment