Chrome does not allow access to local files from Javascript unless you give it explicit permission. You have two options: (1) run a local webserver; or (2) give it permission:
*google-chrome --allow-file-access-from-files* -tk On Sat, Dec 26, 2020 at 8:22 PM ExprmntAl <[email protected]> wrote: > I noticed a few months ago that the Seasons Skin dropdown menus for the > NOAA MOnthly and Yearly reports did not work, and wondered if I had broken > something in Weewx along the way, but I just did a fresh install of Weewx a > few days ago and noticed that the dropdown menus for the NOAA Monthly and > Yearly reports still did not work properly in the Chromium Browser in > Raspberry Pi OS (Buster). It seems like the address for the files has some > extra text in it highlighted below: > > file:///var/www/html/weewx/tabular.html?report=NOAA/NOAA-2020.txt > > If I remove the highlighted text, the link correctly pulls up the file. > Has anyone else noticed this? Does the Seasons Skin Index.html file need > to be modified to correct this or is there a more appropriate way? > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/5f3da712-da28-4a85-88b8-f8dd2ee42d97n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/5f3da712-da28-4a85-88b8-f8dd2ee42d97n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEC%3DOfMdbM8WOtx59qgWqAsO7hVLz9FDavGUe2kgxTNEFw%40mail.gmail.com.
