Path: blob/master/sites/Zomato-Phishing/index_files/api.js
739 views
(function() {1var m = 'Google Analytics Content Experiments are no longer supported: ' +2'(https://support.google.com/analytics/answer/9366791?hl=en). ';3window.cxApi = {};45function r(p, f) {6console && console.warn && console.warn(7m + 'Please remove use of cxApi.' + p + ' from this page.');8return f ? function() {} : undefined;9}10var a = [11'setChosenVariation', 'setDomainName', 'setCookiePath', 'setAllowHash',12'setCookieExpirationSeconds', 'chooseVariation', 'getChosenVariation',13'getWeight', 'isExperimentRunning', 'isCombinationDisabled',14'getParticipation', 'ORIGINAL_VARIATION', 'NO_CHOSEN_VARIATION',15'NOT_PARTICIPATING'16];17for (var i = 0; i < a.length; i++) {18try {19Object.defineProperty(window.cxApi, a[i], {get: r.bind(null, a[i], i < 7)});20} catch (e) {21}22}2324console && console.warn && console.warn(25m + 'Please uninstall http://www.google-analytics.com/cx/api.js from ' +26'this page.');27})();282930