且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

通过C#更改浏览器设置

更新时间:2023-11-27 21:21:40

简单的回答是否",则无法在客户端计算机上更改浏览器设置.这完全违反了安全性,因此没有浏览器会允许这样做.

对于您的问题,您必须找到一种解决方法,即建议客户将域放置在受信任的站点中,并在邮件系统的受信任的发件人中添加电子邮件ID.然后祈祷大多数用户会接受建议:-)

谢谢
Milind
Simple answer is NO, you can''t change the browser settings on client machine. That is gross violation of security and hence no browser will allow that.

For your problem you have to find a work-around i.e. advise client to put the domain in trusted site and add email id in trusted sender in the mail system. And then pray that majority of the user will take the advise :-)

Thanks
Milind


是的,您可以检测到浏览器,在代码中使用/引用Jquery库:
Yes, You can detect the browser, use/refer Jquery library in your code :
if (


.browser.safari) { alert(' 这是野生动物园'); } 其他 如果(
.browser.safari) { alert('this is safari'); } else if(