Client-Side Favicon Modification #83133
-
SummaryI'm currently working on an app where the users should be able to modify the sites favicon. I'm saving the favicon in localStorage as "siteIcon" and applying it on render, but as far as I know, there's no way to do that. Please provide any info that you have, thank you. Additional informationOperating System:
Platform: win32
Arch: x64
Version: Windows 11 Pro
Available memory (MB): 31850
Available CPU cores: 16
Binaries:
Node: 22.18.0
npm: 10.9.3
Yarn: N/A
pnpm: N/A
Relevant Packages:
next: 15.3.2 // There is a newer version (15.5.2) available, upgrade recommended!
eslint-config-next: 15.3.2
react: 19.1.0
react-dom: 19.1.0
typescript: 5.8.3 ExampleNo response |
Beta Was this translation helpful? Give feedback.
Answered by
icyJoseph
Aug 27, 2025
Replies: 1 comment 10 replies
-
Maybe https://stackoverflow.com/questions/260857/changing-website-favicon-dynamically/260877#260877? the target the favicon element and change it - you could do that on a click handler, etc |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried with this:
Used something like: