Current Path : /var/test/www/html/cipa/wp-content/plugins/content-protector/assets/public/ |
Current File : /var/test/www/html/cipa/wp-content/plugins/content-protector/assets/public/passster-cookie.min.js |
(function($){function escapeRegExp(str){return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")} $(document).ready(function(){let cookieName='passster';$('#passster_password').on("input",function(){passster_pwd=$(this).val()});$('#passster_submit').click(function(){cookie.remove(cookieName);let sanitized=escapeRegExp(passster_pwd);cookie.set(cookieName,sanitized,{expires:parseInt(passster_cookie.days),path:'/',})})})}(jQuery))