1jQuery(document).ready(function() { 2 checkLinks(); 3}); 4 5function checkLinks(){ 6 var linkList = document.querySelectorAll('a'); 7 8 for (var i = 0; i < linkList.length; i++) { 9 linkList[i].addEventListener('click', function(e) { 10 if (isExternalLink(this)) { 11 e.preventDefault(); 12 13 var confirmed = confirm('To assist members in accessing information not ' + 14 'maintained on this site, the credit union provides links ' + 15 'to other Internet addresses. Be advised that:\n\n' + 16 ' 1. By clicking on any link to other Internet addresses, you are leaving the Credit Unionâs web site\n' + 17 ' 2. You are linking to an alternate web site not operated by the Credit Union\n' + 18 ' 3. The Credit Union is not responsible for the content of the alternate web site\n' + 19 ' 4. The Credit Union does not represent either the third party or the member if the two enter into a transaction\n' + 20 ' 5. Privacy and security policies may differ from those practiced by the Credit Union.\n\n' + 21 'Click \'OK\' to leave this website and proceed to the selected site.' 22 ); 23 24 if (confirmed) { 25 window.open(this.href, '_blank'); 26 } 27 } 28 }); 29 } 30} 31 32function isExternalLink(link) { 33 34 if (link.hasAttribute('href') && link.hostname === 'www.tvaccu.com') { 35 return false; 36 } 37 38 if (link.hasAttribute('href') && link.hostname === 'tvaccu-dn.financial-net.com') { 39 return false; 40 } 41 42 if (link.hasAttribute('href') && link.hostname === 'www.financial-net.com') { 43 return false; 44 } 45 46 if (link.hasAttribute('href') && link.classList.contains('pojo-a11y-toolbar-link')) { 47 return false; 48 } 49 50 if (link.hasAttribute('href') && 51 (link.hostname === window.location.hostname) 52 ) { 53 return false; 54 } 55 56 return true; 57}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.