diff --git a/index.html b/index.html index 7eeeea7..38371c2 100644 --- a/index.html +++ b/index.html @@ -77,31 +77,9 @@

规则文件(rule)样例

-
-
去除请求头的if-modified-since字段
-
-
-//remove cache related header
-//file : rule_remove_cache_header.js
-//rule : anyproxy --rule rule_remove_cache_header.js
-module.exports = {
-    replaceRequestOption : function(req,option){
-        var newOption = option;
-        delete newOption.headers['if-modified-since'];
-
-        return newOption;
-    }
-};
-
-					
- - - -
-
-
在HTML响应末尾加上一句hello world
+
在HTML响应末尾加上"hello world"
 
 //append "hello world" to all web pages
@@ -123,6 +101,28 @@ module.exports = {
 						
 					
 					
+
+
+
去除请求头的if-modified-since字段
+
+
+//remove cache related header
+//file : rule_remove_cache_header.js
+//run  : anyproxy --rule rule_remove_cache_header.js
+module.exports = {
+    replaceRequestOption : function(req,option){
+        var newOption = option;
+        delete newOption.headers['if-modified-since'];
+
+        return newOption;
+    }
+};
+
+					
+ + + +