如何直接修改Google Chrome扩展程序文件? (的.crx) [英] How do I directly modify a Google Chrome Extension File? (.CRX)

查看:1296
本文介绍了如何直接修改Google Chrome扩展程序文件? (的.crx)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定这些扩展名是哪种语言,我认为它们是用Html,Javascript或JSON编写的。据我所知,它们被压缩在.CRX文件中。



可以直接修改Chrome扩展的html,js,json他们使用的语言)?

解决方案

我在Google搜索它,发现这个:


Google Chrome扩展程序文件类型为CRX。它本质上是一种压缩格式。因此,如果您想查看扩展背后的内容,脚本和代码,只需将文件类型从CRX更改为ZIP即可。



解压缩文件,您将获得所需的所有信息。通过这种方式,你可以看到胆量,学习如何自己编写扩展,或者根据自己的需要进行修改。

然后您可以使用Chrome的内部工具对它进行备份,该工具可自动将文件创建回CRX。安装它只需点击一下。



I'm not sure in which languages those extensions are, I think the are written in Html, Javascript or JSON. As far as I know they are "compressed" in a .CRX file.

It is possible to directly modify the html, js, json of a Chrome Extension (or whatever language they use)?

解决方案

I searched it in Google and I found this:

The Google Chrome Extension file type is CRX. It is essentially a compression format. So if you want to see what is behind an extension, the scripts and the code, just change the file-type from "CRX" to "ZIP" .

Unzip the file and you will get all the info you need. This way you can see the guts, learn how to write an extension yourself, or modify it for your own needs.

Then you can pack it back up with Chrome’s internal tools which automatically create the file back into CRX. Installing it just requires a click.

这篇关于如何直接修改Google Chrome扩展程序文件? (的.crx)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆