您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fix the new Mikrotik UI so that all sections are open and extended to the full width of the window as it used to be before.
// ==UserScript== // @name Mikrotik WebFig Unfold Extend // @homepage https://gist.github.com/Endeer/246c9aeb2051a022830a47ed3fed0c8d // @version 1.0 // @author Ender Wiggin // @description Fix the new Mikrotik UI so that all sections are open and extended to the full width of the window as it used to be before. // @grant none // @include http://*/webfig/* // @namespace https://github.com/Endeer/ // @license MIT // ==/UserScript== setInterval( function() { if(document.body.className.search(/(^| )serve-formToggle( |$)/) == -1) { document.getElementById("formToggle").onclick(); } var coll = document.getElementsByTagName("thead"); for(var i = 0; i < coll.length; i++) { if(coll[i].className.search(/(^| )folded( |$)/) !== -1) { coll[i].onclick(); } } }, 1000 );