📄 wac.htm
字号:
if( encodeURIComponent == null ) { // If the encodeURIComponent method has not been defined (MSIE does not // implement this method until version 5.5), emulate it. function encodeURIComponent( s ) { function encodeChar( c ) { function encodeInternalByte( b ) { return( encodeByte( b, 128 ) ); } function encodeByte( b, mask ) { b += mask; return( "%" + b.toString( 16 ).toUpperCase() ); } function numBytes( c ) { if( c <= 127 ) return( 1 ); if( c <= 2047 ) return( 2 ); return( 3 ); } var nb = numBytes( c ); var sOut = ""; for( var i = 1; i < nb; i++ ) { sOut = encodeInternalByte( c & 63 ) + sOut; c = c >>> 6; } var a = new Array( 0, 192, 224 ); sOut = encodeByte( c, a[nb - 1] ) + sOut; return( sOut ); } var sOut = ""; for( var i = 0; i < s.length; i++ ) { var n = s.charCodeAt( i ); if( n < 128 ) { var c = String.fromCharCode( n ); if( "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.!~*'()".indexOf( c ) != -1 ) sOut += c; else sOut += encodeChar( n ); } else sOut += encodeChar( n ); } return( sOut ); }}function openPopup( url, width, height ) { var popupWindow = window.open( url, "popupWindow", "width=" + width + ",height=" + height + ",scrollbars=yes,resizable=yes" ); popupWindow.focus();}function largerImage( url, w, h, p ) { var lpathUrl = url + "&lpath=" + encodeURIComponent(p) + "&w=" + w + "&h=" + h + "&a=" + encodeURIComponent(document.title); openWindow( lpathUrl, "viewlarger", "width=" + w + ",height=" + h + ",fullscreen=no,toolbar=no,menubar=no," + "scrollbars=yes,status=no,resizable=yes,location=no,menubar=no" );}function printerPage() { var toURL; var curURL = "http://" + location.host + location.pathname + location.search; if ( location.search == null || location.search == "" ) toURL = "?"; else toURL = "&"; toURL = curURL + toURL + "printer=1"; openWindow( toURL, "print", "width=438,height=550,fullscreen=no,toolbar=no,menubar=yes,scrollbars=yes,status=no,resizable=yes,location=no" );}function emailPage( url ) { var curURL = "http://" + location.host + location.pathname + location.search; var toURL = url + "&itemURL=" + encodeURIComponent(curURL); openWindow( toURL, "email", "width=420,height=550,scrollbars=no,status=no,resizable=no,toolbar=no,menubar=no" );}function openWindow( url, name, params ) { var w = window.open( url, name, params ); w.focus();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -