Navigator 4.0: Getting the value of this property requires the UniversalBrowserRead privilege. It has no value if you do not have this privilege. 要获取 Navigator 4.0 中关于安全性更多的信息,请看“JavaScript 指南”中的第七章“JavaScript 安全性”。
描述
The next property reflects the URL that would be used if the user chose Forward from the Go menu.
示例
The following example determines whether history.next contains the string "NETSCAPE.COM". If it does, the function myFunction is called.
if (history.next.indexOf("NETSCAPE.COM") != -1) {
myFunction(history.next)
}
参看
History.current, History.previous