1更新cef版本到138 2其他一些小改动
This commit is contained in:
1 parent
800ccb857d
commit
c5be88568c
161 files changed
+1670
-6757
No files matched your search
@@ -1,7 +1,5 @@
|
||||
using AllBase;
|
||||
using CefSharp;
|
||||
using JavaScriptEngineSwitcher.Core;
|
||||
using JavaScriptEngineSwitcher.V8;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
@@ -811,14 +809,14 @@ namespace Work.CollectClass
|
||||
public static string getAnti0aon()
|
||||
{
|
||||
string anti = "";
|
||||
using (IJsEngine jsEngine = new V8JsEngine())
|
||||
{
|
||||
jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao);
|
||||
anti = jsEngine.CallFunction("get_anti", "").ToString();
|
||||
try
|
||||
{ anti = "0ao" + anti.Substring(3); }
|
||||
catch { }
|
||||
}
|
||||
//using (IJsEngine jsEngine = new V8JsEngine())
|
||||
//{
|
||||
// jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao);
|
||||
// anti = jsEngine.CallFunction("get_anti", "").ToString();
|
||||
// try
|
||||
// { anti = "0ao" + anti.Substring(3); }
|
||||
// catch { }
|
||||
//}
|
||||
return anti;
|
||||
}
|
||||
|
||||
@@ -1545,11 +1543,11 @@ namespace Work.CollectClass
|
||||
public static string GetAntiContent0ao_v2(string sUserAgent = "")
|
||||
{
|
||||
string sAntiContent = string.Empty;
|
||||
using (V8JsEngine v8JsEngine = new V8JsEngine())
|
||||
{
|
||||
v8JsEngine.Execute(PinDuoDuo_0aoNew);
|
||||
sAntiContent = (string)v8JsEngine.CallFunction("getAntiContent", sUserAgent);
|
||||
}
|
||||
//using (V8JsEngine v8JsEngine = new V8JsEngine())
|
||||
//{
|
||||
// v8JsEngine.Execute(PinDuoDuo_0aoNew);
|
||||
// sAntiContent = (string)v8JsEngine.CallFunction("getAntiContent", sUserAgent);
|
||||
//}
|
||||
return sAntiContent;
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user