Code Cleaner 可以清除代码中的冗余信息,得到简洁可复用的DOM结构。

Latest Version

Version
1.0.1
Update
January 16, 2014
Size
14.89KiB
Developer
www.44ux.com
Category
Users
332
Rating
4.33333 ★
Manifest Version
2
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
See more

Code Cleaner Extension

Code Cleaner helps web developers get clear DOM code, when some module on page can be used again, you can use the 'Elements Panel',then right click mouse, choose 'Copy as HTML', then paste the code into Code Cleaner, custom your own option, there you go!

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
* 清除自定义属性(自动补全)
* 仅保留常见属性
* 自定义正则匹配
* 替换全部文本
Read more

Source Manifest.json

{"update_url":"http://clients2.google.com/service/update2/crx", "name": "Code Cleaner", "version": "1.0.1", "description": "Code Cleaner \u53ef\u4ee5\u6e05\u9664\u4ee3\u7801\u4e2d\u7684\u5197\u4f59\u4fe1\u606f\uff0c\u5f97\u5230\u7b80\u6d01\u53ef\u590d\u7528\u7684DOM\u7ed3\u6784\u3002", "homepage_url": "http://www.44ux.com", "devtools_page": "main.html", "manifest_version": 2, "icons": { "16": "icon128.png", "48": "icon128.png", "128": "icon128.png" }}
Read more

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

icon

FeHelper(前端助手) Extension · Developer Tools 332 321 ★ 2.72MiB

icon

开发工具箱 Extension · Developer Tools 332 16 ★ 775KiB

icon

Scraping Helper Extension · Developer Tools 332 13 ★ 542KiB

icon

JSON-handle Extension · Developer Tools 332 450 ★ 193KiB

icon

cookie快速模拟 Extension · Developer Tools 332 5 ★ 77.78KiB

icon

AlloyDesigner Extension · Developer Tools 332 22 ★ 531KiB

icon

DomainFlag Extension · Developer Tools 332 42 ★ 477KiB

icon

fetools Extension · Developer Tools 332 10 ★ 112KiB

icon

ToolCat Extension · Developer Tools 332 6 ★ 84.65KiB

icon

One key history Extension · Developer Tools 332 13 ★ 17.69KiB

icon

show ip Extension · Developer Tools 332 9 ★ 66.29KiB

icon

Code Cola Extension · Developer Tools 332 188 ★ 189KiB

icon

Swoosh Cookie and Local Storage Specialist Extension · Developer Tools 332 121 ★ 720KiB

icon

二维码生成器 Extension · Productivity 332 1 ★ 44.37KiB

icon

amCoffee Extension · Developer Tools 332 32 ★ 109KiB

icon

Unicodify Your JSON Text Extension · Developer Tools 332 2 ★ 24.67KiB

icon

Smart Header Extension · Developer Tools 332 80 ★ 42.0KiB

icon

常用工具(ToolBox) Extension · Developer Tools 332 18 ★ 293KiB

icon

My Webrequest Extension · Developer Tools 332 16 ★ 333KiB

icon

稀土掘金 Extension · Productivity 332 339 ★ 4.66MiB

icon

SourceViewer(zvSource) Extension · Developer Tools 332 4 ★ 738KiB

icon

ExtManager Extension · Developer Tools 332 55 ★ 344KiB

icon

jQuery Debugger Extension · Developer Tools 332 110 ★ 88.52KiB

icon

WizClipper Extension · Productivity 332 505 ★ 276KiB

User reviews

icon

Fidelin Charles (ID: 0000003c9b19fb0c) Voted 5 ★ - Updated 08/11/2015 C'est formidable

icon

seek tan (ID: 0000003747ec7008) Voted 5 ★ - Updated 04/27/2012 cool