diff --git a/public/index.html b/public/index.html index 77e5f14..6aacca4 100644 --- a/public/index.html +++ b/public/index.html @@ -33,6 +33,10 @@ _czc.push(["_setCustomVar","has_token",localStorage['TOKEN']?'yes':'no',1]); _czc.push(["_setCustomVar","standalone",((window.matchMedia('(display-mode: standalone)').matches) || (window.navigator.standalone))?'yes':'no',1]); _czc.push(["_setCustomVar","build_info","%REACT_APP_BUILD_INFO%"||'---']); + var cr_version=/Chrome\/(\d+)/.exec(navigator.userAgent); + _czc.push(["_setCustomVar","cr_version_test",cr_version?cr_version[1]:'[null]',2]); + /* + // track config try { var config=JSON.parse(localStorage['hole_config']||'{}'); for(var key in config) @@ -42,6 +46,7 @@ } catch(e) { console.trace(e); } + */ var cnzz_s_tag = document.createElement('script'); cnzz_s_tag.type = 'text/javascript'; cnzz_s_tag.async = true; diff --git a/src/Config.js b/src/Config.js index fe851ea..cf5cb9f 100644 --- a/src/Config.js +++ b/src/Config.js @@ -14,9 +14,7 @@ const DEFAULT_CONFIG={ background_img: 'static/bg/gbp.jpg', background_color: '#113366', pressure: false, - horizontal_scroll: true, easter_egg: true, - comment_cache: false, color_scheme: 'default', }; @@ -223,7 +221,6 @@ export class ConfigUI extends PureComponent {