javascript - How to check if any cookies have been created using html/js/php etc? -


i have been working on chrome app recently, , need functionality alert user javascript msgbox when cookies created. user have option accept or decline cookie. have experience in html, , small amount in php, not knwo how this. can help? thanks!

either cookie set via http (in case late client side javascript prevent being accepted) or set javascript, involve modifying document.cookie. unless code has been obfuscated, can grep js codebase cookie find every time goes modify , wrap confirmation function. (there no way intercept changes programatically, watch on interval, storing old values, , set if changes).


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -