Json formatting/compression tool Chrome plugin extended version _ javascript skills

Source: Internet
Author: User
Tags zip folder
Chrome plug-in extends the json format compression tool to facilitate json development. Installation Method:
Access through chrome
Https://chrome.google.com/extensions/detail/pjkoglpbigbjijmncfkcpkcpddnelgbm? Hl = zh-cn

[Json format/compression] Tool

Install in chrome :)

1. Create a new folder

2. Create a file named manifest. json

3. Open the manifest. json file, which can be understood as the configuration file :)

Includes the following content

The Code is as follows:


{
"Name": "My First Extension", // Extension name
"Version": "1.0", // version
"Description": "json format", // description
"Browser_action": {// operations on the browser
"Default_icon": "icon.png", // icon
"Popup": "json.html" // html file
}
}


4. Select a png image you like.


5. Create an html file (the core code is in it, and chrome extension is written in js)

Now the lib folder contains three files (icon.png, json.html, manifest. json );


6. Open chrome.exe (tool-> Extension Program (E)-> click developer mode and select an extension under development), and debug it.


7. Upload the extension you developed, https://chrome.google.com/extensions/, and select the left side (publish the extension ),


Upload your zip folder (libfolder to lib.zip, which must be a zip file. Make sure that the file containing the Chinese name cannot appear in the same directory. Otherwise, the upload will fail !)

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.