
Safe payment on our website
– GameRaid` || `` || ``, "product.id" : `8604460122405`, "product.title" : `"The Legend of Zelda Majora\u0026#39;s Mask 3D Nintendo 3DS"`, "product.description" : `"The countdown has begun! You have just three days to save the land of Termina from destruction by its own moon, which is being pulled out of its orbit by a mysterious evil force! Re-living the days again and again, Link must use the magical Song of Time to gather the knowledge and skills he needs to solve the mystery of Majora\u0026#39;s Mask.In this epic adventure, Link is bestowed with magical masks to aid him in his quest. Transform into a Deku Scrub, a Goron and a Zora, using their abilities to fly through the air, roll across the land or swim through the sea!"`, "product.type": `Video Game`, "product.price": `34.99`, "product.vendor": `Nintendo`, "product.variants.title": `Default Title`, "product.variants.sku": `285274583208s`, "collection.title": ``, "collection.description": ``, "collection.products_count": ``, "article.title": ``, "article.author": ``, "article.excerpt_or_content": ``, "article.content": ``, "article.excerpt": ``, }; const file_name = "81258610981"; const metaDescriptionTag = document.querySelector('meta[name="description"]'); const pageTypeMeta = "product"; function replaceVar(string) { if(!string) return ''; var replacedString = string; for (var key in preAsssignedValue) { if (preAsssignedValue.hasOwnProperty(key)) { replacedString = replacedString.replace(key, preAsssignedValue[key]); } } return replacedString; } var instantPageUrl = "https://cdn.shopify.com/extensions/85902c17-fbef-44bf-b1a6-f65ab1b4b12d/tapita-seo-speed-101/assets/instantpage.js"; var tptMetaDataConfigUrl = false; // ADD META WHEN tptMetaDataConfigUrl valid const createMetaTag = (descriptionValue) => { const metaTag = document.createElement('meta'); metaTag.setAttribute('name', 'description'); metaTag.setAttribute('content', descriptionValue); const headTag = document.querySelector('head'); headTag.appendChild(metaTag); } const replaceMetaTagContent = (titleValue, descriptionValue, needReplaceVar) => { const disableReplacingTitle = !!window._tpt_no_replacing_plain_title const disableReplacingDescription = !!window._tpt_no_replacing_plain_desc const config = { attributes: true, childList: true, subtree: true}; const header = document.getElementsByTagName('head')[0]; let i = 0; const callback = (mutationList, observer) => { i++; const title = document.getElementsByTagName('title')[0]; const ogTitle = document.querySelector('meta[property="og:title"]'); const twitterTitle = document.querySelector('meta[name="twitter:title"]'); const newTitle = needReplaceVar ? replaceVar(titleValue) : titleValue; const newDescription = needReplaceVar ? replaceVar(descriptionValue) : descriptionValue; if(document && document.title != newTitle && !disableReplacingTitle){ document.title = newTitle; } if(ogTitle && (ogTitle?.content != newTitle)){ ogTitle?.setAttribute('content', newTitle); } if(twitterTitle && (twitterTitle?.content != newTitle)){ twitterTitle?.setAttribute('content', newTitle); } const metaDescriptionTagList = document.querySelectorAll('meta[name="description"]'); const ogDescriptionTagList = document.querySelector('meta[property="og:description"]'); const twitterDescriptionTagList = document.querySelector('meta[name="twitter:description"]'); try { if(ogDescriptionTagList && newDescription && (ogDescriptionTagList?.content != newDescription)) { ogDescriptionTagList?.setAttribute('content', newDescription); } if(twitterDescriptionTagList && newDescription && (twitterDescriptionTagList?.content != newDescription)){ twitterDescriptionTagList?.setAttribute('content', newDescription); } } catch (err) { } if(metaDescriptionTagList?.length == 0){ try { createMetaTag(descriptionValue); } catch (err) { // } } metaDescriptionTagList?.forEach(metaDescriptionTag=>{ if(metaDescriptionTag.content != newDescription && !disableReplacingDescription){ metaDescriptionTag.content = newDescription; } }) if(observer && i > 1000){ observer.disconnect(); } }; callback(); setTimeout(callback, 100); const observer = new MutationObserver(callback); if(observer){ observer.observe(header, config); } } if (tptMetaDataConfigUrl) { fetch(tptMetaDataConfigUrl) .then(response => response.json()) .then((data) => { if(!data) return; const language = document.documentElement.lang || 'en'; let languageMeta = false; if (data.metaData && data.metaData[language]) { languageMeta = data.metaData[language]; } else { if (data.metaData) { languageMeta = data.metaData; } else { languageMeta = {}; } } const productTitle = languageMeta.products?.meta_title_value || ''; const productDescription = languageMeta.products?.meta_description_value || ''; const productTurnOn = data?.metaData?.turnOnObject?.products || data?.metaData?.products?.turnOn || false; const collectionTitle = languageMeta.collections?.meta_title_value || ''; const collectionDescription = languageMeta.collections?.meta_description_value || ''; const collectionTurnOn = data?.metaData?.turnOnObject?.collections || data?.metaData?.collections?.turnOn || false; const articleTitle = languageMeta.articles?.meta_title_value || ''; const articleDescription = languageMeta.articles?.meta_description_value || ''; const articleTurnOn = data?.metaData?.turnOnObject?.articles || data?.metaData?.collections?.turnOn || false; if (window.tapita_meta_page_title || window.tapita_meta_page_description) { replaceMetaTagContent(window.tapita_meta_page_title, window.tapita_meta_page_description, false); } else { if(productTurnOn){ if(pageTypeMeta == 'product'){ replaceMetaTagContent(productTitle, productDescription, true); } } if(collectionTurnOn){ if(pageTypeMeta == 'collection'){ replaceMetaTagContent(collectionTitle, collectionDescription, true); } } if(articleTurnOn){ if(pageTypeMeta == 'article'){ replaceMetaTagContent(articleTitle, articleDescription, true); } } } const instantPage = data?.instantPage || false; const excludedPaths = [ '/cart', '/checkout', '/account', '/account/login', '/account/logout' ]; if (!window.FPConfig || !window.FPConfig.ignoreKeywords || !Array.isArray(window.FPConfig.ignoreKeywords)) { window.FPConfig = { ignoreKeywords : excludedPaths }; } else { window.FPConfig.ignoreKeywords = window.FPConfig.ignoreKeywords.concat(excludedPaths); } var toEnableInstantPageByPath = true; if (window.location.pathname && window.location.pathname.includes) { excludedPaths.forEach(excludedPath => { if (window.location.pathname.includes(excludedPath)) { toEnableInstantPageByPath = false; } }); } if (window.document && window.document.location && window.document.location.pathname && window.document.location.pathname.includes) { excludedPaths.forEach(excludedPath => { if (window.document.location.pathname.includes(excludedPath)) { toEnableInstantPageByPath = false; } }); } if(instantPage && toEnableInstantPageByPath){ const tptAddInstantPage = setInterval(function () { if(document && document.body){ var instantScript = document.createElement('script'); instantScript.src = instantPageUrl; document.body.appendChild(instantScript); clearInterval(tptAddInstantPage); }}, 500); } }); } else { if (window.tapita_meta_page_title || window.tapita_meta_page_description) { replaceMetaTagContent(window.tapita_meta_page_title, window.tapita_meta_page_description, false); } }
Skip to contentSafe payment on our website