Inline SVG Replacer

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

目前为 2024-01-12 提交的版本。查看 最新版本

作者
mkpoli
评分
0 0 0
版本
0.1.0
创建于
2024-01-12
更新于
2024-01-12
大小
1.6 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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址