Created
February 6, 2024 20:17
-
-
Save silpol/4a35a8a5b1e662f8896d23cb52247168 to your computer and use it in GitHub Desktop.
Bookmarklet for new NordPool site to show current date graph of price in Finland
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:function url() { | |
var date = new Date(); | |
var y = date.getFullYear(); | |
var m = date.getMonth() +1; | |
if(m < 10){m = '0' + m;} | |
var d = date.getDate(); | |
if(d < 10){d = '0' + d;} | |
var date = y + "-" + m + "-" + d; | |
return 'https://data.nordpoolgroup.com/auction/day-ahead/prices?deliveryDate='+date+'&deliveryAreas=FI¤cy=EUR'; | |
} window.open(url(),"_self"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NordPool recently re-shaped site and old URL in bookmark won't work anymore to get a look at today/tomorrow data for you own market
Here is Bookmarklet text, one can substitute static URL with text from copy-paste area above
Based on https://superuser.com/a/1118851/66369