(mutationsList, observer)
| 1217 | function blockYanXuan() { |
| 1218 | if (!menu_value('menu_blockYanXuan')) return |
| 1219 | const blockYanXuan_question = (mutationsList, observer) => { |
| 1220 | for (const mutation of mutationsList) { |
| 1221 | for (const target of mutation.addedNodes) { |
| 1222 | if (target.nodeType != 1) return |
| 1223 | if (target.className === 'List-item' || target.className === 'Card AnswerCard') { |
| 1224 | if (target.querySelector('.KfeCollection-AnswerTopCard-Container, .KfeCollection-PurchaseBtn')) { |
| 1225 | target.hidden = true; |
| 1226 | } |
| 1227 | } |
| 1228 | } |
| 1229 | } |
| 1230 | }; |
| 1231 | |
| 1232 | const blockYanXuan_question_answer = (mutationsList, observer) => { |
| 1233 | for (const mutation of mutationsList) { |
nothing calls this directly
no outgoing calls
no test coverage detected