Browse Source

页面性能检测功能优化&UI优化

同步修改意见反馈地址
Alien 9 years ago
parent
commit
bd0a20b36b

+ 3 - 0
README.md

@@ -11,6 +11,9 @@ http://www.baidufe.com/fehelper
 #### 2)、webstore地址
 https://chrome.google.com/webstore/detail/pkgccpejnmalmdinmhkkfafefagiiiad?hl=zh-cn&utm_source=chrome-ntp
 
+#### 3)、用户反馈渠道
+http://www.baidufe.com/fehelper/feedback.html
+
 ### 2、扩展目前功能:
     a)、网页兼容性检测
     b)、编码规范检测

+ 1 - 1
chrome/manifest.json

@@ -1,6 +1,6 @@
 {
     "name": "WEB前端助手(FeHelper)",
-    "version": "7.0",
+    "version": "7.1",
     "manifest_version": 2,
 
     "default_locale": "zh_CN",

+ 1 - 1
chrome/online.manifest.json

@@ -1,6 +1,6 @@
 {
     "name": "WEB前端助手(FeHelper)",
-    "version": "7.0",
+    "version": "7.1",
     "manifest_version": 2,
 
     "default_locale": "zh_CN",

+ 33 - 0
chrome/static/css/fe-wpo.css

@@ -0,0 +1,33 @@
+@import url("bootstrap.min.css");
+
+body {
+    font-family: Tahoma, sans-serif;
+    font-size: 10pt;
+    color:#333;
+    margin: 0 auto;
+}
+#loadTotal {
+    background:#f1f1f1;
+    font-weight:bold;
+}
+
+#pageInfo {
+    padding: 10px 0;
+    line-height: 24px;
+    color: #800;
+    font-size: 14px;
+}
+#pageInfo span {
+    color: #888;
+    word-wrap: break-word;
+}
+#pageLoadTime,#pageHeaderInfo {
+    width: 468px;
+    float: left;
+}
+#pageHeaderInfo {
+    margin-left: 50px;
+}
+h3 {
+    color:#666;
+}

+ 1 - 1
chrome/static/js/jsonformat/contentscript-jsonformat.js

@@ -8,7 +8,7 @@ baidu.csJsonFormat = (function () {
     var _htmlFragment = [
         '<div class="mod-json mod-contentscript"><div class="rst-item">',
         '<div id="formatTips">本页JSON数据由FeHelper进行自动格式化,若有任何问题,点击这里提交 ',
-        '<a href="http://www.baidufe.com/item/889639af23968ee688b9.html#comment" target="_blank">意见反馈</a>',
+        '<a href="http://www.baidufe.com/fehelper/feedback.html" target="_blank">意见反馈</a>',
         '</div>',
         '<div id="formattingMsg">',
         '<svg id="spinner" width="16" height="16" viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg" version="1.1">',

+ 1 - 1
chrome/static/js/qrcode/fe-qrcode.js

@@ -135,7 +135,7 @@ baidu.qrcode = (function () {
      * @private
      */
     var _bindEvents = function () {
-        $("#confirm_button").button().click(function () {
+        $("#confirm_button").click(function () {
             _createQrCode();
         });
 

+ 1 - 1
chrome/template/fehelper_codebeautify.html

@@ -12,7 +12,7 @@
         <div class="panel panel-default" style="margin-bottom: 0px;">
             <div class="panel-heading">
                 <h3 class="panel-title">
-                    <a href="http://www.baidufe.com" target="_blank" class="x-a-high">
+                    <a href="http://www.baidufe.com/fehelper/feedback.html" target="_blank" class="x-a-high">
                         <img src="../static/img/fe-16.png" alt="fehelper"/> FeHelper</a>:代码美化 - <span id="codeTitle">Javascript</span></h3>
             </div>
         </div>

File diff suppressed because it is too large
+ 0 - 0
chrome/template/fehelper_endecode.html


+ 1 - 1
chrome/template/fehelper_imagebase64.html

@@ -1 +1 @@
-<!DOCTYPE HTML>
<html lang="zh-CN">
    <head>
        <title>图片Base64编码工具(DataURI数据)</title>
        <meta charset="UTF-8">
        <link rel="stylesheet" href="../static/css/fe-imagebase64.css" />
        <script type="text/javascript" src="../static/js/core/jquery-1.5.min.js"></script>
		<script type="text/javascript" src="../static/js/mod/mod_imagebase64.js"></script>
    </head>
    <body>
        <div class="wrapper">
            <div class="panel panel-default" style="margin-bottom: 0px;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <a href="http://www.baidufe.com" target="_blank" class="x-a-high">
                            <img src="../static/img/fe-16.png" alt="fehelper"/> FeHelper</a>:图片Base64编码工具</h3>
                </div>
            </div>
            <div class="panel-body mod-imagebase64">
                <div class="row">
                <table>
                    <tr>
                        <td><div class="x-panel">
                            <img id="preview" alt="">
                            <div class="x-tips">
                                <a id="upload" href="#">选择图片</a><br>
                                或者选择一张图片拖拽图片到这里来
                            </div>
                        </div></td>
                        <td><textarea id="result" title="点击自动选择" placeholder="内容会自动生成..." readonly></textarea></td>
                    </tr>
                </table>
                <form action="#">
                    <input type="file" id="file" accept=".jpg,.jpeg,.gif,.png,.bmp">
                </form>
                <img id="img" alt="">
                </div>
            </div>
        </div>
    </body>
</html>
+<!DOCTYPE HTML>
<html lang="zh-CN">
    <head>
        <title>图片Base64编码工具(DataURI数据)</title>
        <meta charset="UTF-8">
        <link rel="stylesheet" href="../static/css/fe-imagebase64.css" />
        <script type="text/javascript" src="../static/js/core/jquery-1.5.min.js"></script>
		<script type="text/javascript" src="../static/js/mod/mod_imagebase64.js"></script>
    </head>
    <body>
        <div class="wrapper">
            <div class="panel panel-default" style="margin-bottom: 0px;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <a href="http://www.baidufe.com/fehelper/feedback.html" target="_blank" class="x-a-high">
                            <img src="../static/img/fe-16.png" alt="fehelper"/> FeHelper</a>:图片Base64编码工具</h3>
                </div>
            </div>
            <div class="panel-body mod-imagebase64">
                <div class="row">
                <table>
                    <tr>
                        <td><div class="x-panel">
                            <img id="preview" alt="">
                            <div class="x-tips">
                                <a id="upload" href="#">选择图片</a><br>
                                或者选择一张图片拖拽图片到这里来
                            </div>
                        </div></td>
                        <td><textarea id="result" title="点击自动选择" placeholder="内容会自动生成..." readonly></textarea></td>
                    </tr>
                </table>
                <form action="#">
                    <input type="file" id="file" accept=".jpg,.jpeg,.gif,.png,.bmp">
                </form>
                <img id="img" alt="">
                </div>
            </div>
        </div>
    </body>
</html>

+ 1 - 1
chrome/template/fehelper_jsonformat.html

@@ -12,7 +12,7 @@
             <div class="panel panel-default" style="margin-bottom: 0px;">
                 <div class="panel-heading">
                     <h3 class="panel-title">
-                        <a href="http://www.baidufe.com" target="_blank" class="x-a-high">
+                        <a href="http://www.baidufe.com/fehelper/feedback.html" target="_blank" class="x-a-high">
                             <img src="../static/img/fe-16.png" alt="fehelper"/> FeHelper</a>:JSON格式化查看</h3>
                 </div>
             </div>

File diff suppressed because it is too large
+ 0 - 0
chrome/template/fehelper_popup.html


+ 1 - 2
chrome/template/fehelper_qrcode.html

@@ -5,7 +5,6 @@
     <meta charset="UTF-8">
     <link rel="stylesheet" href="../static/css/fe-qrcode.css" />
     <script type="text/javascript" src="../static/js/core/jquery-1.5.min.js"></script>
-    <script type="text/javascript" src="../static/vendor/jquery-ui-1.8/js/jquery-ui-1.8.11.custom.min.js"></script>
     <script type="text/javascript" src="../static/js/qrcode/jquery.colorpicker.js"></script>
     <script type="text/javascript" src="../static/js/qrcode/jquery.qrcode.min.js"></script>
     <script type="text/javascript" src="../static/js/mod/mod_qrcode.js"></script>
@@ -16,7 +15,7 @@
         <div class="panel panel-default" style="margin-bottom: 0px;">
             <div class="panel-heading">
                 <h3 class="panel-title">
-                    <a href="http://www.baidufe.com" target="_blank" class="x-a-high">
+                    <a href="http://www.baidufe.com/fehelper/feedback.html" target="_blank" class="x-a-high">
                         <img src="../static/img/fe-16.png" alt="fehelper"/> FeHelper</a>:二维码生成器</h3>
             </div>
         </div>

File diff suppressed because it is too large
+ 0 - 0
chrome/template/fehelper_regexp.html


File diff suppressed because it is too large
+ 0 - 0
chrome/template/fehelper_timestamp.html


File diff suppressed because it is too large
+ 0 - 0
chrome/template/fehelper_wpo.html


Some files were not shown because too many files changed in this diff