Installation method:
Use chrome browser to access
https://chrome.google.com/extensions/detail/pjkoglpbigbjijmncfkcpkcpddnelgbm?hl=zh-cn
[json format [Compression/Compression] tool
Install under chrome:)
1. Create a new folder
2. Create a file named manifest.json
3. Open this manifest.json file, which can be understood as a configuration file:)
Contains the following content
{
"name": "My First Extension", //The name of the extension
"version": "1.0", //Version
"description": "json format", //Description
"browser_action": {//Operation on browser
"default_icon": "icon.png",//Icon
"popup ":"json.html"//html file
}
}
4. Pick a png picture you like
5. Create 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 chrome.exe (Tools->Extensions (E)->Click developer mode and select the extension under development), and then debug it
7. Upload the extension you developed, https://chrome.google.com/extensions/, select (Publish extension) on the left,
After logging in, you can upload your packaging folder (lib The folder is compressed into lib.zip, which must be zip, and ensure that no files containing Chinese names appear in the same directory, otherwise the upload will fail!)