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

Function getIframeHash

flash/image/html-template/history/history.js:187–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185 }
186
187 function getIframeHash() {
188 var doc = getHistoryFrame().contentWindow.document;
189 var hash = String(doc.location.search);
190 if (hash.length == 1 && hash.charAt(0) == "?") {
191 hash = "";
192 }
193 else if (hash.length >= 2 && hash.charAt(0) == "?") {
194 hash = hash.substring(1);
195 }
196 return hash;
197 }
198
199 /* Get the current location hash excluding the '#' symbol. */
200 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…