1. 其他Tips

  • 不让浏览器缓存 response['Cache-Control']='max-age=0'
  • 自动登录Windows2000
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon 
    DefaultUserName=
    DefaultPassword=
    AutoAdminLogon=1
    
  • 子页面取得对应的iframe对象:frameElement
  • 获取iframe所指向的窗口对象:[1]oiframe.contentWindow [2]window.frames[oiframe]