- 替代 PAC,实现根据规则区分选择代理线路
- 支持 SOCKS5 和 Shadowsocks 协议
- 完整支持所有的 Shadowsocks 加密方式 (table, rc4-md5, salsa20, chacha20, aes-256-cfb, aes-192-cfb, aes-128-cfb, bf-cfb, cast5-cfb, des-cfb, rc2-cfb, rc4, seed-cfb)
- 全面支持双向 HTTP Keep-Alvie
- 快,各种黑科技加速
- 直接临时修改某个域名的访问规则 (暂时仅 Mac 版本)
- 支持使用 GeoIP 规则决定线路
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Drop in replace functions for setTimeout() & setInterval() that | |
make use of requestAnimationFrame() for performance where available | |
http://www.joelambert.co.uk | |
Copyright 2011, Joe Lambert. | |
Free to use under the MIT license. | |
http://www.opensource.org/licenses/mit-license.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In case you embed a webview in a native app and the native app has a navigation bar you may find | |
// swiping up from the webview to the header (and releasing your finger on the header) will not fire | |
// a 'touchend' event on the webview. | |
// | |
// This code fixes it in a way where we listen for 'touchmove' events and fire a 'touchend' event | |
// programmatically in case the user leaves the webview at the top (negative Y coordinate): | |
document.addEventListener("touchmove", function(e) { | |
if (e.changedTouches[0].pageY < 0) { | |
e.preventDefault(); |