Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asumansenol/b4eb69dec0dcd31f343c3b5a15e2dae0 to your computer and use it in GitHub Desktop.
Save asumansenol/b4eb69dec0dcd31f343c3b5a15e2dae0 to your computer and use it in GitHub Desktop.
Selectors used in Meta and Tiktok's Automated Advanced Matching feature, that triggers hashed personal data collection. See https://homes.esat.kuleuven.be/~asenol/leaky-forms for the background.
Meta: "input[type='button'],input[type='image'],input[type='submit'],button,[class*=btn],[class*=Btn],[class*=button],[class*=Button],[role*=button],[href^='tel:'],[href^='callto:'],[href^='mailto:'],[href^='sms:'],[href^='skype:'],[href^='whatsapp:'],[id*=btn],[id*=Btn],[id*=button],[id*=Button],a"
TikTok: "input[type='button'],input[type='image'],input[type='submit'],button,[class*=btn],[class*=Btn],[class*=button],[class*=Button],[role*=button],[href^='tel:'],[href^='callto:'],[href^='mailto:'],[href^='sms:'],[href^='skype:'],[href^='whatsapp:'],[id*=btn],[id*=Btn],[id*=button],[id*=Button]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment