Skip to content

Do not inject window.Buffer #637

@BlackGlory

Description

@BlackGlory

I found that some websites such as zhihu.com will use window.Buffer, Buffer injected by ipfs-companion would break the normal behavior of these websites. Buffer can be set elsewhere.

https://github.com/ipfs-shipyard/ipfs-companion/blob/50db9c08d5bf0e5297981ff474da07585aa8a8ce/add-on/src/contentScripts/ipfs-proxy/page.js#L6

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/window-ipfsIssues related to IPFS API exposed on every pagestatus/deferredConscious decision to pause or backlogstatus/readyReady to be worked

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions