MCPcopy Create free account
hub / github.com/ActiveState/code / getCookieVal

Function getCookieVal

recipes/JavaScript/578517_Music_player/recipe-578517.js:164–172  ·  view source on GitHub ↗
(offset)

Source from the content-addressed store, hash-verified

162}
163
164function getCookieVal(offset)
165{
166 var endstr=document.cookie.indexOf(";",offset);
167 if(endstr==-1)
168 {
169 endstr=document.cookie.length;
170 }
171 return unescape(document.cookie.substring(offset,endstr));
172}
173
174function smart_set_focus(s)
175{

Callers 1

GetCookieFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected