GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — opt-file/Advanced_Extensions_chinadns_ngasp at master · HiSecret/opt-file Expand file tree/ Copy pathAdvanced_Extensions_chinadns_ngaspMore file actions 252 lines (224 loc) · 14.1 KB / Copy pathAdvanced_Extensions_chinadns_ngaspFile metadata and controls252 lines (224 loc) · 14.1 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 <!DOCTYPE html> <!--app19_ver=2020-02-03=--> <html> <head> <title><#Web_Title#> - chinadns_ng</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Expires" content="-1"> <link rel="shortcut icon" href="images/favicon.ico"> <link rel="icon" href="images/favicon.png"> <link rel="stylesheet" type="text/css" href="/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="/bootstrap/css/main.css"> <link rel="stylesheet" type="text/css" href="/bootstrap/css/engage.itoggle.css"> <script type="text/javascript" src="/jquery.js"></script> <script type="text/javascript" src="/bootstrap/js/bootstrap.min.js"></script> <script type="text/javascript" src="/bootstrap/js/engage.itoggle.min.js"></script> <script type="text/javascript" src="/state.js"></script> <script type="text/javascript" src="/general.js"></script> <script type="text/javascript" src="/itoggle.js"></script> <script type="text/javascript" src="/popup.js"></script> <script type="text/javascript" src="/help.js"></script> <script> var $j = jQuery.noConflict(); $j(document).ready(function() { init_itoggle('app_102',change_chinadns_ng_enable); init_itoggle('app_106',change_smartdns_enable); }); </script> <script> function initial(){ show_banner(1); show_menu(8,<% nvram_get_x("", "chinadns_ng_L2"); %>,<% nvram_get_x("", "chinadns_ng_L3"); %>); show_footer(); change_chinadns_ng_enable(1); change_smartdns_enable(1); if (!login_safe()) textarea_scripts_enabled(0); } function textarea_scripts_enabled(v){ inputCtrl(document.form['scripts.app_23.sh'], v); } function applyRule(){ // if(validForm()){ showLoading(); document.form.action_mode.value = " Apply "; document.form.current_page.value = "/Advanced_Extensions_app19.asp"; document.form.next_page.value = ""; document.form.submit(); // } } function done_validating(action){ refreshpage(); } function change_chinadns_ng_enable(mflag){ var m = document.form.app_102.value; var is_chinadns_ng_enable = (m == "1") ? "更新规则" : "更新程序"; document.form.updatechinadns_ng.value = is_chinadns_ng_enable; } function change_smartdns_enable(mflag){ var m = document.form.app_106[0].checked; var mm = (m == "0") ? "1" : "0"; showhide_div("chinadns_dnss1_tr", mm); showhide_div("chinadns_dnss2_tr", m); showhide_div("row_smartdns_script", m); } function button_updatechinadns_ng(){ change_chinadns_ng_enable(1); var $j = jQuery.noConflict(); $j.post('/apply.cgi', { 'action_mode': ' updateapp19 ', }); } </script> </head> <body onload="initial();" onunLoad="return unload_body();"> <div class="wrapper"> <div class="container-fluid" style="padding-right: 0px"> <div class="row-fluid"> <div class="span3"><center><div id="logo"></div></center></div> <div class="span9" > <div id="TopBanner"></div> </div> </div> </div> <div id="Loading" class="popup_bg"></div> <iframe name="hidden_frame" id="hidden_frame" src="" width="0" height="0" frameborder="0"></iframe> <form method="post" name="form" id="ruleForm" action="/start_apply.htm" target="hidden_frame"> <input type="hidden" name="current_page" value="Advanced_Extensions_app19.asp"> <input type="hidden" name="next_page" value=""> <input type="hidden" name="next_host" value=""> <input type="hidden" name="sid_list" value="APP;LANHostConfig;General;"> <input type="hidden" name="group_id" value=""> <input type="hidden" name="action_mode" value=""> <input type="hidden" name="action_script" value=""> <input type="hidden" name="wan_ipaddr" value="<% nvram_get_x("", "wan0_ipaddr"); %>" readonly="1"> <input type="hidden" name="wan_netmask" value="<% nvram_get_x("", "wan0_netmask"); %>" readonly="1"> <input type="hidden" name="dhcp_start" value="<% nvram_get_x("", "dhcp_start"); %>"> <input type="hidden" name="dhcp_end" value="<% nvram_get_x("", "dhcp_end"); %>"> <div class="container-fluid"> <div class="row-fluid"> <div class="span3"> <!--Sidebar content--> <!--=====Beginning of Main Menu=====--> <div class="well sidebar-nav side_nav" style="padding: 0px;"> <ul id="mainMenu" class="clearfix"></ul> <ul class="clearfix"> <li> <div id="subMenu" class="accordion"></div> </li> </ul> </div> </div> <div class="span9"> <!--Body content--> <div class="row-fluid"> <div class="span12"> <div class="box well grad_colour_dark_blue"> <h2 class="box_head round_top">chinadns_ng</h2> <div class="round_bottom"> <div class="row-fluid"> <div id="tabMenu" class="submenuBlock"></div> <div class="alert alert-info" style="margin: 10px;">欢迎使用 ChinaDNS-NG 来解决DNS污染。(来自 <a href="https://github.com/zfl9" target="blank">zfl9</a> 的 ChinaDNS 重构版本) <div>启动ChinaDNS-NG后自动设置dnsmasq只向ChinaDNS-NG查询解析。</div> <div>SS用ChinaDNS-NG查询时,则需要设置SS【DNS 服务模式选择 dnsmasq】、本地代理端口:8053</div> <div>运行【 chinadns_ng -h 】查询使用方法</div> <div><a href="https://github.com/zfl9/chinadns-ng/" target="blank">项目地址: https://github.com/zfl9/chinadns-ng/</a></div> <div>当前 app 文件:【<% nvram_get_x("", "app19_ver"); %>】,最新 app 文件:【<% nvram_get_x("", "app19_ver_n"); %>】 </div> <span style="color:#FF0000;" class=""></span></div> <table width="100%" align="center" cellpadding="4" cellspacing="0" class="table"> <tr> <th colspan="4" style="background-color: #E3E3E3;">ChinaDNS-NG</th> </tr> <tr id="chinadns_ng_enable_tr" > <th width="30%">chinadns-ng 开关</th> <td> <div class="main_itoggle"> <div id="app_102_on_of"> <input type="checkbox" id="app_102_fake" <% nvram_match_x("", "app_102", "1", "value=1 checked"); %><% nvram_match_x("", "app_102", "0", "value=0"); %> /> </div> </div> <div style="position: absolute; margin-left: -10000px;"> <input type="radio" value="1" name="app_102" id="app_102_1" class="input" value="1" onClick="change_chinadns_ng_enable(1);" <% nvram_match_x("", "app_102", "1", "checked"); %> /><#checkbox_Yes#> <input type="radio" value="0" name="app_102" id="app_102_0" class="input" value="0" onClick="change_chinadns_ng_enable(1);" <% nvram_match_x("", "app_102", "0", "checked"); %> /><#checkbox_No#> </div> </td> <td colspan="1"> <input class="btn btn-success" style="width:80px" type="button" name="updatechinadns_ng" value="更新程序" onclick="button_updatechinadns_ng()" /> </td> <td colspan="1"> <span style="color:#888;">版本:<% nvram_get_x("","chinadns_ng_v"); %></span> </td> </tr> <tr id="chinadns_dnss1_tr" style="display:none;"> <th style="border: 0 none;">命令选项:</th> <td style="border: 0 none;" colspan="3"> <input style="width: 420px;" type="text" maxlength="512" class="input" size="60" name="app_103" placeholder=" -n -b 0.0.0.0 -c 223.5.5.5 -t 127.0.0.1#55353 --chnlist-first -m /opt/app/chinadns_ng/chnlist.txt -g /opt/app/chinadns_ng/gfwlist.txt " value="<% nvram_get_x("","app_103"); %>" onKeyPress="return is_string(this,event);" /> </td> </tr> <tr id="chinadns_dnss2_tr" style="display:none;"> <th style="border: 0 none;">命令选项:(当SmartDNS启用时)</th> <td style="border: 0 none;" colspan="3"> <input style="width: 420px;" type="text" maxlength="512" class="input" size="60" name="app_107" placeholder=" -n -b 0.0.0.0 -c 127.0.0.1#8051 -t 127.0.0.1#8052 --chnlist-first -m /opt/app/chinadns_ng/chnlist.txt -g /opt/app/chinadns_ng/gfwlist.txt " value="<% nvram_get_x("","app_107"); %>" onKeyPress="return is_string(this,event);" /> </td> </tr> <tr id="chinadns_port_tr" > <th style="border: 0 none;">ChinaDNS-NG本地代理端口:</th> <td style="border: 0 none;"> <input type="text" maxlength="512" class="input" size="60" name="app_6" placeholder="8053" value="<% nvram_get_x("","app_6"); %>" onKeyPress="return is_string(this,event);" /> </td> </tr> <tr> <th colspan="4" style="background-color: #E3E3E3;">SmartDNS</th> </tr> </table> <div class="alert alert-info" style="margin: 10px;">SmartDNS 是一个运行在本地的DNS服务器,SmartDNS接受本地客户端的DNS查询请求,从多个上游DNS服务器获取DNS查询结果,并将访问速度最快的结果返回给客户端,提高网络访问速度。 <div><a href="https://github.com/pymumu/smartdns/" target="blank">项目地址: https://github.com/pymumu/smartdns/</a></div> <span style="color:#FF0000;" class=""></span></div> <table width="100%" align="center" cellpadding="4" cellspacing="0" class="table"> <tr id="smartdns_enable_tr" > <th width="30%" style="border: 0 none;">SmartDNS 开关</th> <td style="border: 0 none;"> <div class="main_itoggle"> <div id="app_106_on_of"> <input type="checkbox" id="app_106_fake" <% nvram_match_x("", "app_106", "1", "value=1 checked"); %><% nvram_match_x("", "app_106", "0", "value=0"); %> /> </div> </div> <div style="position: absolute; margin-left: -10000px;"> <input type="radio" value="1" name="app_106" id="app_106_1" class="input" value="1" onClick="change_smartdns_enable(1);" <% nvram_match_x("", "app_106", "1", "checked"); %> /><#checkbox_Yes#> <input type="radio" value="0" name="app_106" id="app_106_0" class="input" value="0" onClick="change_smartdns_enable(1);" <% nvram_match_x("", "app_106", "0", "checked"); %> /><#checkbox_No#> </div> </td> <td colspan="2" style="border: 0 none;"> <span style="color:#888;">版本:<% nvram_get_x("","smartdns_v"); %></span> </td> </tr> <tr id="row_smartdns_script" style="display:none;"> <td colspan="4" style="border-top: 0 none;"> <i class="icon-hand-right"></i> <a href="javascript:spoiler_toggle('app_23_script')"><span>点这里自定义 SmartDNS 配置</span></a> <div id="app_23_script" style="display:none;"> <textarea rows="18" wrap="off" spellcheck="false" maxlength="2097152" class="span12" name="scripts.app_23.sh" style="font-family:'Courier New'; font-size:12px;"><% nvram_dump("scripts.app_23.sh",""); %></textarea> </div> </td> </tr> <tr> <td colspan="4" style="border-top: 0 none;"> <br /> <center><input class="btn btn-primary" style="width: 219px" type="button" value="<#CTL_apply#>" onclick="applyRule()" /></center> </td> </tr> </table> </div> </div> </div> </div> </div> </div> </div> </div> </form> <div id="footer"></div> </div> </body> </html> |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |