MCPcopy Create free account
hub / github.com/SKVNDR/FastDork / sendStopAutoImportRequest

Function sendStopAutoImportRequest

Script/FastDork.js:1975–1988  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1973 }
1974
1975 function sendStopAutoImportRequest() {
1976 console.log("[Auto Import Stop] Sending stop request.");
1977 showSuccessAnimation("Stopping Import...", ".sucessCheck");
1978 chrome.runtime.sendMessage({ action: "stopAutoImport" }, (response) => {
1979 if (chrome.runtime.lastError) {
1980 console.error(
1981 "[Auto Import Stop] Error sending stopAutoImport:",
1982 chrome.runtime.lastError.message
1983 );
1984 return;
1985 }
1986 console.log("[Auto Import Stop] stopAutoImport response:", response);
1987 });
1988 }
1989
1990 function ensureAutoImportStopClickListener() {
1991 if (!UI.importBtn) return;

Callers 1

setupImportButtonFunction · 0.85

Calls 1

showSuccessAnimationFunction · 0.85

Tested by

no test coverage detected