This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Loading screen
#6
Hi
I'm trying the solution from the link above.
I need to add <link rel="manifest" href="manifest.json"> into page's HEAD. How can I do it? Is it possible through javascript in the same way as I inject my own icon?

Code:
$(function(){
new_path = '/scada/resources/icons/favicon.png'
$('head > link')[3].href= new_path
$('head > link')[4].href= new_path
});

I need to store manifest.json file in LM. Can I do it in Images/Background, icons etc? Is there a better solution?

Thank you
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply


Messages In This Thread
Loading screen - by buuuudzik - 28.02.2017, 10:41
RE: Loading screen - by Erwin van der Zwart - 28.02.2017, 23:33
RE: Loading screen - by buuuudzik - 01.03.2017, 05:29
RE: Loading screen - by Erwin van der Zwart - 01.03.2017, 06:36
RE: Loading screen - by Thomas - 01.03.2017, 18:05
RE: Loading screen - by Thomas - 07.03.2017, 11:57
RE: Loading screen - by admin - 07.03.2017, 12:51
RE: Loading screen - by Thomas - 07.03.2017, 14:13
RE: Loading screen - by admin - 07.03.2017, 14:30
RE: Loading screen - by Thomas - 07.03.2017, 15:51

Forum Jump: