Home / Technologies / DOMPurify vs JS Cookie
DOMPurify vs JS Cookie: who uses which
JS Cookie is on more sites: 1,828,879 against 421,276 for DOMPurify, about 4.3 times as many. Here's how they compare across the websites we've indexed, and where each one does best.
Where each one is used
| Domain | DOMPurify | JS Cookie |
|---|---|---|
| .com on .com | 177,784 | 829,408 |
| .de in Germany | 31,391 | 66,215 |
| .org on .org | 17,331 | 53,213 |
| .uk in the UK | 11,115 | 57,087 |
| .fr in France | 13,168 | 49,405 |
| .it in Italy | 7,586 | 48,531 |
| .ru on .ru | 8,462 | 45,554 |
| .nl in the Netherlands | 8,577 | 40,040 |
73,084 sites run both at once.
Questions
Which is more popular, DOMPurify or JS Cookie?
JS Cookie is on more sites: 1,828,879 against 421,276 for DOMPurify, about 4.3 times as many, across the sites StackGrep has indexed.
Do sites use DOMPurify and JS Cookie together?
73,084 sites load both. That's often a switch in progress, or two teams picking different tools.
Want the whole list?
Sign up to download every site using DOMPurify or JS Cookie as a spreadsheet and see new ones as they appear. 200 free credits to start. No card needed.