Skip to content

Instantly share code, notes, and snippets.

@andreasvirkus
Last active December 1, 2019 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreasvirkus/72007ee998bda8ac89c6fbd6d474a024 to your computer and use it in GitHub Desktop.
Save andreasvirkus/72007ee998bda8ac89c6fbd6d474a024 to your computer and use it in GitHub Desktop.
train-time-bookmarklet.js
javascript:(()=>{const e=new Date,t=(e.getDate()+'').padStart(2,'0'),l=e.getMonth()+1;let n=`https://elron.pilet.ee/et/otsing/Tondi/Pääsküla/${`${e.getFullYear()}-${l}-${t}`}`;location.href=n})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment