07.03.2017, 11:57
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?
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
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