Skip to content

Instantly share code, notes, and snippets.

View NightStrang6r's full-sized avatar
🏠
Working from home

NightStrang6r

🏠
Working from home
View GitHub Profile
function MonitoringJS(){
console.log('>>Monitoring.js loaded.');
function getCookie(name) {
var matches = document.cookie.match(new RegExp(
"(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
));
return matches ? decodeURIComponent(matches[1]) : undefined;
}