diff --git a/tarteaucitron.js b/tarteaucitron.js index 82f61a8..202c94e 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -29,9 +29,7 @@ var tarteaucitron = { var cdn = tarteaucitron.cdn, language = tarteaucitron.getLanguage(), pathToLang = cdn + 'lang/tarteaucitron.' + language + '.js', - timestamp = new Date().getTime(), pathToServices = cdn + 'tarteaucitron.services.js', - parametersCom = '?uuid=' + tarteaucitron.uuid + '&c=' + encodeURIComponent(tarteaucitron.cookie.read()) + '&_' + timestamp, linkElement = document.createElement('link'), defaults = { "grayArea": false, @@ -42,11 +40,6 @@ var tarteaucitron = { "showAlertSmall": true }; - // is the commercial version ? - if (tarteaucitron.uuid !== '' && tarteaucitron.uuid !== undefined) { - pathToServices = pathToServices + parametersCom; - } - // Step 0: get params if (params !== undefined) { tarteaucitron.extend(defaults, params); @@ -107,18 +100,8 @@ var tarteaucitron = { return 0; }); - // if bypass: load all services and exit - // for example, set tarteaucitron.user.bypass = true; - // if the user is not in europa - if (tarteaucitron.user.bypass === true) { - for (index = 0; index < tarteaucitron.job.length; index += 1) { - service = s[tarteaucitron.job[index]]; - service.js(); - } - return; - } - // Step 3: prepare the html + html += '
'; html += ''; html += '