OpenINF / openinf.github.io

Detected the use of alert, confirm and prompt JS-0052
Anti-pattern
Minor
2 occurrences in this check
Unexpected alert.
242		}
243		else {
244			localStorage.setItem('skipgc', 't')
245			alert('GoatCounter tracking is now DISABLED in this browser until ' + location + ' is loaded again.')246		}
247	}
248
Unexpected alert.
238	if (location.hash === '#toggle-goatcounter') {
239		if (localStorage.getItem('skipgc') === 't') {
240			localStorage.removeItem('skipgc', 't')
241			alert('GoatCounter tracking is now ENABLED in this browser.')242		}
243		else {
244			localStorage.setItem('skipgc', 't')