Skip to content

Commit

Permalink
Add adblock recovery message
Browse files Browse the repository at this point in the history
  • Loading branch information
khang-nd committed Jan 10, 2024
1 parent 9159e0e commit f7853d7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ module.exports = {
{},
"window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-TRC2SF4L67');",
],
[
"script",
{
async: true,
src: "https://fundingchoicesmessages.google.com/i/pub-5904323684803247?ers=1",
nonce: "3HRDcENAr3Egc7skT36mnQ",
},
],
[
"script",
{ nonce: "3HRDcENAr3Egc7skT36mnQ" },
"(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(); })();",
],
],

themeConfig: {
Expand Down

0 comments on commit f7853d7

Please sign in to comment.