MCPcopy Create free account
hub / github.com/mailru/FileAPI / getIframeHash

Function getIframeHash

flash/camera/html-template/history/history.js:178–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 }
177
178 function getIframeHash() {
179 var doc = getHistoryFrame().contentWindow.document;
180 var hash = String(doc.location.search);
181 if (hash.length == 1 && hash.charAt(0) == "?") {
182 hash = "";
183 }
184 else if (hash.length >= 2 && hash.charAt(0) == "?") {
185 hash = hash.substring(1);
186 }
187 return hash;
188 }
189
190 /* Get the current location hash excluding the '#' symbol. */
191 function getHash() {

Callers 1

checkForUrlChangeFunction · 0.70

Calls 1

getHistoryFrameFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…