autopass.exp代码:
#!/bin/sh
set timeout 20
set result 0
set command [lindex $argv 0]
set password [lindex $argv 1]
set is_yesno 0;
set is_expect 0;
eval "spawn $command";
expect {
"*yes/no*" {
set is_yesno 1;
set is_expect 1;
send "yes\r";
...
Articles on Web Caching
Stephen Pierzchala
Caching for Performance — NEW!
Caching and Compression for Performance
Caching for Performance — Stephen Pierzchala
Caching for Performance (Presentation) — Stephen Pierzchala
Web Caching Sites
Squid Proxy Cache
Mark Nottingham's Site — Home of the Web Cacheability...
When assigning a new "href" to an Anchor Element, if this Anchor Element has no childNodes except textNodes which contain strings of URI (http://foo) or Email (foo@bar), then the innerHTML of the Anchor Elemen will change to its "href" when a new "href" is applied.
当给<a>标签的href赋值时,如果该标签除了文本外没有其他内容,并且文本中包含http://foo或者Email,那么标签的innerHTML将被href的内容覆盖!
解决方案:方法1:先对href赋值...