Javascript:history.back 在 XUL 应用程序中不起作用
I have created a XUL application, it has got a link for navigating to previous page. This is my link <a href="javascript:history.back();">Back</a>
, unfortunately it is not working!!!
In firefox is working as expected, when I run it in XUL it is not working.
Why is it not working?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不是 XUL 专家,所以我不知道为什么这不起作用,但我认为您正在寻找的是:
请参阅:
https://developer.mozilla.org/en/xul/browser
https://developer.mozilla.org/en/XUL/Method/goBack
I'm no XUL expert, so I don't know why that didn't work, but I think what you're looking for is:
See:
https://developer.mozilla.org/en/xul/browser
https://developer.mozilla.org/en/XUL/Method/goBack
您是否查看过错误控制台以了解问题所在? (Ctrl-Shift-J)
Did you look in your error console to see what the problem was? (Ctrl-Shift-J)