有的网页中给<input>加上了 autocomplete=off, firefox就不会记住用户输入的内容. 要让 Firefox 记住任意网站密码: 1) Windows 用户:找到 C:\Program Files\Mozilla Firefox\components\nsLoginManager.js 2) 然后搜索 _isAutocompleteDisabled,将 "return true;" 修改为 "return false;" 修改后, 如下图所示: 3) 重启Firefox. 以后更新到新版本的Firefox, 需要重新做相应修改 Firefox会弹出一个对话框, 询问是否将记住的旧密码修改为新密码, 一般我们都会选’修改’. 让Firefox自动修改新的密码: 1) Windows 用户:找到 C:\Program Files\Mozilla Firefox\components\nsLoginManagerPrompter.js 2) 查找 this._showLoginNotification(aNotifyBox, "password-change" 将相关行注释掉, 并加上 "pwmgr.addLogin(aNewLogin);" 修改后, 如下图所示: 3) 重启Firefox. 以后更新到新版本的Firefox, 需要重新做相应修改. Ref: [...]
Posts Tagged ‘tips’
让Firefox记住任意网站密码 & 让Firefox自动修改新密码
Posted in Developer, tagged firefox, tips on 2011/01/19 | Leave a Comment »
How to Cleanup failed IBM Systems Director 6.x Installation on AIX
Posted in Uncategorized, tagged Director, testing, tips on 2010/03/11 | Leave a Comment »
Symptom The installation of Dircector 6.x failed (just hung there). Then re-run dirinstall.server, saying: Installation Summary ——————– Name Level Part Event Result ———————————————————————- DirectorCommonAgent 6.x.0.0 ROOT APPLY FAILED DirectorCommonAgent 6.x.0.0 ROOT CLEANUP SUCCESS Installation of IBM Systems Director Server did not complete successfully. And run “installp –C” can’t solve this issue. Solution # smit maintain_software select [...]
Log4J Levels: ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
Posted in Uncategorized, tagged java, log4j, tips on 2009/11/17 | Leave a Comment »
Loggers may be assigned levels. The set of possible levels, that is DEBUG, INFO, WARN, ERROR and FATAL are defined in the org.apache.log4j.Level class. If a given logger is not assigned a level, then it inherits one from its closest ancestor with an assigned level. The root logger resides at the top of the logger [...]
Make work in both XML and HTML
Posted in Uncategorized, tagged escape, HTML, tips, Web, XML on 2008/11/19 | 1条评论»
HTML has many predefined entities, but XML has only five predefined entities: & (& or “ampersand”) < (< or “less than”) > (> or “greater than”) ' (‘ or “apostrophe”) " (” or “quotation mark”) “& #160;” is the decimal form of “& nbsp;” which represents a “Non-Breaking Space” in HTML/XHTML, whilst “& #xA0;” is [...]
When launching a rails 2.0 app, error occurs: C:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:319:in `activate’: can’t activate activerecord (= 1.15.6), already activated activerecord-2.0.2] (Gem::Exception) To fix this, simply uninstall old rails gem by executing: gem cleanup ref: http://www.ruby-forum.com/topic/137509