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.
我遵循了谷歌开发人员的本教程,并基于活动和地点构建了一个应用程序。正如教程所建议的,我使用历史处理程序。
我创建了一个“清除历史记录”按钮,但我找不到任何清除历史记录的方法。
有什么建议么?
提前致谢!
无法清除历史记录,因为历史记录由浏览器处理,出于安全原因,您只能添加历史记录项、替换当前历史记录项或返回历史记录