Inline SVG Replacer

Replace all img tags with src as an SVG file into inline SVG tags

Από την 12/01/2024. Δείτε την τελευταία έκδοση.

Δημιουργός
mkpoli
Βαθμολογίες
0 0 0
Έκδοση
0.1.0
Δημιουργήθηκε την
12/01/2024
Ενημερώθηκε την
12/01/2024
Μέγεθος
2 KB
Άδεια
CC0
Εφαρμόζεται σε
Όλοι οι ιστοχώροι

This a script that replaces all tags that render svg images to inlined tags. The point of this is to allow advanced svg features like currentColor, so that we can modify the style of a website to change the color in svg, or do furthor modifications to the element. A common usage is for Dark Readers, where they cannot change color of a svg for something such as math equations, but by this script, the dark reader then can correctly apply the inverted color.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

一年攒够 12 元

云驰互联

云驰互联