Are all Google Chrome extensions open source by default?

前端 未结 7 918
一生所求
一生所求 2021-01-31 07:26

I want to know if i write a Google Chrome extension, will anyone be able to use my code?

7条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-31 08:31

    It looks like people will be able to see your code. If they can see your code, they can potentially use it.

    • Windows: C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions
    • Linux and Mac:
      • ~/Library/Application Support/Google/Chrome/Default/Extensions/ or
      • ~/.config/google-chrome/Default/Extensions/

    The source code is available for inspection/debugging/experimenting & whatever people might want to do. You may try to use a JavaScript obfuscator.

提交回复
热议问题