MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / start

Function start

Plugins/WebBrowser/Resource/js/AutoFill.js:91–104  ·  view source on GitHub ↗
(channel)

Source from the content-addressed store, hash-verified

89 }
90
91 function start(channel) {
92 gPasswordManager = channel.objects.PasswordManager;
93 if (!gPasswordManager) {
94 console.error('AutoFill: the password manager is null');
95 return;
96 }
97 fill();
98 attachFormListeners();
99 // 观察 DOM 变化,给新表单也绑定
100 var observer = new MutationObserver(function() {
101 attachFormListeners();
102 });
103 observer.observe(document, { childList: true, subtree: true });
104 }
105
106 function AutoFill() {
107 if (typeof QWebChannel === 'undefined') {

Callers 1

AutoFillFunction · 0.85

Calls 2

fillFunction · 0.85
attachFormListenersFunction · 0.85

Tested by

no test coverage detected