CSS remove and combine

CSS remove and combine

CSS remove and combine
CSS remove and combine
CSS remove and combine

热度 8589

当前版本 0.2.0.2
插件大小 269KiB
所属分类 开发者工具
更新时间 2014年2月3日
Chrome store open chrome web store
随机推荐 阿里云服务器2核2G 99元/1年(续费同价!)

CSS remove and combine插件简介

CSS remove and combine(扩展包名:cdfmaaeapjmacolkojefhfollmphonoh)由 开发,最新版本0.2.0.2 于 2014年2月3日 更新。 CSS remove and combine 属于开发者工具分类。

🌹 这个应用程序可以在 ChromeFK 或 Google Chrome 网上应用商店进行下载。 ChromeFK上的所有插件扩展文件都是原始文件,并且 100% 安全,下载速度快。
Removes unused selects from all stylesheets on a page combines the result into a single stylesheet that can be downloaded

CSS remove and combine插件描述

This extension removes unused CSS rules on a page by creating a new CSS stylesheet containing only those selects in use. This not only tidies  optimizes your stylesheets but combines them into a single file which can then be downloaded. The approach used by the extension is based on eliminating all ID  class based selects that reference IDs  classes not on the page. There is also a quick view dialog that will give the user infmation on a page about the number of used  unused selects. There is also now a rept on the unused selects which can be used to verify that the extension is wking as described.

There is an issue repted in a review that the extension opens links to other websites. I cant see how this can be possible. The extension gets a list of stylesheets. This list is a property of the webpage document object. It then trys to open each stylesheet. If the stylesheet is on another domain, then nothing will be returned. In this way the extension cannot open any page on another domain. There is development code to get around this problem, but it is not yet active.

The "WebKitBlobBuilder" issue has now been solved. This rendered the extension unusable  thus all the negative feedback. Sry that I couldnt fix the problem earlier as I was unftunately sick f a long while. The "WebKitBlobBuilder" err was due to a change (quite reasonable) in chrome to remove suppt f the "WebKitBlobBuilder" property in favour of the stard "BlobBuilder".

Please let me know if the extension is wking as advertised. You can contact me through the nmal extension feedback system  at cssremovecombine@gmail.com

0.2.0.0:  Added Unused Select Rept 
0.1.2.0:  Multiple window issue fixed
0.1.1.0:  WebKitBlobBuilder issue fixed

Issues:
  1: Stylesheets on a different domain rept no selects. Message   will print out saying no selects found. Under development.
  2: Ajax  JavaScript added elements not accounted f. Under development
  3: Media queries not respected.

  

                                

CSS remove and combine插件离线安装方法

1.首先用户点击谷歌浏览器右上角的自定义及控制按钮,在下拉框中选择设置。

2.在打开的谷歌浏览器的扩展管理器最左侧选择扩展程序或直接输入:chrome://extensions/

3.找到自己已经下载好的Chrome离线安装文件xxx.crx,然后将其从资源管理器中拖动到Chrome的扩展管理界面中,这时候用户会发现在扩展管理器的中央部分中会多出一个”拖动以安装“的插件按钮。

4.下载 CSS remove and combineChrome插件v0.2.0.2版本到本地。

5.勾选开发者模式,点击加载已解压的扩展程序,将文件夹选择即可安装插件。

注意:最新版本的chrome浏览器直接拖放安装时会出现“程序包无效CRX-HEADER-INVALID”的报错信息,参照这篇文章即可解决

历史版本

(如何离线安装?)
版本号 文件大小 下载

CSS-remove-and-combine(0.2.0.2)

269KiB 城通网盘