bgrins / devtools-snippets

A collection of helpful snippets to use inside of browser devtools
http://bgrins.github.io/devtools-snippets/
2.96k stars 370 forks source link

console.save in android #60

Closed delijati closed 8 years ago

delijati commented 9 years ago

how to download the created file into desktop instead of downloading to android?

bgrins commented 8 years ago

Oh that's interesting that it saves in android, but I guess it makes sense based on https://github.com/bgrins/devtools-snippets/blob/master/snippets/console-save/console-save.js#L16-L24. I'm not sure how to make the download happen in the desktop but in this case you could use the copy helper in the console like copy(obj) then save it to a file.