[feature-748]Perspective Favicon

It's still on the low priority "nice to have" feature list, yet to be picked up.

1 Like

:face_holding_back_tears:

Any updates on this? Is it coming next patch? :face_holding_back_tears: :face_with_peeking_eye:

The devs are all working on the 8.3 release I believe so it's probably going to be pushed off until then and my guess is they're only working on bug-fixes on the 8.1 branch at this time (just guessing based on changelogs).

1 Like

Woot Woot Woot! That'd be awesome for sure. I can't wait to have unique icons for all of our plant perspective sites. :partying_face: :partying_face: :partying_face: :partying_face:

Until someone from IA comments directly that it is happening in a specific version, I wouldn't get your hopes up.

2 Likes

Yeah, I wasn't saying it was happening in 8.3 I was saying they're probably not focused on anything in 8.1 right now because they're all working on 8.3. I was saying it's probably pushed off until then because of that, but even then, no one but IA knows if this will happen in 8.3.0 or 8.3.50.....or 8.4+

2 Likes

:smiling_face_with_tear:

Soo i got something for you :mage:

Create these files (and injectables folder) (depending on install folder ofc)

"C:\Program Files\Inductive Automation\Ignition\data\modules\com.inductiveautomation.perspective\injectables\head_bottom.txt"

"C:\Program Files\Inductive Automation\Ignition\webserver\webapps\main\newFavicon.ico"

In the head_bottom.txt put this:

<script>
const oldLinks = document.querySelectorAll('link[rel*="icon"]');
oldLinks.forEach(e => {e.href = '/newFavicon.ico';});
</script>

Your icon can be whatever (pngs and stuff should be oke too i think)

Restart gateway and Restart browser

Special thanks too: ive seen this post a while but i forgot this favicon post xd

You could use different icons for each project like this,

<script>
const oldLinks = document.querySelectorAll('link[rel*="icon"]');
const projectName = location.pathname.split('/')[4]
oldLinks.forEach(e => {e.href = `/${projectName}.ico`;});
</script>
6 Likes

You're a legend!

1 Like