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

Function clickOpenDirectory

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

Source from the content-addressed store, hash-verified

252
253 // 点击空白进入目录
254 function clickOpenDirectory() {
255 mainframe.document.getElementById('sub_folder_list').onclick = function(e){
256 //console.log(e.target);
257 if (e.target.className && e.target.className == 'f_tb') {
258 e.target.querySelector('span.follink').click()
259 }
260 }
261 }
262
263
264 // 右键文件显示菜单

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected