Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. function anonymize() {
  2. $("element").each(function(element) {
  3. properties = $(element).prop();
  4. if (properties.length > 0) {
  5. properties.forEach(function(prop) {
  6. element.removeProp(prop);
  7. });
  8. }
  9. });
  10. }
  11.  
  12. anonymize();
  13. console.log("Done.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement