您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove IE restriction on NTCE website.
当前为
- // ==UserScript==
- // @name UnblockNTCE
- // @namespace http://tampermonkey.net/
- // @version 1.0
- // @description Remove IE restriction on NTCE website.
- // @author Shuhao
- // @license MIT
- // @match http*://*.neea.edu.cn/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
- // @run-at document-start
- // ==/UserScript==
- (function() {
- 'use strict';
- var code = "window.ActiveXObject = true;";
- var script = document.createElement('script');
- script.appendChild(document.createTextNode(code));
- (document.head||document.documentElement).appendChild(script);
- script.parentNode.removeChild(script);
- const table = document.getElementsByTagName("table");
- window.onload = function(){
- table[0].style.width = "1000px";
- table[0].style.margin = "0 auto";
- table[0].style.textAlign = "left";
- table[0].style.left = "50%";
- };
- })();