Greasy Fork is available in English.

jQuery-like SPA operation library

SPA like vue is supported。offers functions like click element after loaded, call function after url change。

< Feedback on jQuery-like SPA operation library

Review: Good - script works

§
Posted: 14-06-2023

var observer = new MutationObserver(recallback)
observer.observe(document.body, {
childList: true,
subtree: true
})

代码中的此处,有可能 document.body 是null,请排查
Here in the code, `document.body` may be null, please check

示例网址(example url):https://www.igdl.me/
测试代码(test code):
$('[value="选择文件"]').inserted(function () {
console.log($(this));
debugger;
}, true);

§
Posted: 14-06-2023

使用的是 暴力猴子
Using Violent Monkey

§
Posted: 14-06-2023

猜测可能是时机问题 `@run-at document-start` 可能会出错
Guess it might be a matter of timing `@run-at document-start` might be wrong

Post reply

Sign in to post a reply.