MCPcopy Create free account
hub / github.com/XIU2/UserScript / backEvent

Function backEvent

Lanzou-Enhanced.user.js:550–555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

548
549 // 浏览器后退事件函数
550 function backEvent() {
551 if (lastFolderID) {
552 mainframe.folder(lastFolderID);
553 }
554 history.pushState(null, null, document.URL);
555 }
556
557
558 // 获取上个文件夹 ID(用于浏览器后退事件)

Callers 1

backToTopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected