Skip to content

Ability to download locally? #72

Description

@ajb

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 :)

Activity

  1. ksin751119 commented on Feb 9, 2023

    @ksin751119

    I have the same issue...

  2. abmisx0 commented on Mar 30, 2023

    @abmisx0

    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

  3. Elyx0 commented on Jun 12, 2024

    @Elyx0

    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)
    
  4. Mouradif commented on Oct 1, 2024

    @Mouradif

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions