autojs Pro8解除限制代码如下:

function 解除限制() {
    importClass(com.stardust.autojs.core.accessibility.AccessibilityBridge.WindowFilter);
    let bridge = runtime.accessibilityBridge;
    let bridgeField = runtime.getClass().getDeclaredField("accessibilityBridge");
    let configField = bridgeField.getType().getDeclaredField("mConfig");
    configField.setAccessible(true);
    configField.set(bridge, configField.getType().newInstance());
    bridge.setWindowFilter(new JavaAdapter(AccessibilityBridge$WindowFilter, {
        filter: function (info) {
            return true;
        }
    }));
}
解除限制()
app.launchApp('抖音')
click("首页")

将解除限制代码函数,放在运行的代码前面就可以了!!!

 

 

 

 

 

THE END
喜欢就支持一下吧
点赞5 分享