MCPcopy Index your code
hub / github.com/XIU2/UserScript / toE5pop

Function toE5pop

Autopage.user.js:2929–2936  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

2927 }
2928 // 插入位置 5 时,排除 <script> <style> <link> 标签
2929 function toE5pop(a) {
2930 if (a.length === 0) return
2931 let b = a.pop();
2932 if (b.tagName === 'SCRIPT' || b.tagName === 'STYLE' || b.tagName === 'LINK') {
2933 return toE5pop(a);
2934 }
2935 return b
2936 }
2937 // 滚动条事件
2938 function windowScroll(fn1) {
2939 var beforeScrollTop = document.documentElement.scrollTop || document.body.scrollTop,

Callers 2

processElemsFunction · 0.85
forceTargetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected