Skip to content

Instantly share code, notes, and snippets.

View mbianchihr's full-sized avatar
🚀

Marko Bianchi mbianchihr

🚀
View GitHub Profile
@mbianchihr
mbianchihr / mediumStoriesStats.js
Created July 12, 2019 07:09 — forked from epintos/mediumStoriesStats.js
Export Medium Stats Stores to CSV
// Run Inspector Console in chrome and copy and paste the following code in the /stats/stories view
function download(filename, text) {
var pom = document.createElement('a');
pom.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));
pom.setAttribute('download', filename);
if (document.createEvent) {
var event = document.createEvent('MouseEvents');
event.initEvent('click', true, true);
### Keybase proof
I hereby claim:
* I am mkorevec on github.
* I am mkorevec (https://keybase.io/mkorevec) on keybase.
* I have a public key ASAFcrDmaZkn2a78Kfbkzy7KarKqVzKaHbj5oNHzTKH2wQo
To claim this, I am signing this object: