|
阅读:4091回复:5
firefox某些网页账号和密码的记录问题?
用firefox在登陆起点中文网、新浪邮箱等网站时,它并没有跳出记录账号和密码的选项,请问如何能让这些受加密的网站也能被记录账号和密码,因为这些网页登陆次数比较多,也不是很重要,所以可以忽略安全性的考虑。
|
|
|
1楼#
发布于:2008-12-17 13:58
没人知道吗?高手帮忙解答一下!
|
|
|
2楼#
发布于:2008-12-17 13:58
试试以下代码
javascript:(function(){var%20ca,cea,cs,df,dfe,i,j,x,y;function%20n(i,what){return%20i+"%20"+what+((i==1)?"":"s")}ca=cea=cs=0;df=document.forms;for(i=0;i<df.length;++i){x=df[i];dfe=x.elements;if(x.onsubmit){x.onsubmit="";++cs;}if(x.attributes["autocomplete"]){x.attributes["autocomplete"].value="on";++ca;}for(j=0;j<dfe.length;++j){y=dfe[j];if(y.attributes["autocomplete"]){y.attributes["autocomplete"].value="on";++cea;}}}alert("Removed%20autocomplete=off%20from%20"+n(ca,"form")+"%20and%20from%20"+n(cea,"form%20element")+",%20and%20removed%20onsubmit%20from%20"+n(cs,"form")+".%20After%20you%20type%20your%20password%20and%20submit%20the%20form,%20the%20browser%20will%20offer%20to%20remember%20your%20password.")})();
把代码保存为书签,然后在需要的网站上访问此书签就可以了. |
|
|
3楼#
发布于:2008-12-17 13:58
貌似仍然有问题。。。
在起点中文网,使用以上代码的书签后,显示如下:
Removed autocomplete=off from 0 forms and from 0 form elements, and removed onsubmit from 0 forms. After you type your password and submit the form, the browser will offer to remember your password. 仍然不能记录账号和密码! |
|
|
4楼#
发布于:2008-12-17 13:58
没去过起点,不过听说opera也不能在起点记录密码,估计是起点自己的问题.
新浪我测试过 用那段代码后是可以记住密码的. |
|
|
5楼#
发布于:2008-12-17 13:58
感谢
谢谢了 |
|