MediaWiki:Common.js: Unterschied zwischen den Versionen
Peter (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Peter (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (5 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 */ | /* cookies */ | ||
| Zeile 36: | Zeile 38: | ||
script.setAttribute('data-settings-id', 'ErlSniwNaQGLDr'); | script.setAttribute('data-settings-id', 'ErlSniwNaQGLDr'); | ||
script.src = 'https://app.eu.usercentrics.eu/browser-ui/latest/loader.js'; | 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); | document.body.appendChild(script); | ||
}); | }); | ||