Greasy Fork 支持简体中文。

SSL Accelerator

Speculatively performs SSL/TLS handshakes for hovered links to speed up browsing.

作者
Anon 2
今日安裝
0
安裝總數
1,920
評價
11 0 0
版本
0.1.8
建立日期
2014-08-22
更新日期
2014-09-02
尺寸
2.0 KB
授權條款
CC0 1.0 Universal
腳本執行於
所有網站

Accelerates navigation to secure websites by performing SSL/TLS handshakes in advance right before the links are actually clicked.

The TLS handshake is a lengthy, multi-roundtrip process that initiates a secure connection between the client and server. It includes negotiation of ciphers, generation of private keys, exchange and authentication of public keys, certificates and symmetric keys. The script will try to perform all that in advance by sending an HTTP HEAD request to the base path of the host when a secure link is hovered. When the link is eventually loaded, the browser will either perform an abbreviated handshake or none at all.

Note: If you're interested in following the script's activity, it logs messages to the web console, like this:

Handshaking with "www.adobe.com"..
Successfully handshaked with "www.adobe.com" in 822ms. 

Please note that the effect is relatively minor! This is mostly an experiment!
Feedback is welcomed!

TODO:

  • Inspect raw TCP packets to investigate how effective this is in various browsers and configurations.
  • Modify script not to depend on any external libraries (will remove any general browser slowdowns caused by loading the script's dependencies).