修复Bug
This commit is contained in:
parent
acdd9a2f3b
commit
5dc45a5302
@ -1,3 +1,6 @@
|
||||
###### 2023/09/11
|
||||
- [X] 修复drpy2.js和drpy.js里的js本地代理部分代码的 js: 误写为 :js 的错误
|
||||
|
||||
###### 2023/07/03
|
||||
- [X] 后台管理-功能管理增加清理废弃源功能(根据jsd文件删除同名js文件)
|
||||
- [X] 后台管理增加辅助规则配置项用于配置rules,自己手动去兼容新老壳子,示例如下(hosts和regex去广告老壳子不支持):
|
||||
|
||||
@ -1 +1 @@
|
||||
3.9.47beta31
|
||||
3.9.47beta32
|
||||
10
libs/drpy.js
10
libs/drpy.js
@ -55,7 +55,7 @@ function pre(){
|
||||
}
|
||||
|
||||
let rule = {};
|
||||
const VERSION = 'drpy1 3.9.47beta23 20230804';
|
||||
const VERSION = 'drpy1 3.9.47beta32 20230911';
|
||||
/** 已知问题记录
|
||||
* 1.影魔的jinjia2引擎不支持 {{fl}}对象直接渲染 (有能力解决的话尽量解决下,支持对象直接渲染字符串转义,如果加了|safe就不转义)[影魔牛逼,最新的文件发现这问题已经解决了]
|
||||
* Array.prototype.append = Array.prototype.push; 这种js执行后有毛病,for in 循环列表会把属性给打印出来 (这个大毛病需要重点排除一下)
|
||||
@ -2424,8 +2424,8 @@ function proxy(params){
|
||||
if(rule.proxy_rule&&rule.proxy_rule.trim()){
|
||||
rule.proxy_rule = rule.proxy_rule.trim();
|
||||
}
|
||||
if(rule.proxy_rule.startsWith(':js')){
|
||||
rule.proxy_rule = rule.proxy_rule.replace(':js','');
|
||||
if(rule.proxy_rule.startsWith('js:')){
|
||||
rule.proxy_rule = rule.proxy_rule.replace('js:','');
|
||||
}
|
||||
let proxyObj = {
|
||||
params:params,
|
||||
@ -2455,8 +2455,8 @@ function isVideo(url){
|
||||
if(rule.isVideo &&rule.isVideo.trim()){
|
||||
rule.isVideo = rule.isVideo.trim();
|
||||
}
|
||||
if(rule.isVideo.startsWith(':js')){
|
||||
rule.isVideo = rule.isVideo.replace(':js','');
|
||||
if(rule.isVideo.startsWith('js:')){
|
||||
rule.isVideo = rule.isVideo.replace('js:','');
|
||||
t = 1;
|
||||
}
|
||||
let isVideoObj = {
|
||||
|
||||
2
libs/drpy.min.js
vendored
2
libs/drpy.min.js
vendored
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@ function pre(){
|
||||
|
||||
let rule = {};
|
||||
let vercode = typeof(pdfl) ==='function'?'drpy2.1':'drpy2';
|
||||
const VERSION = vercode+' 3.9.47beta23 20230804';
|
||||
const VERSION = vercode+' 3.9.47beta32 20230911';
|
||||
/** 已知问题记录
|
||||
* 1.影魔的jinjia2引擎不支持 {{fl}}对象直接渲染 (有能力解决的话尽量解决下,支持对象直接渲染字符串转义,如果加了|safe就不转义)[影魔牛逼,最新的文件发现这问题已经解决了]
|
||||
* Array.prototype.append = Array.prototype.push; 这种js执行后有毛病,for in 循环列表会把属性给打印出来 (这个大毛病需要重点排除一下)
|
||||
@ -2302,8 +2302,8 @@ function proxy(params){
|
||||
if(rule.proxy_rule&&rule.proxy_rule.trim()){
|
||||
rule.proxy_rule = rule.proxy_rule.trim();
|
||||
}
|
||||
if(rule.proxy_rule.startsWith(':js')){
|
||||
rule.proxy_rule = rule.proxy_rule.replace(':js','');
|
||||
if(rule.proxy_rule.startsWith('js:')){
|
||||
rule.proxy_rule = rule.proxy_rule.replace('js:','');
|
||||
}
|
||||
let proxyObj = {
|
||||
params:params,
|
||||
@ -2334,8 +2334,8 @@ function isVideo(url){
|
||||
if(rule.isVideo &&rule.isVideo.trim()){
|
||||
rule.isVideo = rule.isVideo.trim();
|
||||
}
|
||||
if(rule.isVideo.startsWith(':js')){
|
||||
rule.isVideo = rule.isVideo.replace(':js','');
|
||||
if(rule.isVideo.startsWith('js:')){
|
||||
rule.isVideo = rule.isVideo.replace('js:','');
|
||||
t = 1;
|
||||
}
|
||||
let isVideoObj = {
|
||||
|
||||
2
libs/drpy2.min.js
vendored
2
libs/drpy2.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user