let indexOffset = 0;
[...backupElements.blacklisted].forEach(([elem, type], index) => {
if (willBeUnblocked(elem)) {
const tagName = elem.tagName.toLowerCase();
const elementNode = document.createElement(tagName);
const stashedSrc = elem.getAttribute(HIDDEN_SRC_ATTRIBUTE);
if (stashedSrc) {
console.log('Unstashing', stashedSrc);
elementNode.setAttribute('src', stashedSrc);
} else {
console.log('resetting', elem.src);
elementNode.setAttribute('type', type || 'application/javascript');
elementNode.setAttribute('src', elem.src);
}
for (let key in elem) {
if (key.startsWith('on')) {
elementNode[key] = elem[key];
}
}
document.head.appendChild(elementNode);
backupElements.blacklisted.splice(index - indexOffset, 1);
indexOffset++;
}
});
// Disconnect the observer if the blacklist is empty for performance reasons
if (patterns.blacklist && patterns.blacklist.length < 1) {
privacyObserver.disconnect();
}
};
// Starts the monitoring
privacyObserver.observe(document.documentElement, {
childList: true,
subtree: true,
});
// Setup a mutation observer to track DOM insertion
const bannerObserver = new MutationObserver((mutations) => {
for (let i = 0; i < mutations.length; i++) {
const { addedNodes } = mutations[i];
for (let i = 0; i < addedNodes.length; i++) {
const node = addedNodes[i];
if (node.nodeType === 1 && node.id !== 'privacy-banner') {
if (node.style.zIndex > 999999) {
node.style.zIndex = 999999;
}
}
}
}
});
×
Tapis beaver Collection
Cameo
×
Tapis beaver Collection
Bonito
×
Tapis beaver Collection
Navajo
×
Tapis beaver Collection
Nordic
Our carpet offering is available in several types of floor covering products, including roll carpets, tiles and even area rugs.
These different models provide comfort and versatility to your decor.
Consult our multiple collections to discover their many patterns, colors and shapes.
Filters
Sort by:
Tapis beaver Collection
Cameo
Tapis beaver Collection
Bonito
Tapis beaver Collection
Navajo
Tapis beaver Collection
Nordic
Tapis beaver Collection
Eden
Tapis beaver Collection
Chivas
Looking for inspiration?
Do not miss any of our promotions and our decoration and renovation advice.