1//********************************************************************** 2//********************************************************************** 3//ADJUSTABLE PARAMETER 4 var consentName = "This website"; 5 var vendorList = ["Google","Aarki","Adacado","Adara Media","AdClear","ADEX","Adform","Adikteev","AdLedge","Adloox","Adludio","AdMaxim","Admedo","Admetrics","Adobe Advertising Cloud","AdRoll, Inc.","AdTriba","advanced STORE GmbH","Adventori","advolution.control","affilinet","Akamai","Amazon","Amobee","Analights","AppLovin Corp.","AppNexus","Arrivalist","AudienceProject","Aunica","Avocet","Batch Media","BDSK Handels GmbH & Co. KG","Beeswax","Betgenius","Bidswitch","Blismedia","Bombora","Booking.com","C3 Metrics","Cablato","Celtra","Centro","Cint","Clinch","Cloud Technologies","Cloudflare","Commanders Act","comScore","Conversant/CJ Affiliate","Crimtan","Criteo","CUBED","DataXu","Delta Projects","Demandbase","DENTSU","Dentsu Aegis Network","Digiseg","DMA Institute","DoubleVerify","Dstillery","DTS","EASYmedia","eBay","ebuilders","Effinity","emetriq","Ensighten","Essens","ESV","Evidon","Exactag","Exponential","Facebook","Flashtalking","Fractional Media","FUSIO BY S4M","Gemius","GfK","GP One","GroupM","gskinner","Haensel AMS","Havas Media France - DBi","hurra.com","IBM","Ignition One","Impact","Index Exchange","Infectious Media","Innovid","Integral Ad Science","intelliAd","Interpublic Group","Jivox","Kantar","Kochava","LifeStreet","Liftoff","LiveRamp","Localsensor","LoopMe","Lotame","Macromill group","MainADV","Manage.com","Marketing Science Consulting Group, Inc.","MBR Targeting Gmbh","MediaMath","Meetrics","MindTake Research","Mobitrans","Mobpro","Moloco Ads","MSI-ACI","Nano Interactive","Navegg","Neodata Group","NEORY GmbH","Netflix","Netquest","Neuralone","Neustar","Nielsen","Nordic Factory Solutions AB","numberly","Oath","Objective Partners","Omnicom Media Group","On Device Research","OneTag","OpenX Technologies","Optomaton","Oracle Data Cloud","OTTO","PERMODO","Pixalate","Platform161","PMG","Protected Media","Publicis Media","PubMatic","PulsePoint","Quantcast","Rackspace","Rakuten Marketing","Relay42","Remerge","Resonate","RevJet","RhythmOne LLC","RN SSI Group","Roq.ad","RTB House","Rubicon Project","Salesforce DMP","Scenestealer","Scoota","Seenthis","Semasio GmbH","SFR","Sift Media","Simpli.fi","Sizmek","Smaato","Smadex","Smart","Smartology","Sociomantic","Sojern","Sovrn","Spotad","SpotX","TabMo","Taboola","TACTIC⢠Real-Time Marketing","Teads.TV","TEEMO","The Trade Desk","Tradedoubler AB","travel audience â An Amadeus Company","TreSensa","TripleLift","TruEffect","TrustArc","Turbobytes","UDG","usemax (Emego GmbH)","Videology","Vimeo","Virtual Minds","Vodafone GmbH","Waystack","Weborama","White Ops","Widespace","Yieldr","ZMS",""]; 6 var vendorListLink = ["https://www\.google\.com/policies/technologies/partner-sites/","http://corp\.aarki\.com/privacy","https://www\.adacado\.com/privacy-policy-april-25-2018/","https://adara\.com/2018/04/10/adara-gdpr-faq/","https://www\.adclear\.de/datenschutzerklaerung/","http://theadex\.com","https://site\.adform\.com/uncategorized/product-and-services-privacy-policy/","https://www\.adikteev\.com/eu/privacy/","https://adledge\.com/data-privacy/","http://adloox\.com/disclaimer","https://adludio\.com/termsandconditions","http://www\.admaxim\.com/admaxim-privacy-policy/","https://www\.admedo\.com/privacy-policy","https://admetrics\.io/en/privacy_policy/","https://www\.adobe\.com/privacy/general-data-protection-regulation\.html","https://www\.adroll\.com/gdpr","https://privacy\.adtriba\.com/","https://www\.ad4mat\.com/en/privacy/","https://www\.adventori\.com/fr/avec-nous/mentions-legales/","http://advolution\.de/privacy\.php","https://www\.affili\.net/uk/footeritem/privacy-policy","http://www\.akamai\.com/compliance/privacy","https://www\.amazon\.co\.uk/gp/help/customer/display\.html\?nodeId=201909010","https://www\.amobee\.com/trust/privacy-guidelines","https://analights\.com/docs/analights-consent-to-the-processing-of-personal-data-en\.pdf","https://www\.applovin\.com/privacy","https://www\.appnexus\.com/en/company/platform-privacy-policy","https://www\.arrivalist\.com/privacy#gdpr","http://privacy\.audie
6nceproject\.com/for-users/","https://www\.aunica\.com\.br/privacy/privacy\.html","http://avocet\.io/privacy-portal","http://batch\.ba/datenschutzerklarung/","https://www\.xxxlutz\.de/ocms/privacy","https://www\.beeswax\.com/privacy\.html","http://betting\.geniussports\.com/connextra-service-terms-conditions/","http://www\.bidswitch\.com/privacy-policy/","http://www\.blis\.com/privacy/","http://bombora\.com/privacy","https://www\.booking\.com/content/privacy\.en-gb\.html","https://c3metrics\.com/privacy","http://cablato\.com/privacy","https://www\.celtra\.com/privacy-policy/","https://www\.centro\.net/privacy-policy/","https://www\.cint\.com/participant-privacy-notice/","https://clinch\.co/pages/privacy\.html","http://green\.erne\.co/assets/PolicyCT\.pdf","https://www\.cloudflare\.com/security-policy/","https://www\.commandersact\.com/en/privacy/","https://www\.comscore\.com/About-comScore/Privacy-Policy","https://www\.conversantmedia\.eu/legal/privacy-policy","https://crimtan\.com/privacy-ctl/","https://www\.criteo\.com/privacy/","http://cubed\.ai/privacy-policy/gdpr/","https://www\.dataxu\.com/gdpr/","http://www\.deltaprojects\.com/data-collection-policy/","https://www\.demandbase\.com/privacy-policy/","http://www\.dentsu\.co\.jp/terms/data_policy\.html","http://www\.dentsu\.com/termsofuse/data_policy\.html","http://www\.digiseg\.io/GDPR/","https://www\.dma-institute\.com/privacy-compliancy/","https://www\.doubleverify\.com/privacy/","https://dstillery\.com/privacy-policy/","https://client\.adhslx\.com/privacy\.html","https://www\.rvty\.net/gdpr","https://www\.ebay\.com/help/policies/member-behaviour-policies/user-privacy-notice-privacy-policy\?id=4260#section12","http://ebuilders\.nl/privacy","https://www\.effiliation\.com/politique-confidentialite\.html","https://www\.emetriq\.com/datenschutz/","https://www\.ensighten\.com/privacy-policy/","https://essens\.no/privacy-policy/","https://www\.wizaly\.com/terms-of-use#privacy-policy","https://www\.evidon\.com/resources/privacy-statement/","https://www\.exactag\.com/en/data-privacy/","http://exponential\.com/privacy/","https://www\.facebook\.com/about/privacy/update","http://www\.flashtalking\.com/first-party-ad-serving/","https://www\.fractionalmedia\.com/privacy-policy","http://www\.s4m\.io/privacy-policy/","https://www\.gemius\.com/cookie-policy\.html","https://sensic\.net/","http://www\.gsi-one\.org/templates/gsi/en/files/privacy_policy\.pdf","https://www\.groupm\.com/privacy-policy","https://createjs\.com/legal/privacy\.html","https://haensel-ams\.com/data-privacy/","http://www\.centraltag\.com/commercial/policy/index\.action","http://www\.hurra\.com/impressum","https://www\.ibm\.com/customer-engagement/digital-marketing/gdpr","https://www\.ignitionone\.com/privacy-policy/gdpr-subject-access-requests/","https://impact\.com/privacy-policy/","http://www\.indexexchange\.com/privacy/","https://impressiondesk\.com/","http://www\.innovid\.com/privacy-policy","http://www\.integralads\.com/privacy-policy","https://www\.intelliad\.de/datenschutz","https://www\.interpublic\.com/privacy-notice","http://www\.jivox\.com/privacy/","https://www\.kantarmedia\.com/global/privacy-statement","https://www\.kochava\.com/support-privacy/","http://www\.lifestreet\.com/privacy","https://liftoff\.io/privacy-policy/","https://liveramp\.com/service-privacy-policy/","https://www\.localsensor\.com/privacy\.html","https://loopme\.com/privacy/","https://www\.lotame\.com/about-lotame/privacy/","https://www\.metrixlab\.com/privacy-statement/","http://www\.mainad\.com/privacy-policy","https://www\.manage\.com/privacy-policy/","http://mktsci\.com/privacy_policy\.htm","https://privacy\.mbr-targeting\.com","http://www\.mediamath\.com/privacy-policy/","https://www\.meetrics\.com/en/data-privacy/","https://www\.mindtake\.com/en/reppublika-privacy-policy","http://www\.mobitrans\.net/privacy-policy/","http://mobpro\.com/privacy\.html","http://www\.molocoads\.com/private-policy\.html","http://site\.msi-aci\.com/Home/FlexTrackPrivacy","http://www\.nanointeractive\.com/privacy","https://www\.navegg\.com/en/privacy-policy/","https://www\.neodatagroup\.com/en/security-policy","https://www\.neory\.com/privacy\.html","http://www\.netflix\.com/google-3PAS-info","https://www\.nicequest\.com/us/privacy","https://web\.neural\.one/privacy-policy/","https://www\.home\.neustar/privacy","http://www\.nielsen\.com/us/en/privacy-statement/digital-measurement\.html","https://www\.bannerflow\.com/privacy","http://ads\.1000mercis\.com/us\.html","https://policies\.oath\.com/xw/en/oath/privacy/enterprise/b2bprivacypolicy/","https://www\.objectivepartners\.com/cookie-policy-and-privacy-statement/","https://www\.omnicommediagroup\.com/disclaimer\.htm","https://ondeviceresearch\.com/GDPR","https://www\.onetag\.net/privacy/","https://www\.openx\.com/legal/privacy-policy/","http://optomaton\.com/privacy\.html","https://www\.oracle\.com/legal/privacy/marketing-cloud-data-cloud-privacy-policy\.html","https://www\.otto\.de/shoppages/service/datenschutz","http://permodo\.com/de/privacy\.html","http://www\.pixalate\.com/privacypolicy/","https://platform161\.com/cookie-and-privacy-policy/","https://www\.pmg\.com/privacy-policy/","http://www\.protected\.media/privacy-policy/","https://www\.publicismedia\.de/datenschutz/","https://pubmatic\.com/legal/privacy-policy/","https://www\.pulsepoint\.com/privacy-policy","https://www\.quantcast\.com/privacy/","http://www\.rackspace\.com/gdpr","https://rakutenmarketing\.com/legal-notices/services-privacy-policy","https://relay42\.com/privacy","http://remerge\.io/privacy-policy\.html","https://www\.resonate\.com/privacy-policy/","https://www\.revjet\.com/privacy","https://www\.rhythmone\.com/landing/gdpr","https://www\.valuedopinions\.co\.uk/privacy","https://www\.roq\.ad/privacy-policy","https://www\.rtbhouse\.com/gdpr/","http://rubiconproject\.com/rubicon-project-yield-optimization-privacy-policy/","https://www\.salesforce\.com/company/privacy/","http://www\.scenestealer\.tv/privacy-policy","http://scoota\.com/privacy-policy/","https://seenthis\.co/privacy-notice-2018-04-18\.pdf","http://www\.semasio\.com/privacy-policy/","http://www\.sfr\.fr/securite-confidentialite\.html","https://www\.sift\.co/privacy","https://www\.simpli\.fi/site-privacy-policy2/","https://www\.sizmek\.com/privacy-policy/","https://www\.smaato\.com/privacy/","http://smadex\.com/end-user-privacy-policy/","http://smartadserver\.com/company/privacy-policy/","https://www\.smartology\.net/privacy-policy/","https://www\.sociomantic\.com/privacy/en/","https://www\.sojern\.com/privacy/product-privacy-policy/","https://www\.sovrn\.com/privacy-policy/","http://www\.spotad\.co/privacy-policy/","https://www\.spotx\.tv/privacy-policy/","http://static\.tabmo\.io\.s3\.amazonaws\.com/privacy-policy/index\.html","https://www\.taboola\.com/privacy-policy","http://tacticrealtime\.com/privacy/","https://teads\.tv/privacy-policy/","https://teemo\.co/fr/confidentialite/","https://www\.thetradedesk\.com/general/privacy-policy","http://www\.tradedoubler\.com/en/privacy-policy/","https://travelaudience\.com/product-privacy-policy/","http://tresensa\.com/eu-privacy/index\.html","https://triplelift\.com/privacy/","https://trueffect\.com/privacy-policy/","https://www\.trustarc\.com/privacy-policy/","https://www\.turbobytes\.com/gdpr/","https://www\.udg\.de/wp-content/uploads/2018/04/privacy_policy_EN\.pdf","http://www\.usemax\.de/\?l=privacy","https://videologygroup\.com/en/privacy-policy/","https://vimeo\.com/cookie_policy","https://virtualminds\.de/datenschutz/","https://www\.vodafone\.de/unternehmen/datenschutz-privatsphaere\.html","https://www\.wayfair\.com/customerservice/general_info\.php#privacy","https://weborama\.com/e-privacy/","https://www\.whiteops\.com/privacy","https://www\.widespace\.com/legal/privacy-policy-notice/","https://www\.yieldr\.com/privacy/","https://zms\.zalando\.com/#"];
7 var cookieUrl = "policies/cookies-policy.htm"; 8 var privacyUrl = "policies/privacy-statement.htm"; 9 var euCookieExp = "365"; 10 var nonEuCookieExp = "2"; 11//********************************************************************** 12//********************************************************************** 13//PARAMETER 14 var protocol = window.location.protocol 15 var domain = window.location.hostname; 16 var path = window.location.pathname; 17 var url = protocol +"//"+ domain +"/"; 18 var head = document.getElementsByTagName('head'); 19 var body = document.getElementsByTagName('body'); 20//********************************************************************** 21//********************************************************************** 22//HTML+CSS 23 var popUp = [["<div id=\"outer-consent\"><div id=\"inner-consent\"><div id=\"inner-consent-main\"><div id=\"consent-txt-wrapper\"><p>"]+[consentName]+[" uses cookies to ensure optimal user experience, and is supported by personalised advertising through carefully selected partners\. We are committed to protecting the personal data of our users\. For further information visit our <a href=\""]+[protocol]+["//"]+[domain]+["/"]+[cookieUrl]+["\" rel=\"nofollow\">Cookie Policy</a> and <a href=\""]+[protocol]+["//"]+[domain]+["/"]+[privacyUrl]+["\" rel=\"nofollow\">Privacy Policy</a>\.</p></div><div id=\"consent-btn-wrapper\"><button id=\"more-opt\" class=\"consent grey\">settings</button><button id=\"user-consent\" class=\"consent\">I Agree</button></div></div><div id=\"inner-consent-opt\"><div id=\"consent-container\"><table id=\"personalized-ad-container\"><tr><td><p>Allow Personalised Ads</p></td><td><label class=\"switch\"><input id=\"personalized-ads\" type=\"checkbox\" checked><span class=\"slider round\"></span></label></td></tr></table></div><div id=\"consent-container\"><p id=\"vendor-list-title\">Vendor List</p><div id=\"vendor-list\"></div></div></div></div></div>"]]; 24 var removeConsent = [["<div id=\"outer-remove-consent\"><div id=\"inner-remove-consent\"><div id=\"txt-wrapper\"><p>This website uses cookies\. To remove all cookies please follow your browser instructions\. To remove cookie consent for this website\.</p></div><div id=\"btn-wrapper\"><button id=\"remove-consent\" class=\"consent\">
24Remove consent</button></div></div> </div>"]]; 25 var cssRC = ["<style>#outer-remove-consent { display:block; width:100%; overflow:hidden; background-color: rgba(0,0,0,0.5);} #inner-remove-consent { width:90%; background-color:#ffffff; margin:10px auto; text-align:center; overflow:hidden; } @media screen and (min-width: 1050px){ #inner-remove-consent { width:1000px; }} </style>"]; 26 var css1 = ["<style>\* #outer-consent \{font-family:Arial, Helvetica, sans-serif;\}#outer-consent \{display:none;position: fixed;width: 100%;height: 100%;top: 0;left: 0;right: 0;bottom: 0;background-color: rgba\(0,0,0,0\.5\);z-index: 2;cursor: pointer;\}#inner-consent \{background-color:#ffffff;width:85%;margin:auto;z-index:10;text-align: center;position: absolute;padding:10px;left: 50%;top: 50%;-webkit-transform: translateX\(-50%\) translateY\(-50%\);transform: translateX\(-50%\) translateY\(-50%\);\}@media screen and \(min-width: 1050px\)\{ #inner-consent \{width:1000px;\}\}@media screen and \(max-width: 750px\)\{ #inner-consent \{top: 30%;\}\}#inner-consent-main \{clear:both;overflow:hidden;\}#inner-consent-opt \{display:none;position:absolute;background-color:#ffffff;padding-top:10px;padding-bottom:10px;right:0\.5px;z-index:5;overflow:hidden;width:100%;left: 50%;top: 50%;-webkit-transform: translateX\(-50%\) translateY\(-50%\);transform: translateX\(-50%\) translateY\(23%\);\}@media screen and \(max-width: 1050px\)\{ #inner-consent-opt \{-webkit-transform: translateX\(-50%\) translateY\(40%\);transform: translateX\(-50%\) translateY\(40%\);\}\}#consent-container\{width:95%;margin:0px auto;border:1px #cccccc solid;\}#personalized-ad-container \{width:100%;\}#consent-btn-wrapper \{ float:right; width:15%;overflow:hidden;\}#consent-txt-wrapper \{float:left;width:85%;overflow:hidden;\}#vendor-list \{max-height:100px;overflow:auto;\}#vendor-list ul \{list-style:none;\}#vendor-list ul li \{text-align:left;width:100%;margin-left:-40px;padding-left:40px;\}#vendor-list-title \{text-align:center;\} #inner-consent p \{font-size:16px;color:#4e4e4e;white-space: normal;\} #inner-consent a \{font-size:16px;color:#8a8a8a;\}\.consent \{background-color:#3882F7;border:0px;min-width:110px;margin:5% 10px;padding:10px 15px;color:#ffffff;border-radius:3px;font-size:18px;cursor: pointer;-webkit-transition-duration: 0\.4s;transition-duration: 0\.4s;\}\#user-consent:hover \{background-color: #5a98fb;-webkit-box-shadow: 0px 8px 16px 0px rgba\(0,0,0,0\.2\);-moz-box-shadow: 0px 8px 16px 0px rgba\(0,0,0,0\.2\);box-shadow: 0px 8px 16px 0px rgba\(0,0,0,0\.2\);\}\#user-consent:active \{box-shadow: 0px 2px 12px rgba\(0, 0, 0, 0\.2\) inset;\}\#more-opt \{background-color:#cccccc;\}@media screen and \(max-width: 850px\)\{#consent-btn-wrapper \{float:none;width:auto;\} #consent-txt-wrapper \{float:none;width:auto;\}\.consent \{margin:5px 10px;\}#inner-consent p \{font-size:12px; \}#inner-consent a \{font-size:12px; \}\}\.switch \{position: relative;display: inline-block;width: 60px;height: 34px;margin:10px auto;\} \.switch input \{display:none;\} \.slider \{position: absolute;cursor: pointer;top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: \.4s; transition: \.4s;\} \.slider:before \{ position: absolute;content: \"\";height: 26px;width: 26px;left: 4px;bottom: 4px;background-color: white;-webkit-transition: \.4s;transition: \.4s;\} input:checked \+ \.slider \{background-color: #3882F7;\}input:focus \+ \.slider \{box-shadow: 0 0 1px #2196F3;\}input:checked \+ \.slider:before \{-webkit-transform: translateX\(26px\);-ms-transform: translateX\(26px\);transform: translateX\(26px\);\}\.slider\.round \{ border-radius: 34px;\}\.slider\.round:before \{border-radius: 50%;\}</style>"]; 27 var css2 = ["<style>\* #outer-consent \{font-family:Arial, Helvetica, sans-serif;\}#outer-consent { display:none; position: fixed; z-index:99; bottom: 0; width:100%; background-color: rgba(0,0,0,0.5); overflow:visible; } #inner-consent { width:90%; background-color:#ffffff; margin:10px auto; text-align:center; overflow:hidden; }@media screen and \(min-width: 1050px\)\{ #inner-consent \{width:1000px;\}\}@media screen and \(max-width: 750px\)\{ #inner-consent \{top: 30%;\}\}#inner-consent-main \{clear:both;overflow:hidden;\}
27#inner-consent-opt \{display:none;position:absolute;background-color:#ffffff;top:-330px; width:90%; margin:auto;z-index:40;\}#consent-container\{width:95%;margin:0px auto;border:1px #cccccc solid;\}#personalized-ad-container \{width:100%;\}#consent-btn-wrapper \{ float:right; width:15%;overflow:hidden;\}#consent-txt-wrapper \{float:left;width:85%;overflow:hidden;\}#vendor-list \{max-height:100px;overflow:auto;\}#vendor-list ul \{list-style:none;\}#vendor-list ul li \{text-align:left;width:100%;margin-left:-40px;padding-left:40px;\}#vendor-list-title \{text-align:center;\} #inner-consent p \{font-size:16px;color:#4e4e4e;white-space: normal;\} #inner-consent a \{font-size:16px;color:#8a8a8a;\}\.consent \{background-color:#3882F7;border:0px;min-width:110px;margin:5% 10px;padding:10px 15px;color:#ffffff;border-radius:3px;font-size:18px;cursor: pointer;-webkit-transition-duration: 0\.4s;transition-duration: 0\.4s;\}\#user-consent:hover \{background-color: #5a98fb;-webkit-box-shadow: 0px 8px 16px 0px rgba\(0,0,0,0\.2\);-moz-box-shadow: 0px 8px 16px 0px rgba\(0,0,0,0\.2\);box-shadow: 0px 8px 16px 0px rgba\(0,0,0,0\.2\);\}\#user-consent:active \{box-shadow: 0px 2px 12px rgba\(0, 0, 0, 0\.2\) inset;\}\#more-opt\{background-color:#cccccc;\}@media screen and \(max-width: 850px\)\{#consent-btn-wrapper \{float:none;width:auto;\} #consent-txt-wrapper \{float:none;width:auto;\}\.consent \{margin:5px 10px;\}#inner-consent p \{font-size:12px; \}#inner-consent a \{font-size:12px; \}\}\.switch \{position: relative;display: inline-block;width: 60px;height: 34px;margin:10px auto;\} \.switch input \{display:none;\} \.slider \{position: absolute;cursor: pointer;top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: \.4s; transition: \.4s;\} \.slider:before \{ position: absolute;content: \"\";height: 26px;width: 26px;left: 4px;bottom: 4px;background-color: white;-webkit-transition: \.4s;transition: \.4s;\} input:checked \+ \.slider \{background-color: #3882F7;\}input:focus \+ \.slider \{box-shadow: 0 0 1px #2196F3;\}input:checked \+ \.slider:before \{-webkit-transform: translateX\(26px\);-ms-transform: translateX\(26px\);transform: translateX\(26px\);\}\.slider\.round \{ border-radius: 34px;\}\.slider\.round:before \{border-radius: 50%;\}</style>"]; 28//********************************************************************** 29//CHOSSE STYLE 30if (path == "/"+cookieUrl || path == "/"+privacyUrl){ 31 var css = css2; 32} else { 33 var css = css1; 34}; 35//********************************************************************** 36//********************************************************************** 37//CHECK FOR COOKIES 38if (document.cookie.indexOf("cookie-consent") >= 0|| document.cookie.indexOf("o_eu") >= 0) { 39 checkCookie = true; 40}else{ 41 checkCookie = false; 42}; 43//********************************************************************** 44//********************************************************************** 45//ADS 46function getCookie(name){ 47 var re = new RegExp(name + "=([^;]+)"); 48 var value = re.exec(document.cookie); 49 return (value != null) ? unescape(value[1]) : null; 50}; 51 52if (document.cookie.indexOf("cookie-consent") >= 0|| document.cookie.indexOf("o_eu") >= 0){(adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=0;}; 53if ( document.cookie.indexOf("user_ad_choice") !== -1){ 54 var adChoiceValue = getCookie("user_ad_choice"); 55 if (adChoiceValue == "nonPersonalized"){(adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1;}; 56}; 57//********************************************************************** 58//********************************************************************** 59//GEO-LOCATION 60if (checkCookie == false) { 61 var script = document.createElement('script'); 62 script.type = 'text/javascript'; 63 script.src = 'https://geoip-db.com/jsonp'; 64 var h = document.getElementsByTagName('script')[0]; 65 h.parentNode.insertBefore(script, h); 66 var country = ""; 67 function callback(data) 68 { 69 country = data.country_code; 70 }; 71 var euList = ["AT", "BE", "HR", "BG", "CH", "CY", "CZ", "DK", "EE", "FI", "FR", "DE", "GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT", "RO", "SK", "SI", "ES", "SE", "GB", "UNKNOWN"]; 72}; 73//********************************************************************** 74//********************************************************************** 75// CREATE COOKIE FUNCTION 76var createCookie = function(name, value, days) { 77 var expires; 78 if (days) { 79 var date = new Date(); 80 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); 81 expires = "; expires=" + date.toGMTString(); 82 } else { 83 expires = ""; 84 }; 85 document.cookie = name + "=" + value + expires + "; path=/"; 86}; 87//********************************************************************** 88//********************************************************************** 89//CREATE HTML + CSS 90 var countGeoCallback = 0; 91//If in EU
92if (checkCookie == false) { 93 head[0].innerHTML += css; 94 body[0].innerHTML += popUp; 95}; 96//********************************************************************** 97//********************************************************************** 98//COOKIE CONSENT TOOL 99function cookiePopup() {console.log(country + "\r" + countGeoCallback ); 100//Check how many timews function is called' 101 if (countGeoCallback >= 3){ 102 if (country == undefined || country .length <1 || country == null){ 103 country="UNKNOWN"; 104 }; 105 clearInterval(geoCheck); 106 }; 107 countGeoCallback++; 108//***IF NOT IN EU 109 if (country.length > 0 && euList.indexOf(country) < 0){ 110 clearInterval(geoCheck); 111 (adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=0; 112 createCookie("o_eu", country, nonEuCookieExp); 113 }; 114//***IF IN EU 115 if (euList.indexOf(country) >= 0){ 116 document.getElementById('outer-consent').style.display='block'; 117 clearInterval(geoCheck); 118// ONCLICK AGREE 119 document.getElementById("user-consent").onclick=function(){ 120 //CALL CREATE COOKIE FUNCTION 121 if(document.getElementById('personalized-ads').checked){ 122 var adChoice = "Personalized" 123 }else{ 124 var adChoice = "nonPersonalized" 125 }; 126 createCookie("cookie-consent", "YES", euCookieExp); 127 createCookie("user_ad_choice", adChoice, euCookieExp); 128//REMOVE COOKIE CONSENT POP-UP 129 document.getElementById('outer-consent').style.display='none'; 130 location.reload(); 131 //ADS BY GOOGLE 132 (adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=0; 133 if(document.getElementById('personalized-ads').checked){ 134 (adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=0; 135 }else{ 136 (adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1; 137 }; 138 }; 139 if (country == "UNKNOWN"){clearInterval(geoCheck);}; 140 }; 141}; 142//********************************************************************** 143//********************************************************************** 144//CALL COOKIE CONSENT TOOL 145if (checkCookie == false) { 146 var geoCheck = setInterval(cookiePopup, 1000); 147}; 148//********************************************************************** 149//********************************************************************** 150//REMOVE CONSENT 151 var cookies = document.cookie.split(";"); 152if (path == "/"+cookieUrl && document.cookie.indexOf("cookie-consent") !== -1){ 153 head[0].innerHTML += css += cssRC; 154 body[0].innerHTML += removeConsent; 155 156//Onclick Remove Consent 157 document.getElementById("remove-consent").onclick=function(){ 158 for (i = 0; i < cookies.length; i++) { 159 document.cookie = cookies[i]+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; 160 }; 161 location.reload(); 162 }; 163}; 164//********************************************************************** 165//********************************************************************** 166//POPULATE VENDOR LIST 167if (checkCookie == false) { 168 var vendorListWrap = []; 169 for(var i = 0; i < vendorList.length; i++) { 170 vendorListWrap.push("<li><p>" + vendorList[i] + "</p><a href=\"" + vendorListLink[i] + "\" target=\"_blank\"> " + vendorList[i] + " privacy policy</a></li>"); 171 }; 172 document.getElementById("vendor-list").innerHTML += "<ul>" + vendorListWrap.join("") + "</ul>"; 173}; 174//********************************************************************** 175//********************************************************************** 176//TOGGLE SETTINGS DISPLAY 177if (checkCookie == false) { 178 document.getElementById("more-opt").onclick=function(){ 179 var consentOpt = document.getElementById("inner-consent-opt"); 180 if (consentOpt.style.display === "block") { 181 consentOpt.style.display = "none"; 182 } else { 183 consentOpt.style.display = "block"; 184 }; 185 }; 186}; 187
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.