
/* OOVVUU Targeting */
const path = ‘/sports/leafs’;
const siteName = ‘thestar.com’;
let domain = ‘thestar.com’;
if (siteName === ‘thestar.com’)
domain = ‘thestar.com’;
else if (siteName === ‘niagarafallsreview.ca’)
domain = ‘niagara_falls_review’;
else if (siteName === ‘stcatharinesstandard.ca’)
domain = ‘st_catharines_standard’;
else if (siteName === ‘thepeterboroughexaminer.com’)
domain = ‘the_peterborough_examiner’;
else if (siteName === ‘therecord.com’)
domain = ‘the_record’;
else if (siteName === ‘thespec.com’)
domain = ‘the_spec’;
else if (siteName === ‘wellandtribune.ca’)
domain = ‘welland_tribune’;
let sectionTag = ”;
try
if (domain === ‘thestar.com’ && path.indexOf(‘wires/’) = 0)
sectionTag = ‘/business’;
else if (path.indexOf(‘/autos’) >= 0)
sectionTag = ‘/autos’;
else if (path.indexOf(‘/entertainment’) >= 0)
sectionTag = ‘/entertainment’;
else if (path.indexOf(‘/life’) >= 0)
sectionTag = ‘/life’;
else if (path.indexOf(‘/news’) >= 0)
sectionTag = ‘/news’;
else if (path.indexOf(‘/politics’) >= 0)
sectionTag = ‘/politics’;
else if (path.indexOf(‘/sports’) >= 0)
sectionTag = ‘/sports’;
else if (path.indexOf(‘/opinion’) >= 0)
sectionTag = ‘/opinion’;
} catch (ex)
const descriptionUrl = ‘window.location.href’;
const vid = ‘mediainfo.reference_id’;
const cmsId = ‘2665777’;
let url = `https://pubads.g.doubleclick.net/gampad/ads?iu=/58580620/$domain/video/oovvuu$sectionTag&description_url=$descriptionUrl&vid=$vid&cmsid=$cmsId&tfcd=0&npa=0&sz=640×480&ad_rule=0&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=`;
url = url.split(‘ ‘).join(”);
window.oovvuuReplacementAdServerURL = url;
One solid 60-minute win against the St. Louis Blues on Tuesday night doesn’t make a season but part of that impressive team effort can be attributed to the Leafs’ best defenceman, who wasn’t in the lineup because he took one for the team this week.
function buildUserSwitchAccountsForm()
var form = document.getElementById(‘user-local-logout-form-switch-accounts’);
if (form) return;
// build form with javascript since having a form element here breaks the payment modal.
var switchForm = document.createElement(‘form’);
switchForm.setAttribute(‘id’,’user-local-logout-form-switch-accounts’);
switchForm.setAttribute(‘method’,’post’);
switchForm.setAttribute(‘action’,’https://www.thestar.com/tncms/auth/logout/?return=https://www.thestar.com/users/login/?referer_url=https%3A%2F%2Fwww.thestar.com%2Fsports%2Fleafs%2Fneed-to-bring-life-to-a-hockey-team-enter-future-maple-leafs-captain-candidate-morgan%2Farticle_bfe57564-bf94-11ee-aebd-e799e4b0078c.html’);
switchForm.setAttribute(‘style’,’display:none;’);
var refUrl = document.createElement(‘input’); //input element, text
refUrl.setAttribute(‘type’,’hidden’);
refUrl.setAttribute(‘name’,’referer_url’);
refUrl.setAttribute(‘value’,’https://www.thestar.com/sports/leafs/need-to-bring-life-to-a-hockey-team-enter-future-maple-leafs-captain-candidate-morgan/article_bfe57564-bf94-11ee-aebd-e799e4b0078c.html’);
var submit = document.createElement(‘input’);
submit.setAttribute(‘type’,’submit’);
submit.setAttribute(‘name’,’logout’);
submit.setAttribute(‘value’,’Logout’);
switchForm.appendChild(refUrl);
switchForm.appendChild(submit);
document.getElementsByTagName(‘body’)[0].appendChild(switchForm);
function handleUserSwitchAccounts()
window.sessionStorage.removeItem(‘bd-viafoura-oidc’); // clear viafoura JWT token
// logout user before sending them to login page via return url
document.getElementById(‘user-local-logout-form-switch-accounts’).submit();
return false;
buildUserSwitchAccountsForm();
Ridly Greig with a clapper into the empty net and Morgan Rielly takes exception ???? pic.twitter.com/yhf8xrTn5t
— Gino Hard (@GinoHard_) February 11, 2024
Brad Marchand appears to have gotten away with a dirty play on Timothy Liljegren ????
Liljegren has left the game and not returned ????pic.twitter.com/MJI2t7uCk6
— Gino Hard (@GinoHard_) November 3, 2023
“I thought it was appropriate.”
Sheldon Keefe backs Morgan Rielly for going after Ridly Greig#GoSensGo | #LeafsForever pic.twitter.com/Gn6gEzYJk5
— Missin Curfew (@MissinCurfew) February 11, 2024
console.log(‘=====> bRemoveLastParagraph: ‘,0);











