MediaWiki:Common.js: Unterschied zwischen den Versionen
Peter (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Peter (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 22: | Zeile 22: | ||
/* adsense */ | /* adsense */ | ||
/* | |||
mw.loader.load( '//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js' ); | mw.loader.load( '//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js' ); | ||
$( document ).ready( function() { | $( document ).ready( function() { | ||
| Zeile 27: | Zeile 28: | ||
$( 'body' ).append( adsenseCode ); | $( 'body' ).append( adsenseCode ); | ||
} ); | } ); | ||
*/ | |||
/* cookies */ | |||
$( document ).ready( function() { | |||
var script = document.createElement('script'); | |||
script.id = 'usercentrics-cmp'; | |||
script.async = true; | |||
script.setAttribute('data-eu-mode', 'true'); | |||
script.setAttribute('data-settings-id', 'ErlSniwNaQGLDr'); | |||
script.src = 'https://app.eu.usercentrics.eu/browser-ui/latest/loader.js'; | |||
document.body.appendChild(script); | |||
}); | |||
$( document ).ready( function() { | |||
var script = document.createElement('script'); | |||
script.type = 'application/javascript'; | |||
script.src = 'https://sdp.eu.usercentrics.eu/latest/uc-block.bundle.js'; | |||
document.body.appendChild(script); | |||
}); | |||