Browser Extension Makers August 21, 2020

View Source Code of Any Extension

Tim @timleland

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 - 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.

Recommended Posts