Would also love to open a plugin from the URL. See discussion here: https://community.windy.com/topic/8925/how-to-document-a-plugin
It is considered a potential security threat. I though it was only possible to inject JS if the author of the plugin actively allows it, by appending a script element. I may be wrong?
@vicb right, continuation of dewpoints/temps 'underground' doesnt make any sense
now if you're looking into mobile screen real estate is an issue to start with, so maybe drop the brown box altogether and save some pixels for the skewt diagram - just start at ground level and record ground elevation
my use case: I use the traj plugin for planning balloon rides
so I pick a track which is likely and nice, and then check conditions along this path
'along this path' practically never translates into a favorite location - so in this case just used up screen space for no use
@jakubvrana These parameters are basically for inner systems. It was not intended for public use. icon is a number used for printing weather icon, icon2 is a new version of the same. These values are basically got from the weathercode and also from other parameters. And for the night icon we are using moonPhase to partly/fully fill the moon.
Feel free to write me using chat for more information.
@ivo said in How to document a plugin?:
Basicly the plugins are a slight security threat running JS in the same context. We plan to make nice plugin Gallery and loading/opening plugins much more easy, yet we do not believe that opening URL is good idea.
This way an attacker can submit an attacker can submit a link with malware JS plugin in path. We routinely check source code of published plugins to make sure this will not happen.
A simple solution which is not a security risk is to open a pre-filled form which the user has to confirm. E.g. https://www.windy.com/?plugin=windy-plugin-pg-mapa would open this:
The user then needs to click Load & activate.
Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps