Browse Source

Merge branch 'develop' of lyq/wxNoLazy-Chrome into master

天问 1 year ago
parent
commit
d83efb836c

+ 3 - 0
.gitignore

@@ -11,3 +11,6 @@ bin-release/
 # should NOT be excluded as they contain compiler settings and other important
 # information for Eclipse / Flash Builder.
 
+/node_modules
+/yarn.lock
+/package-lock.json

+ 14 - 0
README.md

@@ -1,3 +1,17 @@
 # wxNoLazy-Chrome
 
 微信公众号文章图片破解微信懒加载(反盗链),方便 Ctrl+P 打印网页显示所有图片,而不是显示占位符。
+
+## build
+
+
+
+## run
+
+```
+gulp default
+
+```
+
+
+

+ 17 - 0
gulpfile.js

@@ -0,0 +1,17 @@
+var gulp = require('gulp');
+uglify = require('gulp-uglify');
+less = require('gulp-less');
+
+gulp.task('js', function () {
+    return gulp.src('src/js/*.js')
+        .pipe(uglify())
+        .pipe(gulp.dest('build'));
+});
+
+gulp.task('less', function () {
+    return gulp.src('src/less/*.less')
+        .pipe(less())
+        .pipe(gulp.dest('build/css'));
+});
+
+gulp.task('default', ['less', 'js']);

+ 22 - 0
package.json

@@ -0,0 +1,22 @@
+{
+  "name": "wxnolazy-chrome",
+  "version": "1.0.0",
+  "description": "禁止微信懒加载",
+  "main": "index.js",
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "repository": {
+    "type": "git",
+    "url": "https://git.yoqi.me/lyq/wxNoLazy-Chrome.git"
+  },
+  "keywords": [
+    "微信,公众号,懒加载"
+  ],
+  "author": "liuyuqi.gov@msn.cn",
+  "license": "Apache-2.0",
+  "dependencies": {
+    "gulp-less": "^4.0.1",
+    "gulp-uglify": "^3.0.2"
+  }
+}

+ 0 - 0
_locales/en/messages.json → src/_locales/en/messages.json


+ 0 - 0
_locales/zh_CN/messages.json → src/_locales/zh_CN/messages.json


+ 0 - 0
css/popup.css → src/css/popup.css


+ 0 - 0
icons/128.png → src/icons/128.png


+ 0 - 0
icons/16.png → src/icons/16.png


+ 0 - 0
icons/32.png → src/icons/32.png


+ 0 - 0
icons/48.png → src/icons/48.png


+ 0 - 0
icons/64.png → src/icons/64.png


+ 0 - 0
js/index.js → src/js/index.js


+ 17 - 0
src/less/popup.less

@@ -0,0 +1,17 @@
+body{
+	overflow: hidden;
+    width: 12.5rem;
+    .header{
+        .title{
+            font-size: large;
+        }
+        .content{
+            .control_btn{
+                margin: 0.625rem;
+            }
+        }
+        .fotter{
+            text-align: center;
+        }
+    }
+}

+ 0 - 0
manifest.json → src/manifest.json


+ 0 - 0
options.html → src/options.html


+ 0 - 0
popup.html → src/popup.html


+ 12 - 0
website/agreement.html

@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>隐私协议</title>
+</head>
+<body>
+    
+</body>
+</html>

+ 21 - 0
website/index.html

@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>微信公众号助手</title>
+    <style></style>
+</head>
+<body>
+    <div class="">
+        <div class="header">
+            <h1>导航</h1>
+            <div></div>
+        </div>
+        <div class="content"></div>
+        <div class="footer"></div>
+    </div>
+    <script></script>
+</body>
+</html>