Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to download locally? #72

Open
ajb opened this issue Dec 11, 2022 · 4 comments
Open

Ability to download locally? #72

ajb opened this issue Dec 11, 2022 · 4 comments

Comments

@ajb
Copy link

ajb commented Dec 11, 2022

deth.net is a lifesaver - does anyone know if there is the ability to automatically download the files and open them in your local VS Code instance? can't seem to figure this out, any advice is appreciated :)

@ksin751119
Copy link

I have the same issue...

@abmisx0
Copy link

abmisx0 commented Mar 30, 2023

same here, what's the easiest way to do this? Right now I have to manually create the file directories and then download each file. Can we get a clone repo feature please.

edit: I found the MetaDock extension lets you download contracts as a zip.
https://blocksec.com/metadock

@Elyx0
Copy link

Elyx0 commented Jun 12, 2024

Been waiting a long time for dethcode to solve this, @abmisx0 i use blockscan instead now when I want to download the whole folders https://vscode.blockscan.com/ethereum/0xba12222222228d8ba445958a75a0704d566bf2c8

in dethcode doing the same as blockscan you get a console error of cross origin

 WARN DOMException: Failed to execute 'showDirectoryPicker' on 'Window': Cross origin sub frames aren't allowed to show a file picker.
    at B.i (https://code.deth.net/out/vs/workbench/workbench.web.main.js:2551:118413)
    at async B.h (https://code.deth.net/out/vs/workbench/workbench.web.main.js:2551:118137)

@Mouradif
Copy link

Mouradif commented Oct 1, 2024

This is because when you access some-explorer.deth.net/address/<address>, it opens a web page with an iframe that points to the correct URL: code.deth.net/address/<address>?explorer=some-explorer. Since the iframe is technically showing a different domain, the browser refuses to show the picker that lets you give access to some folder of your file system to the webpage.

Interestingly enough, I tried going directly to the url from the iframe, I selected "Download", it showed the native file system dialog to select a folder, but then it just kept loading forever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants