Code Cleaner 可以清除代码中的冗余信息,得到简洁可复用的DOM结构。
Code Cleaner Extension
Code Cleaner 可以帮助Web开发人员快速获取简洁的DOM结构,当某个模块极具复用性时,可以直接在开发工具的Elements面板右键拷贝HTML,然后粘贴到Code Cleaner中进行处理,即可得到清洁可复用的代码。
**********************************************
不想安装插件的可以直接使用网页版:
http://jiguang.github.io/code-cleaner/
**********************************************
V 1.0 版特性:
注意:该扩展只支持最新版本Chrome(19.0.1084.9以上版本),低版本用户若想使用本扩展,请更新Chrome浏览器。
* 清除 id, class, script, idinline-style, table, Link, img, script, br, html-comment, blank
* 清除自定义属性(自动补全)
* 仅保留常见属性
* 自定义正则匹配
* 替换全部文本
Source Manifest.json
How to download and manually install Code Cleaner extension for Chrome
Looking for a way to install Code Cleaner extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install Code Cleaner extensions manually, this article outlines two simple methods to effortlessly install Code Cleaner extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download Code Cleaner extension and manually install through Drag &Drop
If you ever need to manually install a Code Cleaner extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the Code Cleaner Extension by clicking the "Download CRX" button on the website.
Look for the Code Cleaner extension you wish to install. Go to the website and download the Code Cleaner extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Code Cleaner extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the Code Cleaner extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download Code Cleaner extension for Chrome and install in Developer Mode
This is another method to install Code Cleaner extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the Code Cleaner extension file
Select and download the Code Cleaner extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the Code Cleaner extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Code Cleaner extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the Code Cleaner extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install Code Cleaner extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
FeHelper(前端助手) 332 321 ★ 2.72MiB
开发工具箱 332 16 ★ 775KiB
Scraping Helper 332 13 ★ 542KiB
JSON-handle 332 450 ★ 193KiB
cookie快速模拟 332 5 ★ 77.78KiB
AlloyDesigner 332 22 ★ 531KiB
DomainFlag 332 42 ★ 477KiB
fetools 332 10 ★ 112KiB
ToolCat 332 6 ★ 84.65KiB
One key history 332 13 ★ 17.69KiB
show ip 332 9 ★ 66.29KiB
Code Cola 332 188 ★ 189KiB
Swoosh Cookie and Local Storage Specialist 332 121 ★ 720KiB
二维码生成器 332 1 ★ 44.37KiB
amCoffee 332 32 ★ 109KiB
Unicodify Your JSON Text 332 2 ★ 24.67KiB
Smart Header 332 80 ★ 42.0KiB
常用工具(ToolBox) 332 18 ★ 293KiB
My Webrequest 332 16 ★ 333KiB
稀土掘金 332 339 ★ 4.66MiB
SourceViewer(zvSource) 332 4 ★ 738KiB
ExtManager 332 55 ★ 344KiB
jQuery Debugger 332 110 ★ 88.52KiB
WizClipper 332 505 ★ 276KiB
User reviews
Fidelin Charles (ID: 0000003c9b19fb0c) Voted 5 ★ - Updated 08/11/2015
seek tan (ID: 0000003747ec7008) Voted 5 ★ - Updated 04/27/2012