SHARE
TWEET

Untitled

a guest Apr 21st, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function getCookie(name) {
  2.     const cookie = document.cookie.match(new RegExp(name + '=([^;]+)'));    
  3.     return (cookie != null) ? cookie[1] : null;
  4. }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top