Doe het zelf
Leestijd:
min.

Categorie: Doe het zelf

LongLife LED Spotje met GU4 fitting - 12V Laagspanning - Warm wit licht - 2W (20W) - 6PACK

bol.com

Goede keuze

LongLife LED Spotje met GU4 fitting - 12V Laagspanning - Warm wit licht - 2W (20W) - 6PACK

Prijs: €27,99

Rating: 5.0/5

Bekijk bij bol.com

Vrijblijvende offerte aanvragen

Ontvang vrijblijvende offertes op maat voor uw project.

Vrijblijvende offerte aanvragen

Ontvang vrijblijvende offertes op maat voor uw project.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C
Text link

Bold text

Emphasis

Superscript

Subscript

Vrijblijvende offerte aanvragen

Ontvang vrijblijvende offertes op maat voor uw project.

document.addEventListener('DOMContentLoaded', function() { const jsonDataHostingDiv = document.querySelector('.code-embed.hide.w-embed'); if (!jsonDataHostingDiv) { console.error('Affiliate Script Error: Div element to host JSON data not found. Selector used: .code-embed.hide.w-embed'); return; } let rawStringFromDiv = jsonDataHostingDiv.textContent; let affiliateDataMap; let decodedJsonString; try { if (rawStringFromDiv.startsWith("'''")) { if (rawStringFromDiv.endsWith("'''")) { rawStringFromDiv = rawStringFromDiv.substring(3, rawStringFromDiv.length - 3); } } else if (rawStringFromDiv.startsWith('"')) { if (rawStringFromDiv.endsWith('"')) { rawStringFromDiv = rawStringFromDiv.substring(1, rawStringFromDiv.length - 1); } } const tempElement = document.createElement('textarea'); tempElement.innerHTML = rawStringFromDiv; decodedJsonString = tempElement.value; affiliateDataMap = JSON.parse(decodedJsonString); } catch (e) { console.error('Affiliate Script Error: Could not process or parse JSON data from div.', e); console.error('Original raw string from div was:', jsonDataHostingDiv.textContent); if (typeof decodedJsonString !== 'undefined') { console.error('Attempted to parse (after potential unquoting/decoding):', decodedJsonString); } else { if (typeof rawStringFromDiv !== 'undefined') { if (rawStringFromDiv !== jsonDataHostingDiv.textContent) { console.error('Attempted to parse (raw, after potential unquoting):', rawStringFromDiv); } } } return; } const contentContainers = document.querySelectorAll('.w-richtext'); if (contentContainers.length === 0) { console.warn('Affiliate Script Warning: No content containers found with selector ".w-richtext". Placeholders will not be replaced.'); } contentContainers.forEach((container) => { let currentHtml = container.innerHTML; let hasMadeReplacements = false; for (const placeholderKey in affiliateDataMap) { if (affiliateDataMap.hasOwnProperty(placeholderKey)) { const actualHtmlToInsert = affiliateDataMap[placeholderKey]; const escapedPlaceholderKey = placeholderKey.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); const placeholderRegExp = new RegExp(escapedPlaceholderKey, 'g'); if (currentHtml.includes(placeholderKey)) { currentHtml = currentHtml.replace(placeholderRegExp, actualHtmlToInsert); hasMadeReplacements = true; } } } if (hasMadeReplacements) { container.innerHTML = currentHtml; } }); });