I got Google Maps implement in my website but I want to block the cookie ("NID") until the user allows the cookies on this website. Is there a way to block the cookie with JavaScript?
I'm using
document.cookie = "BpSessionID=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/";
To delete other cookies but this isn't working for third party cookies.