MCPcopy Index your code
hub / github.com/ClearURLs/Addon / promise

Function promise

clearurls.js:698–704  ·  view source on GitHub ↗

* Check the request.

(requestDetails)

Source from the content-addressed store, hash-verified

696 * Check the request.
697 */
698 function promise(requestDetails) {
699 if (isDataURL(requestDetails)) {
700 return {};
701 } else {
702 return clearUrl(requestDetails);
703 }
704 }
705
706 /**
707 * To prevent long loading on data urls

Callers

nothing calls this directly

Calls 2

isDataURLFunction · 0.85
clearUrlFunction · 0.85

Tested by

no test coverage detected