diff --git a/nuxt.config.ts b/nuxt.config.ts index 8ac08cb..b1f27d9 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -28,6 +28,33 @@ export default defineNuxtConfig({ // MS Clarity textContent: `(function(c,l,a,r,i,t,y){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);})(window, document, "clarity", "script", "kdxoqws6v8");`, }, + { + // Google Adsense + async: true, + src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7700677534024923', + }, + { + async: true, + src: 'https://fundingchoicesmessages.google.com/i/pub-7700677534024923?ers=1', + nonce: 'QHzY_FUE44g8R4HbPxq60A', + }, + { + nonce: 'QHzY_FUE44g8R4HbPxq60A', + textContent: ` + ;(function () { + function signalGooglefcPresent() { + if (!window.frames['googlefcPresent']) { + if (document.body) { + const iframe = document.createElement('iframe') + iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;' + iframe.style.display = 'none' + iframe.name = 'googlefcPresent' + document.body.appendChild(iframe) + } else { + setTimeout(signalGooglefcPresent, 0) + } + }}signalGooglefcPresent()})()`, + }, ], noscript: [ {