PageSourceSearch

https://www.wessels-schuhe.com/wp-content/plugins/klaro-consent/awmp/script.js?ver=221013

js wessels-schuhe.com collected 2026-10-02 12:34:03 UTC 2,833 bytes, 80 lines download raw bytes

1const style = 'background:linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),url(/wp-content/plugins/klaro-consent/awmp/map.svg);'+'border: 1px solid grey;'
2
3
4jQuery(function() {
5jQuery('.awmp-gmap').html(
6"<div class='awmp_map_wrapper' style='"+style+"'>\
7<h3>Google Maps</h3>\
8<p>Mit dem Laden der Karte akzeptieren Sie die Datenschutzerkl&auml;rung von Google.<br />\
9<a target='_blank' href='https://policies.google.com/privacy'>Mehr erfahren</a><br /><br />\
10<button title='Karte laden' class='awmp-show-gmap btn btn-primary'>Karte laden</button></p></div>"
11);
12
13jQuery('.awmp-osm').html(
14"<div class='awmp_map_wrapper' style='"+style+"'>\
15<h3>OpenStreetMaps</h3>\
16<p>Mit dem Laden der Karte akzeptieren Sie die Datenschutzerkl&auml;rung von OpenStreetMap Foundation.<br />\
17<a target='_blank' href='https://wiki.osmfoundation.org/wiki/Privacy_Policy'>Mehr erfahren</a><br /><br />\
18<button title='Karte laden' class='awmp-show-osm btn btn-primary'>Karte laden</button></p></div>"
19);
20
21jQuery('.awmp-yt').html(
22"<div class='awmp_map_wrapper' style='"+style+"'>\
23<h3>Youtube</h3>\
24<p>Mit dem Laden des Videos akzeptieren Sie die Datenschutzerkl&auml;rung von YouTube.<br />\
25<a target='_blank' href='https://policies.google.com/privacy'>Mehr erfahren</a><br /><br />\
26<button title='Video laden' class='awmp-show-yt btn btn-primary'>Video laden</button></p></div>"
27);
28
29jQuery('.awmp-show-gmap, .awmp-show-osm, .awmp-show-yt').click(function() {
30// `this` is the <a> 
31var map = jQuery(this).parent().parent().parent(); 
32map.replaceWith(function () {
33// string is split to escape the php iframe detector
34return jQuery(['<', 'iframe', '>'].join(''), {
35src: map.attr('data-src'),
36frameborder: map.attr('data-frameborder'),
37allowfullscreen: map.attr('data-allowfullscreen'),
38style: map.attr('style'),
39id: map.attr('id'),
40class: map.attr('class'),
41name: map.attr('name'),
42title: map.attr('tite')
43});
44});
45})
46});
47
48function awmpopen(map)
49{
50var map = jQuery('.'+map);
51map.replaceWith(function () {
52// string is split to escape the php iframe detector
53return jQuery(['<', 'iframe', '>'].join(''), {
54src: map.attr('data-src'),
55frameborder: map.attr('data-frameborder'),
56allowfullscreen: map.attr('data-allowfullscreen'),
57style: map.attr('style'),
58id: map.attr('id'),
59class: map.attr('class'),
60name: map.attr('name'),
61title: map.attr('tite')
62});
63});
64}
65
66function awmpgascript(GaCode)
67{
68var script = document.createElement("script");
69
70script.src = 'https://www.googletagmanager.com/gtag/js?id='+GaCode+'';
71document.body.appendChild(script);
72
73var script = document.createElement("script");
74
75script.innerHTML = 'window.dataLayer = window.dataLayer || [];'+
76'function gtag(){ dataLayer.push(arguments); }'+
77'gtag(\'js\', new Date());'+
78'gtag(\'config\', \''+GaCode+'\', { \'anonymize_ip\': true });';
79document.body.appendChild(script);
80}

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.