Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getCookie(name) {
- var value = "; " + document.cookie;
- var parts = value.split("; " + name + "=");
- if (parts.length == 2) return parts.pop().split(";").shift();
- }
- $.ajax({
- url: '../dig.php?type=comm&i=80230908&story=4783894&dir=1',
- headers: {'X-Csrf-Token': getCookie('PHPSESS')}
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement