PageSourceSearch

https://allworthfinancial.com/hubfs/hub_generated/template_assets/…/template_exit-notifier-whitelist.min.js

js allworthfinancial.com collected 2026-10-09 22:16:42 UTC 5,668 bytes, 2 lines download raw bytes

1var exitbox={settings:{title:"Thank you for visiting<br/>our website.",body:"<p>You are now leaving allworthfinancial.com and will be redirected to a website not operated or affiliated with Allworth Financial. We are not responsible for the content or availability of the linked site. The link is provided solely for your convenience.</p>",GoButtonText:"Continue",Include_URL:"",CancelButtonText:"Cancel",siteroot:"allworthfinancial.com",siteurl:"https://dev.hansonmcclain.com",theme:"custom",backgroundcolor:"black",size:"md",showAnimation:"fadeIn",hideAnimation:"fadeOut",apply_to_all_offsite_links:"on",jquery_selector_field:'button[data-externallink=\'exitbox\'], a[data-externallink=\'exitbox\'], a[href*="meetup.com"], a[href*="http://www.aarp.org/food/healthy-eating/info-11-2012/new-american-diet-seven-day-plan.html"], a[href*="http://www.lumosity.com/"], a[href*="https://stayingsharp.aarp.org/"], a[href*="https://www.everydollar.com/"], a[href*="https://www.mint.com/"], a[href*="https://www.thumbtack.com/"], a[href*="https://www.skillshare.com/"], a[href*="https://www.coolworks.com/"], a[href*="https://www.osherfoundation.org"], a[href*="https://www.coursera.org"], a[href*="https://www.oattravel.com"], a[href*="https://community.linkages.org"], a[href*="https://www.flexjobs.com“"], a[href*="https://www.ssa.gov/oact/STATS/table4c6.html"], a[href*="https://www.ssa.gov/OACT/population/longevity.html"], a[href*="https://www.betterhealthadvisors.com"], a[href*="https://www.ssa.gov/planners/lifeexpectancy.html"], a[href*="http://www.hvsfinancial.com/2017/06/12/2017-retirement-health-care-costs-data-report"], a[href*="http://www.longevityillustrator.org"], a[href*="www.flexjobs.com"], a[href*="dfi.wa.gov/financial-education/information/viatical-settlements"], a[href*="www.finra.org/investors/alerts/public-non-traded-reits-careful-review"], a[href*="www.nationalservice.gov/programs/americorps"], a[href*="www.allforgood.org"], a[href*="www.volunteermatch.org"], a[href*="www.animalhumanesociety.org"], a[href*="www.aarp.org/giving-back/"], a[href*="www.collegegrant.net"]',jquery_selector_whitelist:'a[href*="app.hubspot.com"],a[href*="403949.hs-sites.com"],a[href*="allworthfinancial.com"],a[href*="allworthpartners.com"],a[href*="allworth401k.com"],a[href*="allworthtaxsolutions.com"],a[href*="moneymatters.com"],a[href*="raa.com"],a[href*="raablog.com"],a[href*="horsemangroup.com"],a[href*="advisor.allworthfinancial.com"],a[href*="advisor.raa.com"],a[href*="info.raa.com"],a[href*="moneypersonality.raa.com"]',new_window:"on",visual:"off",custom_css:"background: rgb(63, 150, 180);",advanced_custom_css:"",enable_timeout:"on",continue_or_cancel:"continue",timeout_seconds:"20"},init:function(){var style=document.createElement("style");if(style.textContent=".ja_custom {"+exitbox.settings.custom_css+"}",document.head.appendChild(style),exitbox.settings.advanced_custom_css){var style2=document.createElement("style");style2.textContent=exitbox.settings.advanced_custom_css,document.head.appendChild(style2)}var selectorField=exitbox.settings.jquery_selector_field,whitelist=exitbox.settings.jquery_selector_whitelist||"";function isWhitelisted(href){if(!href)return!1;for(var tokens=whitelist.split(",").map(function(s){return s.trim()}).filter(Boolean),i=0;i<tokens.length;i++){var match=tokens[i].match(/a\[href\*="([^"]+)"\]/);if(match&&-1!==href.indexOf(match[1]))return!0}return!1}"on"===exitbox.settings.visual&&("on"!==exitbox.settings.apply_to_all_offsite_links?Array.prototype.slice.call(document.querySelectorAll(selectorField)):Array.prototype.slice.call(document.querySelectorAll('a[href*="//"]')).filter(function(a){return!isWhitelisted(a.href)})).forEach(function(node){node.insertAdjacentHTML("beforeend",'&nbsp;<img class="flat" src="/Images/Icons/external-link.png" border=0>')}),document.addEventListener("click",function(e){var el=e.target&&e.target.closest&&e.target.closest("a,button");if(el){var matches=!1;if("on"!==exitbox.settings.apply_to_all_offsite_links)try{matches=el.matches(selectorField)}catch(err){matches=!1}else matches="a"===el.tagName.toLowerCase()&&!isWhitelisted(el.href);matches&&(e.preventDefault(),exitbox.exit_notifier_leave_now(el))}})},exit_notifier_leave_now:function(linkEl){var href=linkEl&&linkEl.href?linkEl.href:"",urlsnippet=href;return"on"===exitbox.settings.Include_URL?href.length>40&&(urlsnippet=href.substr(0,40)+"..."):urlsnippet="",""===exitbox.settings.theme&&(exitbox.settings.theme="default"),function(linkEl,urlsnippet){jAlert({title:exitbox.settings.title,content:exitbox.settings.body,theme:"white",size:"md",confirmBtnText:exitbox.settings.GoButtonText+" "+urlsnippet,denyBtnText:exitbox.settings.CancelButtonText,onConfirm:function(){"on"===exitbox.settings.new_window?window.open(linkEl.href,"New Window"):location.href=linkEl.href},onDeny:function(){},btns:[{text:"Continue",theme:"white",class:"awf-new-button",onClick:function(){"on"===exitbox.settings.new_window?window.open(linkEl.href,"New Window"):location.href=linkEl.href}},{text:"Cancel",theme:"default",class:"awf-new-button"}]})}(linkEl,urlsnippet),"on"===exitbox.settings.enable_timeout&&("continue"===exitbox.settings.continue_or_cancel?setTimeout(function(){var btn=document.querySelector(".confirmBtn");btn&&btn.click()},1e3*exitbox.settings.timeout_seconds):"cancel"===exitbox.settings.continue_or_cancel&&setTimeout(function(){var btn=document.querySelector(".denyBtn");btn&&btn.click()},1e3*exitbox.settings.timeout_seconds)),!1}};
2//# sourceURL=https://403949.fs1.hubspotusercontent-na1.net/hubfs/403949/hub_generated/template_assets/1/196135136649/1791406713198/template_exit-notifier-whitelist.js

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.