nl_tokens: Parse a request URL and determine whether this is a same - origin request as the application document .
pl_tokens: function isSameOrigin ( requestUrl ) { var parsed = ( typeof requestUrl === 'string' ) ? resolve ( requestUrl , <mask> ) : requestUrl ; return ( parsed . protocol === originUrl . protocol && parsed . host === originUrl . host ) ; }