update
This commit is contained in:
@@ -4,7 +4,9 @@
|
|||||||
"Bash(php:*)",
|
"Bash(php:*)",
|
||||||
"Bash(python:*)",
|
"Bash(python:*)",
|
||||||
"mcp__serena__get_current_config",
|
"mcp__serena__get_current_config",
|
||||||
"mcp__serena__activate_project"
|
"mcp__serena__activate_project",
|
||||||
|
"mcp__plugin_serena_serena__activate_project",
|
||||||
|
"mcp__plugin_serena_serena__search_for_pattern"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -349,7 +349,7 @@ Make your own cookie information popup in minutes.
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
gtag('consent', 'update', {
|
gtag('consent', 'update', {
|
||||||
'analytics_storage': 'granted'
|
'analytics_storage': 'denied'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// if marketing or advertising is accepted
|
// if marketing or advertising is accepted
|
||||||
@@ -366,12 +366,12 @@ Make your own cookie information popup in minutes.
|
|||||||
'ad_personalization': 'granted'
|
'ad_personalization': 'granted'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if(googleConsentAdPrefs === true) {
|
|
||||||
gtag('consent', 'update', {
|
gtag('consent', 'update', {
|
||||||
'ad_storage': 'denied',
|
'ad_storage': 'denied',
|
||||||
'ad_user_data': 'denied',
|
'ad_user_data': 'denied',
|
||||||
'ad_personalization': 'denied'
|
'ad_personalization': 'denied'
|
||||||
});
|
});
|
||||||
|
if(googleConsentAdPrefs === true) {
|
||||||
createCookie(GOOGLE_CONSENT_MODE_AD_PREFS, "", {
|
createCookie(GOOGLE_CONSENT_MODE_AD_PREFS, "", {
|
||||||
expires: daysToUTC(-365),
|
expires: daysToUTC(-365),
|
||||||
path: "/"
|
path: "/"
|
||||||
|
|||||||
@@ -26,27 +26,28 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
var injectScripts = function injectScripts() {
|
var injectScripts = function injectScripts() {
|
||||||
// Example: Google Analytics
|
// Google Analytics consent
|
||||||
if (cookieNoticePro.isPreferenceAccepted("analytics") === true) {
|
if (cookieNoticePro.isPreferenceAccepted("analytics") === true) {
|
||||||
//console.log("Analytics Scripts Running....");
|
gtag('consent', 'update', {
|
||||||
|
'analytics_storage': 'granted'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
// Example: Google Adwords cookie, DoubleClick, Remarketing pixels, Social Media cookies
|
// Google Adwords, DoubleClick, Remarketing pixels, Social Media cookies
|
||||||
if (cookieNoticePro.isPreferenceAccepted("marketing") === true) {
|
if (cookieNoticePro.isPreferenceAccepted("marketing") === true) {
|
||||||
gtag('consent', 'update', {
|
gtag('consent', 'update', {
|
||||||
'ad_storage': 'granted',
|
'ad_storage': 'granted',
|
||||||
'ad_user_data': 'granted',
|
'ad_user_data': 'granted',
|
||||||
'ad_personalization': 'granted',
|
'ad_personalization': 'granted'
|
||||||
'analytics_storage': 'granted',
|
|
||||||
'personalization_storage': 'granted',
|
|
||||||
'security_storage': 'granted',
|
|
||||||
'functionality_storage': 'granted',
|
|
||||||
"wait_for_update": 2000
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Example: Remember password, language, etc
|
// Example: Remember password, language, etc
|
||||||
if (cookieNoticePro.isPreferenceAccepted("preferences") === true) {
|
if (cookieNoticePro.isPreferenceAccepted("preferences") === true) {
|
||||||
//console.log("Preferences Scripts Running....");
|
gtag('consent', 'update', {
|
||||||
|
'personalization_storage': 'granted',
|
||||||
|
'security_storage': 'granted',
|
||||||
|
'functionality_storage': 'granted'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
Reference in New Issue
Block a user