Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mehdichaouch/6661220 to your computer and use it in GitHub Desktop.
Save mehdichaouch/6661220 to your computer and use it in GitHub Desktop.
When you create an event on Facebook this bookmarklet help you to tick all the checkboxes.
(function(){elms=document.getElementsByName("checkableitems[]");for(i=0;i<elms.length;i++){if(elms[i].type="checkbox"){elms[i].checked=true;if(elms[i].parentNode.className.indexOf("disabledCheckable")<0){elms[i].click();elms[i].parentNode.className+=" selectedCheckable";}}};})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment