Skip to content

Instantly share code, notes, and snippets.

@danielvalentin
danielvalentin / gist:2c02fd01c53078b06061b00f3022de93
Last active August 20, 2026 10:33
Consent-o-matic that AI made :(
{
"GeniusPrivacyBanner": {
"detectors": [
{
"type": "css",
"target": {
"selector": "div[class*='qc-cmp2-container'], #qc-cmp2-container"
}
}
],
@danielvalentin
danielvalentin / gist:377331a9e5cfc072c867a60660596cc9
Last active August 20, 2026 10:43
Consent-o-matic custom rules
{
"GeniusCom": {
"detectors": [
{
"type": "css",
"target": {
"selector": "#onetrust-consent-sdk"
}
}
],
nnoremap <expr> gp '`[' . strpart(getregtype(), 0, 1) . '`]'
" Vim color file
" Maintainer: David V
" Last Change: 2015-01-09
" First remove all existing highlighting.
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif