Hello ![]()
I’ve updated the theme component to v2.0
: DEV: Replace CSS-drawn link icons with configurable d-icon rendering; fix anonymous blocking crashAdd files via upload - Pull Request #1 - VaperinaDEV/external-link-shield - GitHub
This update contains:
-
Swap the hand-maintained SVG
mask-imageicons for real<svg class="d-icon">elements rendered viaiconHTML(), inserted next to links by secure-links.js -
Add settings:
exit_confirmation_continue_iconexternal_link_icon,trusted_link_icon,external_link_icon_color,trusted_link_icon_color,link_icon_position(before/after)
-
Fix crash when
enable_anonymous_blockingis disabled:currentUser.trust_levelwas read for anonymous users (null), throwing and silently leaving the original<a>unprocessed/unprotected; anonymous visitors now get a well-defined pass-through (icon + optional confirmation modal, no TL gating)