(function (args) {
- function readCookie(name) {
+ function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
- }
+ }
+ var c = readCookie('forbesUtilCookie');
+ console.log(JSON.parse(c));
+
+ if (c && window.pathname.match(/forbes\/welcome/) {
+
+ }
+
+
})();
\ No newline at end of file