braintree

braintree/inject-stylesheet

Create a <style> element with CSS properties, filtering input using an allowlist or blocklist.

TypeScript
18
5
MIT License

This library securely injects dynamic CSS by sanitizing stylesheets against known exploits using blocklists or allowlists. It filters CSS selectors, property keys, and values to prevent malicious code injection through styles. The project is designed for developers who need to safely apply user-generated or dynamic styles in web applications, supporting all modern browsers and IE9+.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

crookedneighbor's profile
crookedneighbor
57 contributions
adrmachado-public's profile
adrmachado-public
14 contributions
braintreeps's profile
braintreeps
10 contributions
jplukarski's profile
jplukarski
8 contributions
oscarleonnogales's profile
oscarleonnogales
6 contributions
ibooker's profile
ibooker
6 contributions
dependabot[bot]'s profile
dependabot[bot]
4 contributions
EvanHahn's profile
EvanHahn
3 contributions
gesa's profile
gesa
3 contributions
lilaconlee's profile
lilaconlee
2 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet