MCPcopy Create free account
hub / github.com/ChinaGodMan/UserScripts / updateMatches

Function updateMatches

script-finder-plus/script-finder-plus.user.js:794–798  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

792 }
793
794 function updateMatches() {
795 const matchCount = document.querySelectorAll('.sf-info-item:not([style*="display: none"])').length
796 const allCount = document.querySelectorAll('.sf-info-item').length
797 document.querySelector('.sf-match-count').innerText = matchCount === allCount ? matchCount : `${matchCount}/${allCount}`
798 }
799
800 function main() {
801 if (window.self !== window.top) {

Callers 2

getScriptsInfoFunction · 0.85
setupUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected