8
10 Comments

View Source Code of Any Extension

Just a tip if you ever want to view the source code of another extension you can use this website or extension

For additional information checkout this blog post. It's a great way to learn how other developers build extensions.

  1. 3

    This is great and stressful at the same time for some of them. Extensions are usually built with less code and less complexities than full web app. It also means it's easier to copy the code. I'm not saying everything is that way, but it could be the case for some extensions.

    1. 3

      Yes a good reason to never keep an API key in your extension source 😃

      1. 3

        Same applies to any javascript code that ends up in the browser :)

        1. 1

          Yes of course. Unfornutaly most people think of extensions differently and often package their API in the extension.

      2. 1

        If I want to write to a database or etc, do I need some middle ware to hide my creds, api keys, etc? How do people solve this problem?

        1. 1

          To protect API keys, you want them server-side. I recommend building your own API that wraps other APIS to handle rate limiting to prevent abuse.

  2. 2

    Super useful, Tim. Thanks for sharing!

  3. 1

    https://crxcavator.io/ - if you need to see code of an older version of extensions
    also works for delisted extensions

    1. 1

      Neat thanks for sharing! Being able to compare older versions of an extension is definitely helpful.

Trending on Indie Hackers
After 10M+ Views, 13k+ Upvotes: The Reddit Strategy That Worked for Me! 39 comments Getting first 908 Paid Signups by Spending $353 ONLY. 19 comments 🔥Roast my one-man design agency website 18 comments Launch on Product Hunt after 5 months of work! 16 comments Started as a Goodreads alternative, now it's taking a life of its own 12 comments I Sold My AI Startup for $1,500 and I'm Really Happy About It 11 comments