chrome

chrome.removeObserver(element)

Forwards the target element to Application which will stop it from being monitored for changes.

Parameters:

elementHTMLElement instance

Returns:

Success when observed

Return type:

boolean

Usage:

await squared.parseDocument(document.body);

await squared.copyTo("/path/project", { useOriginalHtmlPage: false, observe: true }).then(() => {
  squared.observe();
});

chrome.removeObserver(document.body);