extension ExtPose

IPFS Support

CRX id

bgkgpjkailocmhjioiakogohkahhfbhp-

Description from extension meta

Adding standalone IPFS native URL support for chromium based browsers without installing IPFS in your machine.

Image from store IPFS Support
Description from store If you don't want to install and run IPFS locally on your machine and want to browse IPFS native URLs then this extension is for you. Contribute: https://github.com/warengonzaga/ipfs-support-extension Sponsor: https://github.com/sponsors/warengonzaga

Latest reviews

  • (2023-01-07) Emily Natividad: Works as expected, job well done!

Latest issues

  • (2023-09-02, v:0.1.0) Jahid Hasan: Please sir Fix background.js File Code
    chrome.runtime.onMessage.addListener(function(message, sender, response) { if (message.ipfsURL) { const queryParam = sender.tab.url.split("?")[1]; const urlParams = new URLSearchParams(queryParam); const ipfsValue = urlParams.get("q"); // Array of gateway URLs to choose from const gatewayOptions = [ "https://ipfs.io/ipfs/", "https://dweb.link/ipfs/" ]; // Randomly select a gateway URL from the array const randomGateway = gatewayOptions[Math.floor(Math.random() * gatewayOptions.length)]; const ipfsCID = ipfsValue.slice(7); const redirectURL = randomGateway + ipfsCID; // redirect chrome.tabs.update(sender.tab.id, {url: redirectURL}) // debug console.log("IPFS native URL detected via google search."); console.log("IPFS Native URL: " + ipfsValue); console.log("IPFS CID: " + ipfsCID); console.log("Redirect URL: " + sender.tab.url); } });

Statistics

Installs
69 history
Category
Rating
5.0 (2 votes)
Last update / version
2024-01-02 / 0.1.2
Listing languages
en

Links