Autoload plugin
-
Please, please, please, add the option to automatically load a plugin specified in the URL. It's annoying to always need to find my plugin in the list and open it manually. Also, it's hard to refer a plugin to other people, I need to give them instructions instead of just a URL.
I understand that there are some security concerns but can you allow this at least for the official plugins that show in the UI?
When doing it, please allow loading more plugins at the same time, the URL could be e.g. windy.com/?plugin=pg-mapa&plugin=airspaces.
-
I've created a poor man solution to load the plugins I always use with a bookmarklet. Create a browser bookmark with this URL (strip the newlines if need to but e.g. Chrome does that automatically, keep
javascript:
):javascript: function loadPlugin(id) { document.querySelector('[href="#load"]').click(); setTimeout(() => { const input = document.querySelector('[placeholder="Example: windy-plugin-hello-world"]'); input.value = id; input.dispatchEvent(new InputEvent('input')); input.nextElementSibling.children[1].click(); }); } loadPlugin('windy-plugin-pg-mapa'); setTimeout(() => { W.broadcast.fire('rqstOpen', 'plugins'); setTimeout(() => loadPlugin('windy-plugin-flymet')); }, 3000);
Then open https://www.windy.com/plugins and click this bookmark. It will open the plugins I use.
-
@jakubvrana
Thanks, this allows me to get plugins also on iPad and cell phone which was not possible with the app nor the mobile web. As it automatically opens the app I can’t save a bookmark. So I put your post in favorite. -
@jakubvrana works great, this is a very novel solution. However I have ran into trouble loading other plugins with this method. Is it due to plugin size?
The plugin I particularly want to test is windy-plugin-airspaces by MIT.
-
@3wingweather You can now use an URL: https://www.windy.com/plugins/windy-plugin-airspaces.