PageSourceSearch

https://www.muestrasgratis.es/templates/muestrasgratis/js/control-cookies.js?v=20250115

js muestrasgratis.es collected 2026-10-03 23:23:05 UTC 5,329 bytes, 143 lines download raw bytes

1console.log("EMPEZAMOS EL CONTROL DE COOKIES");
2tarteaucitronCustomText = {
3  alertBigPrivacy:
4    "<div>Utilizamos cookies de terceros para mejorar nuestros servicios mediante el análisis de tus hábitos de navegación. Puedes cambiar la configuración de las cookies en la opción \"Configurar Cookies\" y obtener más información a través de la <a style='color:#FF0099;font-weight:bold;outline:none' href='?page_alias=politica_cookies' target='_blank'>Política de Cookies.</a></div>",
5  personalize: "Configurar Cookies",
6  analytic: {
7    title: "De análisis",
8    details:
9      "Permiten el análisis vinculado a la navegación realizada por el usuario, con la finalidad de llevar el seguimiento de uso del Sitio Web (así como realizar estadística de los contenidos más visitados, número de visitantes, etc.).",
10  },
11  social: {
12    title: "Técnicas",
13    details: "Son las necesarias para la correcta navegación.",
14  },
15  api: {
16    title: "Técnicas",
17    details: "Son las necesarias para la correcta navegación.",
18  },
19  ads: {
20    title: "Publicitarias",
21    details:
22      "Permiten incluir en el Sitio Web espacios publicitarios según el contenido del mismo.",
23  },
24};
25tarteaucitron.init({
26  privacyUrl: "" /* Privacy policy url */,
27  bodyPosition: "bottom" /* or top to bring it as first element for accessibility */,
28
29  hashtag: "#tarteaucitron" /* Open the panel with this hashtag */,
30  cookieName: "tarteaucitron" /* Cookie name */,
31
32  orientation: "popup" /* Banner position (top - bottom - middle - popup) */,
33
34  groupServices: false, /* Group services by category */
35  showDetailsOnClick: true /* Click to expand the description */,
36  serviceDefaultState: "wait" /* Default state (true - wait - false) */,
37
38  showAlertSmall: false /* Show the small banner on bottom right */,
39  cookieslist: false /* Show the cookie list */,
40
41  showIcon: false, /* Show cookie icon to manage cookies */
42  iconPosition: "BottomRight", /* Position of the icon between BottomRigh */
43
44  adblocker: false /* Show a Warning if an adblocker is detected */,
45
46  DenyAllCta: false, /* Show the deny all button */
47  AcceptAllCta: true /* Show the accept all button when highPrivacy on */,
48  highPrivacy: true /* Disable auto consent */,
49  alwaysNeedConsent: false /* Ask the consent for "Privacy by design" services */,
50
51  handleBrowserDNTRequest: false /* If Do Not Track == 1, disallow all */,
52
53  removeCredit: true /* Remove credit link */,
54  moreInfoLink: true /* Show more info link */,
55  useExternalCss: true /* If false, the tarteaucitron.css file will be loaded */,
56
57  cookieDomain: document.location.hostname, /* Shared cookie for subdomain website */
58
59  mandatory: true /* Show a message about mandatory cookies */,
60  mandatoryCta: false /* Show the disabled accept button when mandatory on */,
61
62  readmoreLink: "/politica-de-cookies.html" /* Change the default readmore link */,
63});
64
65(tarteaucitron.job = tarteaucitron.job || []).push("tarte");
66tarteaucitron.user.lnvsesionId = "PHPSESSID";
67(tarteaucitron.job = tarteaucitron.job || []).push("lnvsesion");
68
69tarteaucitron.user.preferertiempo = 2592000;
70tarteaucitron.user.prefererdominio = ".muestrasgratis.es";
71tarteaucitron.user.preferernombre = "muestrasgratis";
72(tarteaucitron.job = tarteaucitron.job || []).push('preferer');
73(tarteaucitron.job = tarteaucitron.job || []).push('porigen');
74
75tarteaucitron.user.facebookpixelId = "1369266576432977";
76tarteaucitron.user.facebookpixelMore = function () {
77  /* add here your optionnal facebook pixel function */
78};
79(tarteaucitron.job = tarteaucitron.job || []).push("facebookpixel");
80
81(tarteaucitron.job = tarteaucitron.job || []).push("googleadwordsconversion");
82
83tarteaucitron.user.porigennombre = "org";
84tarteaucitron.user.porigentiempo = 2592000;
85tarteaucitron.user.porigendominio = ".muestrasgratis.es";
86(tarteaucitron.job = tarteaucitron.job || []).push("porigen");
87
88tarteaucitron.user.gtagUa = "G-M6FH7D2FPR";
89tarteaucitron.user.gtagMore = function () {};
90(tarteaucitron.job = tarteaucitron.job || []).push("gtag");
91
92function readCookie(name) {
93  var nameEQ = name + "=";
94  var ca = document.cookie.split(";");
95
96  for (var i = 0; i < ca.length; i++) {
97    var c = ca[i];
98    while (c.charAt(0) == " ") c = c.substring(1, c.length);
99    if (c.indexOf(nameEQ) == 0) {
100      return decodeURIComponent(c.substring(nameEQ.length, c.length));
101    }
102  }
103
104  return null;
105}
106
107function obtenerCookie(clave) {
108  var name = clave + "=";
109  var ca = document.cookie.split(";");
110  for (var i = 0; i < ca.length; i++) {
111    var c = ca[i];
112    while (c.charAt(0) == " ") c = c.substring(1);
113    if (c.indexOf(name) == 0) return c.substring(name.length, c.length);
114  }
115  return "";
116}
117
118function comprobarCookie(clave) {
119  var clave = obtenerCookie(clave);
120  if (clave != "") {
121    return true;
122  } else {
123    return false;
124  }
125}
126
127/**
128 * @param String name
129 * @return String
130 */
131function getParameterByName(name) {
132  name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
133  var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
134    results = regex.exec(location.search);
135  return results === null
136    ? ""
137    : decodeURIComponent(results[1].replace(/\+/g, " "));
138}
139
140var botonPanel = document.getElementById("botonPanelCookies");
141if (botonPanel) {
142  botonPanel.href = "javascript:tarteaucitron.userInterface.openPanel
142();";
143}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.