Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不使用: Process.Start(String, String) 打开链接。但每次浏览器打开新标签页或新窗口时都会打开链接。有没有办法在最新打开的页面中打开链接?只是重定向,没有新标签或新窗口?
这实际上不是由您(程序员)决定,而是由用户决定:某些浏览器可以选择此设置。您不应该尝试修改用户选择的浏览器行为。
我团队中的某个人在我们正在编写的即时通讯应用程序中做过一次,没有先征求其他意见。用户对我们的应用程序不断覆盖他们打开的页面感到非常恼火。