Skip to content

Commit

Permalink
Merge pull request #34 from TeenBiscuits/new-consent
Browse files Browse the repository at this point in the history
Change CMP to CookieYes
  • Loading branch information
TeenBiscuits authored Jan 5, 2025
2 parents 19bcf7e + 1568d26 commit 1a10215
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1,210 deletions.
44 changes: 2 additions & 42 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -144,54 +144,14 @@ export default defineConfig({
crossorigin: "",
},
},
{
tag: "link",
attrs: {
rel: "stylesheet",
href: "https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.css",
},
},
// iubenda Privacy Controls and Cookie Solution
{
tag: "script",
attrs: {
type: "text/javascript",
},
content: readFileSync("./scripts/iubenda.js", "utf-8"),
},
{
tag: "script",
attrs: {
type: "text/javascript",
src: "https://cs.iubenda.com/autoblocking/3881594.js",
},
},
{
tag: "script",
attrs: {
id: "cookieyes",
type: "text/javascript",
src: "//cdn.iubenda.com/cs/iubenda_cs.js",
charset: "UTF-8",
async: true,
src: "https://cdn-cookieyes.com/client_data/33562392e5df2bf8fea23abf/script.js",
},
},
// Contrarrestar el bloqueo de anuncios
{
tag: "script",
attrs: {
async: true,
src: "https://fundingchoicesmessages.google.com/i/pub-8724801153903590?ers=1",
},
},
{
tag: "script",
content: readFileSync("./scripts/adblock-use.js", "utf-8"),
},
// Mensaje de protección de errores
{
tag: "script",
content: readFileSync("./scripts/block-adblock.js", "utf-8"),
},
],
editLink: {
baseUrl: "https://github.com/TeenBiscuits/Pasame-Codigo/edit/main/",
Expand Down
17 changes: 0 additions & 17 deletions scripts/adblock-use.js

This file was deleted.

Loading

0 comments on commit 1a10215

Please sign in to comment.