So I have looked around and it seems like everything is deleting cookies using Javascript but AFTER they CREATED it. My question is how do I delete a cookie from a website stored on my computer using javascript.
Say I go to www.yahoo.com and I get a cookie named "apeaf" (real cookie from yahoo) path = / accessible to script = yes
So my question is how would I write a JS script to delete that cookie? I did not make it I just want to write a script that basically says
document.cookie = 'Name=apeaf ; Path=/; Domain=.www.yahoo.com; Expires=Thu,01 Jan 1970 00:00:01 GMT;';
but that is not deleting it.