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
### Keybase proof | |
I hereby claim: | |
* I am ulfandersson on github. | |
* I am ulf_andersson (https://keybase.io/ulf_andersson) on keybase. | |
* I have a public key ASCDocN6nUCHv564_b8UpkQs_PXGwG895QojhQlwNkI6EAo | |
To claim this, I am signing this object: |
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
/** | |
* Ladda ner aktieinnehav från nordnet. Copy-paste till terminal och kör! | |
*/ | |
// (Use var instead of const to be able to copy-paste to console multiple times) | |
// The data is not a table, but row-based flexbox-divs. | |
var data = Array.from(document.querySelector("#pageAccountStocksTable").children, | |
rowDiv => rowDiv.innerText | |
// Remove Köp Sälj buttons | |
.replace("KöpSälj\n", "") |
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
#!/bin/bash | |
# | |
# Copyright 2018 Ulf Andersson | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |