Chrome extensions Download CRX File | View Source code

Source: Internet
Author: User
Tags chrome developer
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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.