how to quickly develop a chrome plugin: Download the CRX file and view the source code
Chrome for security reasons, after the user installs the plug-in, the download to the cache directory of the CRX file is deleted, which is not very convenient for students to learn, the solution is as follows.
First, the form of CRX source code
An application (extension) is actually a set of files that are compressed together, including html,css,javascript scripts, picture files, and any other required files. Apps (extensions) are essentially web pages that can use all the browser-provided APIs, from XMLHttpRequest to JSON to HTML5.
An app (extension) can interact with a Web page, or with a server through content script or Cross-origin xmlhttprequests. Apps (extensions) also have access to the internal features provided by the browser, such as tags or bookmarks.
Each application (extension) should contain the following files: One or more HTML files (unless this app is a skin) optional one or more JavaScript files are optional for any other files, such as pictures manifest
When developing applications (extensions), these files need to be placed in the same directory. When you publish an application (extension), the directory is packaged in a compressed file with an application (extension) name of. Crx. If you use Chrome Developer Dashboard to upload an app (extension), you can automatically generate a. crx file.
Second, how to download CRX file
Chrome Extension Downloader is a Web site that can be downloaded to the Chrome store extensions. crx file, and the. crx file can be obtained directly by entering the Chrome extension address.
The. crx file is a Chrome app extension package file that allows you to install Application extensions without networking.
Third, open the. crx file:
Use 7Z and other decompression software can be extracted.
Four, Chrome extension file address:
C:\Users\yourPCName\AppData\Local\Google\Chrome\User data\default\extensions (Win7 Environment)
Reference: Https://groups.google.com/a/chromium.org/forum/#!topic/chromium-extensions/mwNMd6GG6Bc