For example, there are currently 10 historical records, that is
window.history.length; // 10
How to delete these historical records
伊谢尔伦2017-05-19 10:21:00
History is generally stored locally on the client, so js should not be able to clear it;
You can only start with other ideas, depending on the needs of the subject.
仅有的幸福2017-05-19 10:21:00
It doesn’t seem to work, you can try other methods to achieve the effect you want