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.
我处于需要为加载网站的窗口命名的情况。就像,当我打开 StackOverflow.com 时,我应该能够给它一个 window.name 以便我以后可以使用它。
这里有什么解决方案吗?谢谢。
你可以使用这样的东西
$("html").addClass("myclass");
将来您可以使用此类找到正确的窗口
$("html").hasClass("myclass").something
或者如果你想使用 jQuery,你可以这样做:
$('title').text("My Title");
我认为您正在寻找:
document.title
这既可读又可写。
我需要允许我正在安装的站点覆盖错误页面委托,以便它正常运行,而不会影响 Web 服务器上的任何其他站点或设置。
首先,我尝试使用 C# 自定义操作编辑 Xml,但即使自定义操作以完全管理员权限运行,它也找不到文件 (FileNotFoundExcepti