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.