Canada’s Best Early Boxing Day 2021 Deals You Can Shop Just In Time For The Holidays

To make your life a bit of simpler, we’ll be posting a ton of holiday shopping content and gift guides. If stocking stuffers are your jam, we’ve you lined with this listing of over 50 presents that individuals of all ages will love.

Nite Ize Cinch-a-Lot Stretch Strap

Amazon Canada

Worth: $12.99

Particulars: This helpful keychain will assist them maintain their keys on them even after they haven’t got pockets. It can be used to maintain issues like lip balm on them while not having a particular case.

$12.99 On AMAZON CANADA

Ardell Bare Lashes

Amazon Canada

Worth: $7.99

Particulars: The wonder lover in your life will respect an additional pair of lashes so as to add to their make-up drawer. These lashes from Ardell are natural-looking and would swimsuit anybody of all ages.

$7.99 On AMAZON CANADA

Dachshund Canine-Formed Silicone Ice Dice Trays

Amazon Canada

Worth: $12.99

Particulars: The canine lover in your life will respect this amusing stocking stuffer concept. This silicone tray can yield dachshund-shaped ice cubes, sweets, candies or no matter else they wish to use it for.

$12.99 On AMAZON CANADA

Selfie Ring Gentle

Amazon Canada

Worth: $9.99

Particulars: Give them the reward of higher lighting with this rechargeable ring gentle that may clip onto any of their gadgets.

$9.99 On AMAZON CANADA

Umbra Zoola Bunny Ring Holder

Worth: $13.99

Particulars: This cute chrome bunny is a hoop holder that they’ll use to stack all of their favorite jewellery. It additionally is available in a cat or elephant design, too.

$13.99 On AMAZON CANADA

BOGI Microfiber Journey Sports activities Towel

Amazon Canada

Worth: $11.99+

Particulars: This tremendous absorbent towel makes an excellent stocking stuffer for the one that’s at all times working up a sweat. It is available in a carrying bag with a carabiner to allow them to deliver it after they’re tenting or climbing.

$11.99+ On AMAZON CANADA

Cat Claw Design Thumb Grip Caps

Amazon Canada

Worth: $8.99

Particulars: These Nintendo Swap thumb grips will assist them recreation higher and make their machine look a lot cuter!

$8.99 On AMAZON CANADA

Polar Bear Tech Stand

The Source

Worth: $9.99 ($14.99)

Particulars: This cute little bear will assist prop up their gadgets to allow them to stream films and TV in consolation. It could possibly maintain tablets as much as 15-inches extensive.

$9.99 On THE SOURCE

Burt’s Bees 100% Pure Conditioning Lip Scrub 

Amazon Canada

Worth: $9.49

Particulars: Assist them kiss flakey lips goodbye this winter with a bath of this lip scrub with exfoliating honey crystals.

$9.49 On AMAZON CANADA​

Simons Reusable Silicone Meals Savers 

Simons

Worth: $12

Particulars: These reusable meals covers are nice for these seeking to scale back their cling wrap utilization and go for extra eco-friendly options. They’re truly manner simpler and more practical to make use of and may even go within the microwave.

$12 On SIMONS

Kikkerland 4-In-1 Pen Software

Amazon Canada

Worth: $5.48

Particulars: This pen is ideal for the most convenient individual in your life. They will use it as a ruler, leveller, and Phillips screwdriver.

$5.48 On AMAZON CANADA

Cover A Key Lifelike Rock Out of doors Key Holder

Amazon Canada

Worth: $9.49

Particulars: This fake rock compartment is for the one that’s at all times locking themselves out and is extra discreet than conserving an additional key below the mat.

$9.49 On AMAZON CANADA

Gourmand du Village Scorching Sweets

Worth: $1.49+

Particulars: These scrumptious scorching chocolate powders are available so many enjoyable flavours and colors that’ll excite your family and friends members of all ages. You’ll be able to throw in a few of these dehydrated mini marshmallows, too, as an added bonus.

$1.49 On AMAZON CANADA

Dove Nourishing Secrets and techniques Bathtub Bombs

Amazon Canada

Worth: $9.40

Particulars: These calming bathtub bombs are made with lavender and chamomile to assist them calm down and soften their pores and skin.

$9.40 On AMAZON CANADA

Indigo Shoe Dryer

Indigo

Worth: $24.50

Particulars: Moist footwear are by no means enjoyable however are nearly unavoidable in Canadian winters. Fortunately, you may get them this pair of shoe dryers to pop of their boots to maintain them from getting pungent.

$24.50 On INDIGO

RONXS Electrical Lighter

Amazon Canada

Worth: $19.99

Particulars: If you already know a candle-lover who’s always going by means of lighters, then you definitely’ll wish to get them this rechargeable lighter this 12 months. They will use it as much as 600 occasions on one cost and the neck is versatile to allow them to attain any wick.

$19.99 On AMAZON CANADA

Burton Foam Stomp Pad

Burton

Worth: $14.99

Particulars: If the individual you are searching for likes to snowboard, this cute little stomp pad won’t solely put a smile on their face but in addition assist them grip onto their board. It additionally is available in different designs like a mountain peak, a tree and the Burton emblem.

$14.99 On BURTON

Baggu Reusable Tote Bag

Urban Outfitters

Worth: $16

Particulars: This reusable tote bag will completely come in useful after they’re travelling or performing some heavier than anticipated purchasing. Once they’re not utilizing it, they’ll conveniently fold it right into a neat little sq..

$16 On URBAN OUTFITTERS

Only a Drop Bathroom Odour Eliminator

Amazon Canada

Worth: $6.49

Particulars: This eucalyptus-scented dropper is an ideal gag reward to your accomplice or member of the family should you share a rest room. A few drops earlier than utilizing the bathroom will maintain your house smelling contemporary!

$6.49 On AMAZON CANADA

Nite Ize Reusable 3-Inch Rubber Twist Tie, 4-Pack

Amazon Canada

Worth: $4.98

Particulars: This four-pack of rubber ties has wires inside that may simply maintain their form. Whereas they’re nice for conserving cords from getting tangled, they’ll additionally use them to maintain crops upright or seal their snack luggage.

$4.98 On AMAZON CANADA

Butterfly Sticky Notepad Set

Urban Outfitters

Worth: $16

Particulars: Perhaps they are not probably the most sensible sticky pads for writing loads of notes, however they positive are cute. This set comes with 5 assorted pads and are nice for the scholar or reader in your life.

$16 On URBAN OUTFITTERS

Starfrit Desk Cleaner

Amazon Canada

Worth: $13.76

Particulars: This tiny handheld vacuum is a must have for the one that’s at all times leaving crumbs at their desk. It is cordless and reviewers use it for all the pieces from cleansing up craft glitter to eraser shavings.

$13.76 On AMAZON CANADA

Glade PlugIns Air Freshener Starter Package

Might Ning | Narcity

Worth: $7.97+

Particulars: These plug-in air fresheners are a pleasant manner for them so as to add a contemporary scent to their house with out worrying in the event that they remembered to blow the candle out. They will additionally have the ability to management the depth of the scent with the twist prime. I am at present obsessive about the Apple Of My Pie scent!

$7.97+ On AMAZON CANADA

Garnier Sheet Masks

Worth: $3.99

Particulars: We may all use some extra self-care proper now and these cheap sheet masks are the right addition to any spa-day themed reward basket or stocking.

$3.99 On AMAZON CANADA

Melitta Pour-Over Cone Espresso Maker

Amazon Canada

Worth: $8.14

Particulars: Making a cup of nice espresso is so simple as pouring scorching water over some espresso floor with this Melitta cone. It has two little home windows that present how a lot room is left of their mug.

$8.14 On AMAZON CANADA

L’Occitane Hand Lotions

Sephora Canada

Worth: $12+

Particulars: You’ll be able to deal with your pal to those fancy hand lotions that’ll maintain their paws from changing into tough and dry. They’re the right measurement to throw of their bag they usually scent superb, too!

$12+ On SEPHORA CANADA

Crayola Washable Window Markers

Amazon Canada

Worth: $5.13

Particulars: In case your youngster or niece/nephew is consistently writing on partitions, then you possibly can reward them these washable window markers which might be a lot simpler to wash. The pack is available in ten completely different colors that work on mirrors, too.

$5.13 On AMAZON CANADA

Simons Botanical Sketch Cork Coasters

Simons

Worth: $6

Particulars: These cute cork coasters will assist maintain anybody’s espresso desk freed from scuffs and watermarks. Since they’re product of cork, they’re additionally nice for safeguarding surfaces from scorching drinks.

$6 On SIMONS

VAGA Scrunchies

Amazon Canada

Worth: $9.99

Particulars: You’ll be able to by no means have too many scrunchies and this six-pack is ideal for sharing together with your BFF. The satin materials is much less damaging to hair and helps to tame frizz

$9.99 On AMAZON CANADA

Shockproof Protecting Silicone Case

Amazon Canada

Worth: $8.95

Particulars: This vibrant Alexa distant cowl is ideal for the one that’s at all times dropping the distant. The light-weight silicone additionally protects the machine from popping open when dropped.

$8.95 On AMAZON CANADA

Reusable Spherical Make-up Remover Pads

Amazon Canada

Worth: $9.99

Particulars: These reusable microfibre pads can wash off an entire face of make-up with only a little bit of water. This set comes with three pads in several colors and a scarf.

$9.99 On AMAZON CANADA

Indigo Scents Stocking Stuffer Candles

Indigo

Worth: $12

Particulars: These mini candles from Indigo are too rattling cute and principally made to slot in a stocking. They’re product of soy wax and are available a fantastically patterned field.

$12 On INDIGO

20-in-1 Snowflake Multi-Software

Amazon Canada

Worth: $13.69

Particulars: You by no means know when somebody’s going to wish to repair a screw or open a bundle, and this helpful little multi-tool can match on a keychain for mini emergencies. It comes with 20 purposeful components together with a Phillips screwdriver and a bottle opener.

$13.69 On AMAZON CANADA

Elago W4 Apple Watch Stand

Amazon Canada

Worth: $17.99

Particulars: Take your pal or member of the family on a blast to the previous with this cute retro Apple Watch charging dock. It’s going to maintain their watch propped up to allow them to see the time and has a helpful cable administration slot for his or her charger.

$17.99 On AMAZON CANADA

Mokani Silicone Rings

Amazon Canada

Worth: $12.99+

Particulars: These vibrant silicone rings are nice for anybody who has pores and skin sensitivities to metals however nonetheless loves to decorate. They arrive in multicolour packs of ten and in sizes 4 to 10.

$12.99+ On AMAZON CANADA

USB Mini Disco Gentle

Amazon Canada

Worth: $19.88

Particulars: These telephone disco lights will flip any event into a celebration and contains lightning, USB-C, and Android micro adapters so that they’ll work with any telephone. It is available in a pack of three, so you possibly can break up them amongst your loved ones.

$19.88 On AMAZON CANADA

LILIE&WHITE Chunky Gold Hoop Earrings

Amazon Canada

Worth: $15.99

Particulars: These cute earrings would look good with any outfit and are literally gold-plated so they will not flip earlobes inexperienced.

$15.99 On AMAZON CANADA

Actual Strategies Go! Mini Journey Make-up Brushes

Amazon Canada

Worth: $14.59

Particulars: This stackable 2-in-1 journey brush package can be utilized for powder, blush, highlighter or bronzer touchups whereas on the go. It additionally comes with a cute pink pouch to retailer all the pieces in.

$14.59 On AMAZON CANADA

NEWGO Gel Eye Masks

Amazon Canada

Worth: $12.95

Particulars: This gel masks can be utilized heat or chilly to assist fight complications and puffy eyes. It has an adjustable head strap so it will not fall or squeeze your noggin.

$12.95 On AMAZON CANADA

Logitech Wi-fi Mini Mouse

Amazon Canada

Worth: $19.28

Particulars: This mini mouse is ideal for these with small palms or anybody who likes to work on the go. It comes with a USB receiver that goes proper right into a laptop computer.

$19.28 On AMAZON CANADA

iWALK Mini Energy Financial institution

Amazon Canada

Worth: $25.99

Particulars: This moveable charger (the scale of a lipstick) will conveniently plug into an iPhone, so nobody wants to hold round any additional cables. It really works on each machine from an iPhone 6 to an iPhone 12 Professional Max.

$25.99 On AMAZON CANADA

Indigo Beard Apron

Indigo

Worth: $15

Particulars: If you already know somebody with a beard that is at all times leaving little hairs in every single place, then this beard apron will assist maintain their sink clear. It really works by suctioning onto the mirror and catching all their trimmings for simple disposal.

$15 On INDIGO

Maison Bélanger Terracotta Important Oil Diffuser

Simons

Worth: $40

Particulars: If mist diffusers are a bit of too harsh to your pals, then you possibly can reward them this stunning clay important oil diffuser that appears like beautiful residence decor.

$40 On AMAZON CANADA

Maison Simons Invigorating Eucalyptus Diffusing Oil

Simons

Worth: $6.99

Particulars: And do not forget to throw in a vital oil like this eucalyptus one from Simons! It is extraordinarily refreshing and 100% pure.

$6.99 On SIMONS

EWA Mini Transportable Bluetooth Speaker With Journey Case

Amazon Canada

Worth: $27.99

Particulars: This cute little speaker is surprisingly highly effective with as much as 12 hours of playtime, a 66-foot Bluetooth vary and a totally waterproof design. It comes with a journey case that is positive to make any showers, street journeys or spontaneous dance events ten occasions extra enjoyable.

$27.99 On AMAZON CANADA

ZEMTAC Mini Pop Push it Fidget Toy Keychain

Amazon Canada

Worth: $9.99

Particulars: Know somebody who’s always fidgeting? These mini keychain fidget poppers are form of like popping bubble wrap and can maintain their digits busy after they’re feeling wired.

$9.99 On AMAZON CANADA

Globe LED Dino Rechargeable Evening Lamp

Worth: $19.99

Particulars: This glowing dino will make the child in your life really feel safer at evening. It is activated with only a easy contact on the top and cycles by means of a bunch of various colors.

$19.99 On CANADIAN TIRE

2-In-1 Rechargeable Hand Hotter and Energy Financial institution

Indigo

Worth: $22

Particulars: We’re positive you already know somebody whose palms are always freezing. If that is the case, then this moveable handwarmer will likely be a complete lifesaver for them this winter. It additionally doubles as a charging financial institution!

$22 On INDIGO

Love & Lore Looped Tab Pockets

Indigo

Worth: $29.50

Particulars: This mini pockets will make an excellent reward for the minimalist in your life. It is sufficiently small to slot in their purse or carry by itself however nonetheless has all of the pockets they’re going to have to retailer all their playing cards and cash.

$29.50 On INDIGO

LATME Ice Curler

Natalia Buia | Narcity

Worth: $17.97

Particulars: If you already know somebody who’s at all times getting complications, then this ice curler could possibly be their new favorite instrument. Our editor loves it for decreasing puffiness and spot-treating complications.

$17.97 On AMAZON CANADA

eos Strawberry Sorbet Lip Balm

Amazon Canada

Worth: $3.97

Particulars: This enjoyable egg-shaped lip balm tastes like candy strawberries and can maintain lips hydrated all through the tough winter months. It is product of shea butter which has a ton of naturally nourishing properties.

$3.97 On AMAZON CANADA

Mouse Wrist Relaxation Pad

Amazon Canada

Worth: $13.99

Particulars: For the one that’s at all times working, this wrist pad will assist maintain their palms from cramping up whereas utilizing their mouse. It is product of reminiscence foam and lycra and has a rubber backside so it will not slip and slide.

$13.99 On AMAZON CANADA

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

!operate(p,r,e,s,b,d){p.pbq||(s=p.pbq=operate(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments);},s.model=’1.0′,s.queue=[],b=r.createElement(e),b.async=!0,b.src=”https://sr.studiostack.com/v3/companies”,d=r.getElementsByTagName(e)[0],d.parentNode.insertBefore(b,d))}(window,doc,’script’);
pbq(‘init’, ‘250789’);

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

let editProfile = doc.querySelector(‘.gdpr-cookie-content’);
let wrapper = doc.querySelector(‘.rm-gdpr’);

editProfile.addEventListener(“click on”, operate () {
wrapper.classList.add(‘hidden’)
});

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

const supportPageOffset = window.pageXOffset !== undefined;

let previousScrollPosition = 0;

const isScrollingDown = () => {
let scrolledPosition = supportPageOffset
? window.pageYOffset
: isCSS1Compat
? doc.documentElement.scrollTop
: doc.physique.scrollTop;
let isScrollDown;

if (scrolledPosition > previousScrollPosition) {
isScrollDown = true;
} else {
isScrollDown = false;
}
previousScrollPosition = scrolledPosition;
return isScrollDown;
};

const handleNavScroll = () => {
if(doc.querySelector(“.rumble-sticky–show”)){
if (isScrollingDown() ) {
doc.querySelector(“.rumble-sticky–show”).classList.add(“energetic”);

} else {
doc.querySelector(“.rumble-sticky–show”).classList.take away(“energetic”);
}
}
};

var throttleTimer;

const throttle = (callback, time) => {
if (throttleTimer) return;

throttleTimer = true;
setTimeout(() => {
callback();
throttleTimer = false;
}, time);
};

const mediaQuery = window.matchMedia(“(prefers-reduced-motion: scale back)”);

window.addEventListener(“scroll”, () => {

throttle(handleNavScroll, 10);

});

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

operate setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));
var expires = “expires=”+ d.toUTCString();
doc.cookie = cname + “=” + cvalue + “;” + expires + “;path=/”;
}

operate getCookie(cname) {
var identify = cname + “=”;
var decodedCookie = decodeURIComponent(doc.cookie);
var ca = decodedCookie.break up(‘;’);
for(var i = 0; i <ca.size; i++) {
var c = ca[i];
whereas (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(identify) == 0) {
return c.substring(identify.size, c.size);
}
}
return "";
}

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

window.REBELMOUSE_STDLIB.loadExternalScript("https://www.anrdoezrs.internet/am/8067239/impressions/web page/am.js", operate() {

});

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

!operate(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=operate(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.model='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, doc,'script',
'https://join.fb.internet/en_US/fbevents.js');
fbq('init', '371443559942562');
fbq('observe', 'PageView');

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

window.REBELMOUSE_STDLIB.loadExternalScript("https://ctxtfl.com/scripts/js/p.js?id=1Pw320GVt3CeYkJrf9UCAgOq9", operate() {

});

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

pbq('set', 'story');

doc.querySelector('.body-description').insertAdjacentHTML('beforebegin',
'

‘);

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

const updatePrimaryTags = () => {
const primaryTagElements = doc.querySelectorAll(
‘.custom-field-selected-topic’
);
if (!primaryTagElements) return;
primaryTagElements.forEach((tag) => {
if (!tag) return;
if (tag.getElementsByTagName(‘a’).size !== 0) return;

const topicSlug = tag.innerText
.toString()
.toLowerCase()
.trim()
.normalize(“NFD”)
.substitute(/[u0300-u036f]/g, “”)
.substitute(/s+/g, ‘-‘)
.substitute(/&/g, ‘-y-‘)
.substitute(/[^w-]+/g, ”)
.substitute(/–+/g, ‘-‘)
.substitute(‘manger-et-sortir’, ‘manger-sortir’)
.substitute(‘eat-and-drink’, ‘eat-drink’);

const cityPageElement = doc.querySelector(‘.city-name.article’);
let hyperlink;
if(cityPageElement){
const href = cityPageElement.getElementsByTagName(‘a’)[0].getAttribute(‘href’);
hyperlink = `${href}${topicSlug}`

}else{
hyperlink = `/${topicSlug}`
}

const linkEl = doc.createElement(‘a’);
linkEl.setAttribute(‘href’, hyperlink);
linkEl.innerText = tag.innerText;
tag.innerHTML = ”;
tag.appendChild(linkEl)
});
};
updatePrimaryTags();

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

var _sponsored = “”;
var _nsfw = “false”;
var post_id = doc.querySelector(‘article’).getAttribute(“elid”);
var nsfw = 546863483;
var fr_vedette = 549266910;
var sponsored = 549961341;
var publish = JSON.parse(doc.querySelector(“#post-context-” + post_id).innerHTML);
if (publish.publish.sections.contains(fr_vedette) || publish.publish.sections.contains(sponsored)) {
_sponsored = “true”;
} else _sponsored = “false”;
if (publish.publish.sections.contains(nsfw)) {
_nsfw = “true”;
};
var fwKeywords = JSON.stringify({
class: __a_cat,
tradition: c_selected_country,
nsfw: _nsfw,
sponsored: _sponsored,
tags: postTags,
metropolis: postCity,
id: post_id
})
var fwjson = JSON.parse(fwKeywords)
var params = “&firework=carousel&lang=en&class=”+fwjson.class+”&tradition=”+fwjson.tradition+”&nsfw=”+fwjson.nsfw+”&sponsored=”+fwjson.sponsored+”&key phrases=”+fwjson.tags+”&metropolis=”+fwjson.metropolis+”&contentid=”+fwjson.id
var script = doc.createElement(“script”),
placeTag = doc.getElementsByTagName(“script”)[0];
script.async = true;
script.sort = “textual content/javascript”;
script.src =”https://asset.fwpub1.com/js/embed-feed.js”;
placeTag.parentNode.insertBefore(script, placeTag);
doc.head.appendChild(placeTag);
var placement = doc.getElementsByClassName(“article-w-keep-reading”)[0] placement.insertAdjacentHTML(“beforebegin”, ‘

Trending Now  👀

‘)

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

var _sponsored = “”;
var _nsfw = “false”;
var post_id = doc.querySelector(‘article’).getAttribute(“elid”);
var nsfw = 546863483;
var fr_vedette = 549266910;
var sponsored = 549961341;
var publish = JSON.parse(doc.querySelector(“#post-context-” + post_id).innerHTML);
if (publish.publish.sections.contains(fr_vedette) || publish.publish.sections.contains(sponsored)) {
_sponsored = “true”;
} else _sponsored = “false”;
if (publish.publish.sections.contains(nsfw)) {
_nsfw = “true”;
};
var fwKeywords = JSON.stringify({
class: __a_cat,
tradition: c_selected_country,
nsfw: _nsfw,
sponsored: _sponsored,
tags: postTags,
metropolis: postCity,
id: post_id
})
var fwjson = JSON.parse(fwKeywords)
var params = “&firework=storyblock&lang=en&class=”+fwjson.class+”&tradition=”+fwjson.tradition+”&nsfw=”+fwjson.nsfw+”&sponsored=”+fwjson.sponsored+”&key phrases=”+fwjson.tags+”&metropolis=”+fwjson.metropolis+”&contentid=”+fwjson.id
var script = doc.createElement(“script”),
placeTag = doc.getElementsByTagName(“script”)[0];
script.async = true;
script.sort = “textual content/javascript”;
script.src =”https://asset.fwpub1.com/js/storyblock.js”;
placeTag.parentNode.insertBefore(script, placeTag);
doc.head.appendChild(placeTag);
var bodycontent = doc.querySelectorAll(“.body-description p”)[1];
bodycontent.insertAdjacentHTML(“afterend”, ‘

Narcity TV Canada

‘)

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

var publish = JSON.parse(doc.querySelector(“#post-context-“+c_art_id).innerHTML);

if (c_sections.contains(c_fr_vedette) || c_sections.contains(c_sponsored) || isSponsored == “True”){
window.c_data_type = “sponsored”;
}
else if(c_sections.contains(c_nsfw)){
window.c_data_type = “nsfw”;
}
else window.c_data_type = “none”;

doc.querySelector(“#IO_wrapper”).setAttribute(“data-ad-type”, window.c_data_type);

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(operate(){

operate prepareFloatingHeadline(video) {
var videoParent = video.closest(‘.widget’);
var pusher = doc.createElement(“div”);
pusher.type.top = “76px”;
pusher.classList.add(“js-hidden-panel”);
var closeButton = doc.createElement(“div”);
closeButton.classList.add(“close-button”);
closeButton.classList.add(“close-button-hide”);

var clonedHeadlines = videoParent.querySelector(‘.widget__body’).cloneNode(true);
clonedHeadlines.classList.substitute(‘widget__body’, ‘widget__floating-headlines’);

var clonedDate = videoParent.querySelector(‘.widget__head + .widget__body’).cloneNode(true);
clonedDate.classList.substitute(‘widget__body’, ‘widget__floating-info’);
if (clonedHeadlines.querySelector(“.widget__subheadline”)) {
clonedHeadlines.removeChild(clonedHeadlines.querySelector(“.widget__subheadline”));
}
var widget_section = clonedHeadlines.querySelector(“.widget__section”);
if (widget_section) {
clonedHeadlines.removeChild(widget_section);
}
if (clonedDate.querySelector(“.js-expandable”)) {
clonedDate.removeChild(clonedDate.querySelector(“.js-expandable”));
}

var contentContainer = doc.createElement(“div”);
contentContainer.classList.add(‘info-wrapper-sticky’);
//contentContainer.appendChild(closeButton);
contentContainer.appendChild(clonedHeadlines);
contentContainer.appendChild(clonedDate);

video.appendChild(contentContainer);
video.appendChild(closeButton);

}

operate createElChangeListener(selector, callback) {
const initializedNodes = new Set([]);

doc.querySelectorAll(selector).forEach(node => {
callback(node);
initializedNodes.add(node);
});

const mutationObserver = new MutationObserver(() => {
const nodes = doc.querySelectorAll(selector);
nodes.forEach(node => {
if (!initializedNodes.has(node)) {
callback(node);
initializedNodes.add(node);
}
});
});

mutationObserver.observe(doc.physique, {
childList: true,
subtree: true
});
}

var stopVideo = operate ( component ) {
var iframe = component.querySelector( ‘iframe’);
var video = component.querySelector( ‘video’ );
if ( iframe ) {
var iframeSrc = iframe.src.substitute(“&autoplay=1″,””);
iframe.src = iframeSrc;
}
if ( video ) {
video.pause();
}
};

createElChangeListener(‘.widget__head’, (el) => {

if(el.querySelector(‘.widget__video’)){
if(doc.querySelector(‘.widget__head a.widget__play’) && el.querySelector(‘.article-body’)){
doc.querySelector(‘.widget__head a.widget__play’).click on();
}
prepareFloatingHeadline(el.querySelector(‘.widget__video’));
floatingObserver.observe(el);

}
});
if(doc.querySelector(“.close-button”)){
doc.querySelector(“.close-button”).addEventListener(“click on”, operate(){
var entryVideo =doc.querySelector(‘.article-body .widget__video’);

if (entryVideo.querySelector(‘.article-body [type=”video-content”]’)) {
doc.querySelector(“.close-button”).classList.add(“close-button-hide”);
entryVideo.querySelector(‘.article-body [type=”video-content”]’).classList.take away(‘rumble-sticky-video’)
if(entryVideo.querySelector(‘.widget__floating-headlines’)){
entryVideo.querySelector(‘.widget__floating-headlines’).classList.take away(‘headline-sticky’);
}
if(entryVideo.querySelector(‘.widget__floating-info’)){
entryVideo.querySelector(‘.widget__floating-info’).classList.take away(‘info-sticky’);
}
entryVideo.classList.take away(“js-hidden-panel”)
if( entryVideo.querySelector(‘video’)){
entryVideo.querySelector(‘video’).pause();

entryVideo.querySelector(‘video’).type.top = “100%”;
entryVideo.querySelector(‘video’).parentElement.type.maxHeight = “370px”;
} else{
stopVideo(entryVideo);
}
entryVideo.classList.take away(‘rumble-sticky–show’);
}
})
}

});

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *