MCPcopy Index your code
hub / github.com/Bistutu/FluentRead / hasLoadingSpinner

Function hasLoadingSpinner

userscripts.js:1615–1621  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

1613
1614// 递归检查是否包含 spinner
1615function hasLoadingSpinner(node) {
1616 if (node.classList.contains('loading-spinner-fluentread')) return true;
1617 for (let child of node.children) {
1618 if (hasLoadingSpinner(child)) return true;
1619 }
1620 return false;
1621}
1622
1623// 计算SHA-1散列,取最后20个字符
1624async function signature(text) {

Callers 1

handlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected