I've tried various permutations of:
我尝试了各种各样的排列:
firefox.exe "javascript:document.location='http://site.com';document.cookies='key=val';"
But with no good result; the cookie is not added for the site.com domain. Is it at all possible to accomplish using this approach?
但没有好结果;没有为site.com域添加cookie。是否可以使用这种方法完成?
1 个解决方案
#1
It is not going to happen doing anything like that. The JavaScript will not happen in a synchronous manner which is a good thing or we would have security problems. Try greasemonkey
做这样的事情不会发生。 JavaScript不会以同步的方式发生,这是一件好事,或者我们会遇到安全问题。试试greasemonkey
#1
It is not going to happen doing anything like that. The JavaScript will not happen in a synchronous manner which is a good thing or we would have security problems. Try greasemonkey
做这样的事情不会发生。 JavaScript不会以同步的方式发生,这是一件好事,或者我们会遇到安全问题。试试greasemonkey