MCPcopy Index your code
hub / github.com/samyk/evercookie / doSetOrGet

Function doSetOrGet

js/evercookie.js:646–654  ·  view source on GitHub ↗
(appletId)

Source from the content-addressed store, hash-verified

644 }
645
646 function doSetOrGet(appletId) {
647 var applet = document.getElementById(appletId);
648 if (value !== undefined) {
649 applet.set(name,value);
650 }
651 else {
652 self._ec.javaData = applet.get(name);
653 }
654 }
655
656 // The result of a get() is now in self._ec._javaData
657 };

Callers 1

EvercookieFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected