|
楼主 |
发表于 2024-8-10 23:49
|
显示全部楼层
本帖最后由 dwxiayi 于 2024-9-5 18:24 编辑
- // ==UserScript==
- // [url=home.php?mod=space&uid=68258]@name[/url] test
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // [url=home.php?mod=space&uid=199731]@match[/url] http://*/html/amp/wlanbasic/e8cWlanBasic.asp*
- // @match http://192.168.1.*
- // [url=home.php?mod=space&uid=325126]@icon[/url] https://www.google.com/s2/favicons?sz=64&domain=cnblogs.com
- // [url=home.php?mod=space&uid=20108]@grant[/url] none
- // ==/UserScript==
- (function() {
- 'use strict';
- window.addParameter1 = function(Form) {
- Form.addParameter('y.Enable',getCheckVal('wlEnable'));
- var ssid;
- ssid = ltrim(getValue('WlanSsid_text'));
- if (ssid == '')
- {
- AlertEx(cfg_wlancfgother_language['amp_empty_ssid']);
- return false;
- }
- if (ssid.length > 32)
- {
- AlertEx(cfg_wlancfgother_language['amp_ssid_check1'] + ssid + cfg_wlancfgother_language['amp_ssid_too_loog']);
- return false;
- }
- Form.addParameter('y.SSID',ssid);
- }
- window.isCliPwdEnabled = function() {
- return true;
- }
- window.isCliPwdBoxVisible = function() {
- return true;
- }
- window.updateCliPwdBoxVisiblity = function() {
- getElementById('cliPasswordRow').style.display = "";
- getElementById('CfmCliPasswordRow').style.display = "";
- }
- window.FltsecLevel = 'CUSTOM';
- window.ttnet = '1';
- })();
复制代码
|
|