mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2026-01-31 16:14:33 +01:00
New release
This commit is contained in:
12
analytics.js
12
analytics.js
@@ -1,7 +1,15 @@
|
||||
(function() {
|
||||
|
||||
if(window.location.host != 'bitwisecmd.com' || window.location.hash.indexOf('-notrack') > -1) {
|
||||
console.log("Analytics not tracked")
|
||||
var disableAnalytics = localStorage.getItem('trackAnalytics') === 'false' || window.location.hash.indexOf('-notrack') > -1
|
||||
|
||||
if(disableAnalytics) {
|
||||
localStorage.setItem("trackAnalytics", "false");
|
||||
console.log('Analytics tracking disabled.');
|
||||
return;
|
||||
}
|
||||
|
||||
if(window.location.host != 'bitwisecmd.com') {
|
||||
console.log("Analytics not tracked. Non-prod host")
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -21,7 +21,7 @@ code { font-size: 1.2em; font-weight: bold; }
|
||||
|
||||
.hashLink { text-decoration: none; margin-left: 5px; visibility: hidden }
|
||||
.hashLink:hover { text-decoration: underline; margin-left: 5px; }
|
||||
.input:hover .hashLink { visibility: visible }
|
||||
.result:hover .hashLink { visibility: visible }
|
||||
|
||||
.expression .label { font-weight: bold; padding-right: 5px; text-align: right; }
|
||||
.expression .bin { letter-spacing: 3px; }
|
||||
|
||||
Reference in New Issue
Block a user