logo

scripts

A bunch of scripts, some to be moved to their own repository
commit: b835c40d01b7993341a7ab04f3f27cdd2178a1d6
parent: 05b314cdd3bee4b00b239fba75a74fca1f61bc47
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 27 Sep 2018 16:31:05 +0200

low-tech-solar-stats.user.js: Comment out the forecast stuff for now

Diffstat:

Mjavascript/userscript/low-tech-solar-stats.user.js10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/javascript/userscript/low-tech-solar-stats.user.js b/javascript/userscript/low-tech-solar-stats.user.js @@ -3,7 +3,7 @@ // @namespace https://hacktivis.me/ // @description jQuery-less JS version to display the power stats on the page // @include https://solar.lowtechmagazine.com/* -// @version 0.0.1 +// @version 0.0.2 // @grant none // ==/UserScript== @@ -11,10 +11,10 @@ document.getElementById("menu").child.style.display = "inline-block"; var url = "https://solar.lowtechmagazine.com/api/stats.json"; -var weather_ignore = ["snow", "sleet", "wind", "fog"]; -var weather_data = ["today", "tomorrow", "day_after_t"]; -var weather_days = ["today", "tomorrow", "day after tomorrow"]; -var forecast = ""; +// var weather_ignore = ["snow", "sleet", "wind", "fog"]; +// var weather_data = ["today", "tomorrow", "day_after_t"]; +// var weather_days = ["today", "tomorrow", "day after tomorrow"]; +// var forecast = ""; var request = new XMLHttpRequest(); request.onload = function() {