Every line of 'jquery if url contains' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
59 function url(urlPart) { 60 return conditions_1.Conditions.browserUrlContains(urlPart); 61 }
259 function byHasUrl(element) { 260 return !!getUrl(element); 261 }
228 static urlMatches(url: RegExp): Condition { 229 return new URLCondition('urlMatches', url.toString(), true) 230 }
305 function only_if_url(url) { 306 if( url && url.startsWith('http') ) { 307 return url; 308 } 309 return null; 310 }
27 function has(url) { 28 return (get(url) === undefined)? false : true; 29 }
4 function has(url){ 5 var haiku = this 6 , url = url === '/' ? '/index.html' : url 7 8 if (! haiku.pages) return false 9 else return !! haiku.pages[url] 10 }
24 function isIFrameHtml(url) { 25 return /\.iframe\.html$/.test(url); 26 }
109 function fileFound(url) { 110 var http = new XMLHttpRequest(); 111 http.open('HEAD', url, false); 112 http.send(); 113 return http.status != 404; 114 }
43 function checkUrl() { 44 if (jQuery.sap.getUriParameters().get("sap-ui-xx-asyncRouting") === "true") { 45 jQuery.sap.log.warning("Activation of async view loading in routing via url parameter is only temporarily supported and may be removed soon", "Views"); 46 return true; 47 } 48 return false; 49 }
221 static urlIs(url: string): Condition { 222 return new URLCondition('urlIs', url, false) 223 }