JSON formatting/Compression tools Chrome Extensions _javascript Tips

Source: Internet
Author: User
Tags zip
Installation method:
Access with Chrome browser
Https://chrome.google.com/extensions/detail/pjkoglpbigbjijmncfkcpkcpddnelgbm?hl=zh-cn

JSON Format/Compress tool

Install:) under Chrome

1, to build a new folder

2, the establishment of a document named Manifest.json

3, open this Manifest.json file, can be understood as a configuration file:)

Contains the following contents
Copy Code code as follows:

{
' Name ': ' My first Extension ',//Extended Name
"Version": "1.0",//version
"description": "JSON format",//Description
"Browser_action": {//Action on browser
"Default_icon": "Icon.png",//Icon
"Popup": "json.html"//html file
}
}

4, pick a favorite PNG picture


5, build an HTML file (the core code is inside, the Chrome extension is written in JS)

There are now three files in the Lib folder (Icon.png,json.html,manifest.json);


6, open the Chrome.exe (Tool-> Extender (E)-> Click Developer Mode, select the expansion program being developed), and then debug it


7, upload your development of the extension, https://chrome.google.com/extensions/, select the left side (release extension program),


Login can upload your pack with folder (Lib folder compressed into Lib.zip, must be zip, and ensure that the same directory can not appear with the Chinese name of the file, or upload unsuccessful!)

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.