1.js 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011
  1. var catvm = {};
  2. //框架运行内存
  3. catvm.memory = {
  4. config: {print: false, proxy:false}
  5. }; //默认关闭打印
  6. catvm.memory.htmlelements = {}
  7. catvm.memory.listeners = {}
  8. catvm.memory.PluginArray = {}
  9. catvm.memory.RunElementList = [];
  10. catvm.memory.setTimeout_func = {};
  11. catvm.memory.setInterval_func = {};
  12. catvm.memory.doc_addEventListen = {};
  13. catvm.memory.html_addEventListen = {};
  14. //主要用来保护伪造的函数 让其更难被识破
  15. ;;;;
  16. //注释一
  17. console.log(this);
  18. (() =>{
  19. "use strict";
  20. const $toString = Function.toString;
  21. const myFunction_toString_symbol = Symbol('('.concat('', ')_', (Math.random() + '').toString(36)));
  22. const myToString = function() {
  23. return typeof this == 'function' && this[myFunction_toString_symbol] || $toString.call(this);
  24. };
  25. function set_native(func, key, value) {
  26. Object.defineProperty(func, key, {
  27. "enumerable": false,
  28. "configurable": true,
  29. "writable": true,
  30. "value": value
  31. })
  32. };
  33. delete Function.prototype['toString']; //删除原型链上的toString
  34. set_native(Function.prototype, "toString", myToString); //自己定义个getter方法
  35. set_native(Function.prototype.toString, myFunction_toString_symbol, "function toString() { [native code] }"); //套个娃 保护一下我们定义的toString 否则就暴露了
  36. console.log(this.catvm);
  37. this.catvm.safefunction = function(func) {
  38. set_native(func, myFunction_toString_symbol, `function ${myFunction_toString_symbol,func.name || ''}() { [native code] }`);
  39. }; //导出函数到globalThis
  40. }).call(this);
  41. //框架日志功能
  42. catvm.print = {}
  43. catvm.print.open = false;
  44. catvm.memory.print = [];
  45. catvm.print.log = function (logType,target,property,value) {
  46. if (catvm.print.open && catvm.memory.config.print) {
  47. //开始保存日志
  48. if( catvm.memory.print.length == 111){
  49. debugger;
  50. }
  51. catvm.memory.print.push({"类型":logType,"调用者":target,"属性":property,"值":value});
  52. }
  53. }
  54. catvm.print.getall = function () {
  55. console.table(catvm.memory.print,["类型","调用者","属性","值"]);
  56. }
  57. //框架代理功能
  58. catvm.proxy = function(o){
  59. if(catvm.memory.config.proxy == false){return o};
  60. return new Proxy(o, {
  61. set(target, property, value)
  62. {
  63. catvm.print.log("set",target,property,value);
  64. return Reflect.set(...arguments);
  65. },
  66. get(target, property, receiver)
  67. {
  68. console.log("get",target,property,target[property]);
  69. catvm.print.log("get",target,property,target[property]);
  70. return target[property];
  71. }
  72. });
  73. }
  74. //更改浏览器的某些参数 常用的
  75. //catvm.memory.Plugin.new({description:"npAliSSOLogin Plugin",filename:"npalissologin.dll",name:"AliSSOLogin plugin",MimeTypes:[{description: "AliSSOLogin",suffixes: "AliSSOLogin",type: "application/npalissologin"},{description: "AliSSOLogin1",suffixes: "AliSSOLogin",type: "application1/npalissologin"}]})
  76. //在此文件下的代码 必须要框架run方法执行后执行
  77. catvm.AddPlugin = function(data){
  78. //{description:"npAliSSOLogin Plugin",filename:"npalissologin.dll",name:"AliSSOLogin plugin",MimeTypes:[{description: "AliSSOLogin",suffixes: "AliSSOLogin",type: "application/npalissologin"},{description: "AliSSOLogin1",suffixes: "AliSSOLogin",type: "application1/npalissologin"}]}
  79. if(catvm.memory.PluginArray.temp == undefined)
  80. {
  81. catvm.memory.PluginArray.temp = []
  82. }
  83. catvm.memory.PluginArray.temp.push(data);
  84. }
  85. catvm.memory.config.proxy=true;
  86. catvm.memory.config.print=true;
  87. catvm.AddPlugin({description:"npAliSSOLogin Plugin",filename:"npalissologin.dll",name:"AliSSOLogin plugin",MimeTypes:[{description: "AliSSOLogin",suffixes: "AliSSOLogin",type: "application/npalissologin"},{description: "AliSSOLogin1",suffixes: "AliSSOLogin",type: "application1/npalissologin"}]});
  88. catvm.AddPlugin({description:"npAliSSOLogin Plugin",filename:"npalissologin1.dll",name:"AliSSOLogin plugin2",MimeTypes:[{description: "AliSSOLogin",suffixes: "AliSSOLogin",type: "application/npalissologin"},{description: "AliSSOLogin1",suffixes: "AliSSOLogin",type: "application1/npalissologin"}]});
  89. ;
  90. var EventTarget =function EventTarget() //构造函数
  91. {
  92. debugger;
  93. }; catvm.safefunction(EventTarget);
  94. Object.defineProperties(EventTarget.prototype , {
  95. [Symbol.toStringTag]: {
  96. value: "EventTarget",
  97. configurable: true
  98. }
  99. });
  100. EventTarget.prototype.addEventListener = function addEventListener(type, callback){
  101. if(!(type in catvm.memory.listeners)) {
  102. catvm.memory.listeners[type] = [];
  103. }
  104. catvm.memory.listeners[type].push(callback);
  105. };catvm.safefunction(EventTarget.prototype.addEventListener); //保护代码
  106. EventTarget.prototype.dispatchEvent = function dispatchEvent(){
  107. debugger;
  108. };catvm.safefunction(EventTarget.prototype.dispatchEvent); //保护代码
  109. EventTarget.prototype.removeEventListener = function removeEventListener(){
  110. debugger;
  111. };catvm.safefunction(EventTarget.prototype.removeEventListener); //保护代码
  112. var WindowProperties = function WindowProperties(){
  113. }; catvm.safefunction(WindowProperties); //保护代码
  114. Object.defineProperties(WindowProperties.prototype , {
  115. [Symbol.toStringTag]: {
  116. value: "WindowProperties",
  117. configurable: true
  118. }
  119. });
  120. WindowProperties.prototype.__proto__ = EventTarget.prototype;
  121. window = this;
  122. var Window = function Window(){
  123. //容易被检测到的 堆栈
  124. throw new TypeError("Illegal constructor");
  125. }; catvm.safefunction(Window);
  126. Object.defineProperties(Window.prototype , {
  127. [Symbol.toStringTag]: {
  128. value: "Window",
  129. configurable: true
  130. }
  131. });
  132. ////
  133. window.setTimeout = function setTimeout(x,d)
  134. {
  135. //x 有可能是方法 也有可能是文本
  136. // debugger;
  137. // typeof(x) == "function"?x():undefined;
  138. // typeof(x) == "string"?eval(x) :undefined;
  139. //正确应该 生成UUID 并且保存到内存
  140. catvm.memory.setTimeout_func[d.toString()] = x
  141. return 0;
  142. };catvm.safefunction(window.setTimeout);
  143. window.setInterval = function setInterval(x,d){
  144. //x 有可能是方法 也有可能是文本
  145. // typeof(x) == "function" ? x() : undefined;
  146. // typeof(x) == "string" ? eval(x) : undefined;
  147. //正确应该 生成UUID 并且保存到内存
  148. catvm.memory.setInterval_func[d.toString()] = x
  149. return 0;
  150. };catvm.safefunction(window.setInterval);
  151. Window.prototype.PERSISTENT = 1
  152. Window.prototype.TEMPORARY = 0
  153. window.top = window;
  154. window.origin = 'chrome://newtab'
  155. window.name = ''
  156. window.open = function open(){debugger;};catvm.safefunction(window.open);
  157. window.webkitRTCPeerConnection = function RTCPeerConnection(){debugger};catvm.safefunction(window.webkitRTCPeerConnection);
  158. //chrome可以参照localStorange
  159. window.chrome = class chrome{};
  160. window.chrome.loadTimes = function loadTimes(){debugger;};catvm.safefunction(window.chrome.loadTimes);
  161. window.chrome.csi = function csi(){debugger;};catvm.safefunction(window.chrome.csi);
  162. window.chrome.app = catvm.proxy(class app{});
  163. window.chrome = catvm.proxy(window.chrome);
  164. window.Element = function Element(){debugger;};catvm.safefunction(window.Element);
  165. window.DeviceOrientationEvent = function DeviceOrientationEvent(){debugger};catvm.safefunction(window.DeviceOrientationEvent);
  166. window.DeviceMotionEvent = function DeviceMotionEvent(){debugger};catvm.safefunction(window.DeviceMotionEvent);
  167. window.XMLHttpRequest = function XMLHttpRequest(){debugger;};catvm.safefunction(window.XMLHttpRequest);
  168. // window.localStorange = class localStorange{}
  169. // window.localStorange.getItem = function getItem(){debugger;};catvm.safefunction(window.localStorange.getItem);
  170. // window.localStorange.setItem = function setItem(){debugger;};catvm.safefunction(window.localStorange.setItem);
  171. // window.localStorange = catvm.proxy(window.localStorange)
  172. //没问题
  173. window.IDBFactory = function IDBFactory(){
  174. debugger;
  175. };catvm.safefunction(window.IDBFactory);
  176. window.IDBFactory.prototype.open = function open(){
  177. debugger;
  178. var open_ = {
  179. error: "",
  180. onblocked: null,
  181. onerror: null,
  182. onsuccess: null,
  183. onupgradeneeded: null,
  184. readyState: "pending",
  185. result: "",
  186. source: null,
  187. transaction: null,
  188. }
  189. return catvm.proxy(open_)
  190. };catvm.safefunction(window.IDBFactory.prototype.open);
  191. window.indexedDB = {};
  192. window.indexedDB.__proto__ = window.IDBFactory.prototype;
  193. window.indexedDB = catvm.proxy(window.indexedDB);
  194. window.DOMParser = function DOMParser(){
  195. debugger;
  196. };catvm.safefunction(window.DOMParser);
  197. //没问题
  198. window.webkitRequestFileSystem = function webkitRequestFileSystem(){
  199. debugger;
  200. };catvm.safefunction(window.webkitRequestFileSystem);
  201. window.clearInterval = function clearInterval(){
  202. debugger;
  203. };catvm.safefunction(window.clearInterval);
  204. var HTMLFormElement = function HTMLFormElement(){
  205. };catvm.safefunction(HTMLFormElement);
  206. window.fetch = function fetch(){
  207. debugger;
  208. };catvm.safefunction(window.fetch);
  209. window.openDatabase = function openDatabase(){
  210. debugger;
  211. };catvm.safefunction(window.openDatabase);
  212. window.self = window;
  213. window.Request = function Request(){
  214. debugger;
  215. };catvm.safefunction(window.Request);
  216. window.webkitResolveLocalFileSystemURL = function webkitResolveLocalFileSystemURL(){
  217. debugger;
  218. };catvm.safefunction(window.webkitResolveLocalFileSystemURL);
  219. //没问题
  220. window.MutationObserver = function MutationObserver(){
  221. debugger;
  222. this.disconnect = function disconnect(){debugger;}
  223. this.observe = function observe(){debugger;}
  224. this.takeRecords = function takeRecords(){debugger;}
  225. return catvm.proxy(this)
  226. };catvm.safefunction(window.MutationObserver);
  227. //注释二
  228. // window.Error = new Proxy(window.Error,{
  229. // construct: function (a,s){
  230. // res = new a(s)
  231. // res.stack = `Error
  232. // at _$e2 (eval at _$c5 (http://credit.customs.gov.cn/ccppwebserver/ZCQq7Fzuhp12/BSrw3csEQORp.f141528.js:5:170106), <anonymous>:2:20609)
  233. // at _$nr (eval at _$c5 (http://credit.customs.gov.cn/ccppwebserver/ZCQq7Fzuhp12/BSrw3csEQORp.f141528.js:5:170106), <anonymous>:2:26991)
  234. // at _$dg (eval at _$c5 (http://credit.customs.gov.cn/ccppwebserver/ZCQq7Fzuhp12/BSrw3csEQORp.f141528.js:5:170106), <anonymous>:2:22738)
  235. // at _$nr (eval at _$c5 (http://credit.customs.gov.cn/ccppwebserver/ZCQq7Fzuhp12/BSrw3csEQORp.f141528.js:5:170106), <anonymous>:2:26104)
  236. // at _$dg (eval at _$c5 (http://credit.customs.gov.cn/ccppwebserver/ZCQq7Fzuhp12/BSrw3csEQORp.f141528.js:5:170106), <anonymous>:2:22738)
  237. // at _$nr (eval at _$c5 (http://credit.customs.gov.cn/ccppwebserver/ZCQq7Fzuhp12/BSrw3csEQORp.f141528.js:5:170106), <anonymous>:2:24525)
  238. // at Array._$dg (eval at _$c5 (http://credit.customs.gov.cn/ccppwebserver/ZCQq7Fzuhp12/BSrw3csEQORp.f141528.js:5:170106), <anonymous>:2:22738)
  239. // at eval (eval at _$c5 (http://credit.customs.gov.cn/ccppwebserver/ZCQq7Fzuhp12/BSrw3csEQORp.f141528.js:5:170106), <anonymous>:2:158543)
  240. // at eval (eval at _$c5 (http://credit.customs.gov.cn/ccppwebserver/ZCQq7Fzuhp12/BSrw3csEQORp.f141528.js:5:170106), <anonymous>:9:2637)
  241. // at eval (<anonymous>)`
  242. // debugger
  243. // return res;
  244. // }
  245. // });
  246. window.addEventListener = function addEventListener(X,func){
  247. debugger;
  248. catvm.memory.listeners[X.toString()] = func;
  249. };catvm.safefunction(window.addEventListener);
  250. Window.prototype.__proto__ = WindowProperties.prototype;
  251. window.__proto__ = Window.prototype;
  252. Window.prototype = catvm.proxy(Window.prototype)
  253. window = catvm.proxy(window)
  254. var Location =function Location() {//构造函数
  255. throw new TypeError("Illegal constructor");
  256. }; catvm.safefunction(Location);
  257. Object.defineProperties(Location.prototype , {
  258. [Symbol.toStringTag]: {
  259. value: "Location",
  260. configurable: false
  261. }
  262. });
  263. ////
  264. location = {};
  265. location.ancestorOrigins = catvm.proxy(class ancestorOrigins{});
  266. location.href = 'http://credit.customs.gov.cn/ccppwebserver/pages/ccpp/html/crossBorder.html';
  267. location.host = 'credit.customs.gov.cn'; //如果url中包含了:端口号,则就要加上,但是hostname不用加
  268. location.hostname = location.host;
  269. location.protocol = 'http:';
  270. location.port = '';
  271. location.origin = 'http://credit.customs.gov.cn';
  272. location.pathname = '/ccppwebserver/pages/ccpp/html/crossBorder.html'
  273. location.search = "";
  274. location.hash = "";
  275. location.search = function search(){
  276. debugger;
  277. };catvm.safefunction(location.search);
  278. location.replace = function replace(){
  279. debugger;
  280. };catvm.safefunction(location.replace);
  281. location.__proto__ = Location.prototype;
  282. ///
  283. location = catvm.proxy(location);
  284. catvm.memory.navigator = {}
  285. var Navigator =function Navigator() {//构造函数
  286. throw new TypeError("Illegal constructor");
  287. }; catvm.safefunction(Navigator);
  288. Object.defineProperties(Navigator.prototype , {
  289. [Symbol.toStringTag]: {
  290. value: "Navigator",
  291. configurable: true
  292. }
  293. });
  294. ////
  295. navigator = {};
  296. navigator.__proto__ = Navigator.prototype;
  297. Navigator.prototype.appCodeName = 'Mozilla';
  298. Navigator.prototype.appName = 'Netscape';
  299. Navigator.prototype.userAgent = "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36";
  300. Navigator.prototype.languages = ["zh-CN", "zh"];
  301. Navigator.prototype.platform = 'Win32';
  302. Navigator.prototype.plugins = [];
  303. var NetworkInformation = class NetworkInformation{};
  304. NetworkInformation.downlink = 10;
  305. NetworkInformation.effectiveType = "4g";
  306. NetworkInformation.onchange = null;
  307. NetworkInformation.rtt = 150;
  308. NetworkInformation.saveData = false;
  309. Navigator.prototype.connection = catvm.proxy(NetworkInformation);
  310. Navigator.prototype.appVersion = '5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36';
  311. Navigator.prototype.webkitPersistentStorage = class DeprecatedStorageQuota{};
  312. Navigator.prototype.webkitPersistentStorage = catvm.proxy(Navigator.prototype.webkitPersistentStorage);
  313. Navigator.prototype.mimeTypes = {
  314. length:0
  315. }
  316. Navigator.prototype.mimeTypes = catvm.proxy(Navigator.prototype.mimeTypes);
  317. Navigator.prototype.webdriver = false;
  318. catvm.memory.navigator.getwebdriver = function webdriver(){
  319. return false;
  320. };catvm.safefunction(catvm.memory.navigator.getwebdriver);
  321. Object.defineProperty(Navigator.prototype, 'webdriver', {
  322. configurable: true,
  323. enumerable: true,
  324. get: catvm.memory.navigator.getwebdriver
  325. });
  326. Navigator.prototype.getBattery = function getBattery(){
  327. var BatteryManager_ = new (function BatteryManager(){});
  328. BatteryManager_.charging = false;
  329. BatteryManager_.chargingTime = Infinity;
  330. BatteryManager_.dischargingTime = Infinity;
  331. BatteryManager_.level = 1;
  332. BatteryManager_.onchargingchange = null;
  333. BatteryManager_.onchargingtimechange = null;
  334. BatteryManager_.ondischargingtimechange = null;
  335. BatteryManager_.onlevelchange = null;
  336. BatteryManager_.__proto__ = BatteryManager.prototype;
  337. return new Promise((resolve,reject) => {
  338. resolve(BatteryManager_);
  339. })
  340. };catvm.safefunction(Navigator.prototype.getBattery);
  341. //Navigator.prototype.getBattery = catvm.proxy(Navigator.prototype.getBattery);
  342. for (catvm.memory.navigator.temp in Navigator.prototype) {
  343. if(catvm.memory.navigator.temp === "webdriver"){
  344. continue;
  345. }
  346. navigator[catvm.memory.navigator.temp] = Navigator.prototype[catvm.memory.navigator.temp];
  347. Navigator.prototype.__defineGetter__(catvm.memory.navigator.temp, function() {
  348. throw new TypeError("Illegal constructor");
  349. });
  350. }
  351. ////
  352. window.clientInformation = navigator;
  353. navigator = catvm.proxy(navigator);
  354. var History =function History() {//构造函数
  355. throw new TypeError("Illegal constructor");
  356. }; catvm.safefunction(History);
  357. Object.defineProperties(History.prototype , {
  358. [Symbol.toStringTag]: {
  359. value: "History",
  360. configurable: true
  361. }
  362. });
  363. ////
  364. History.prototype.back = function back(){debugger};catvm.safefunction(History.prototype.back);
  365. /////
  366. history = {};
  367. history.__proto__ = History.prototype;
  368. history = catvm.proxy(history);
  369. var Screen =function Screen() {//构造函数
  370. throw new TypeError("Illegal constructor");
  371. }; catvm.safefunction(Screen);
  372. Object.defineProperties(Screen.prototype , {
  373. [Symbol.toStringTag]: {
  374. value: "Screen",
  375. configurable: true
  376. }
  377. });
  378. ////
  379. Screen.prototype.availHeight = 824;
  380. Screen.prototype.availWidth = 1536;
  381. ////
  382. screen = {};
  383. screen.__proto__ = Screen.prototype;
  384. screen = catvm.proxy(screen);
  385. var Storage =function Storage() {//构造函数
  386. throw new TypeError("Illegal constructor");
  387. }; catvm.safefunction(Storage);
  388. Object.defineProperties(Storage.prototype , {
  389. [Symbol.toStringTag]: {
  390. value: "Storage",
  391. configurable: true
  392. }
  393. });
  394. /////
  395. Storage.prototype.length=0;
  396. Storage.prototype.clear=function clear(){
  397. debugger;
  398. var temp = Object.keys(this)
  399. for (var i=0;temp.length>i;i++)
  400. {
  401. delete this[temp[i]];
  402. }
  403. }; catvm.safefunction(Storage.prototype.clear);
  404. Storage.prototype.getItem=function getItem(k){
  405. debugger;
  406. return this[k];
  407. }; catvm.safefunction(Storage.prototype.getItem);
  408. Storage.prototype.key=function key(index){
  409. debugger;
  410. return Object.keys(this)[index]
  411. }; catvm.safefunction(Storage.prototype.key);
  412. Storage.prototype.removeItem=function removeItem(k){
  413. debugger;
  414. delete this[k];
  415. }; catvm.safefunction(Storage.prototype.removeItem);
  416. Storage.prototype.setItem=function setItem(k,v){
  417. debugger;
  418. this[k] = v;
  419. }; catvm.safefunction(Storage.prototype.setItem);
  420. ////容易被检测
  421. Storage.prototype.__defineGetter__('length',function(){
  422. return Object.keys(this).length;
  423. })
  424. //////
  425. var localStorage = {};
  426. localStorage.__proto__ = Storage.prototype;
  427. localStorage = catvm.proxy(localStorage);
  428. var sessionStorage = {
  429. length: 0
  430. };
  431. sessionStorage.__proto__ = Storage.prototype;
  432. sessionStorage = catvm.proxy(sessionStorage);
  433. catvm.memory.Plugin = {}
  434. var Plugin =function Plugin() {//构造函数
  435. throw new TypeError("Illegal constructor");
  436. }; catvm.safefunction(Plugin);
  437. catvm.memory.Plugin.iterator = function values(){
  438. debugger;
  439. }; catvm.safefunction(catvm.memory.Plugin.iterator);
  440. Object.defineProperties(Navigator.prototype , {
  441. [Symbol.toStringTag]: {
  442. value: "Plugin",
  443. configurable: true
  444. },
  445. [Symbol.iterator]: {
  446. value: catvm.memory.Plugin.iterator,
  447. configurable: true
  448. }
  449. });
  450. ///////////
  451. //////////
  452. catvm.memory.Plugin.new = function (data){
  453. var plugin = {};
  454. plugin.__proto__ = Plugin.prototype;
  455. if(data != undefined){
  456. plugin.description = data.description;
  457. plugin.filename = data.filename;
  458. plugin.name = data.name;
  459. }
  460. return plugin;
  461. }
  462. var Performance = function Performance(){
  463. //容易被检测到的 堆栈
  464. throw new TypeError("Illegal constructor");
  465. }; catvm.safefunction(Performance);
  466. Object.defineProperties(Performance.prototype , {
  467. [Symbol.toStringTag]: {
  468. value: "Performance",
  469. configurable: true
  470. }
  471. });
  472. ////
  473. performance = {};
  474. performance.__proto__ = Performance.prototype;
  475. Performance.prototype = function getEntriesByName(){debugger};catvm.safefunction(Performance.prototype);
  476. /////
  477. Performance.prototype.__proto__ = EventTarget.prototype;
  478. performance = catvm.proxy(performance);
  479. var BatteryManager = function BatteryManager(){
  480. //容易被检测到的 堆栈
  481. throw new TypeError("Illegal constructor");
  482. }; catvm.safefunction(BatteryManager);
  483. Object.defineProperties(BatteryManager.prototype , {
  484. [Symbol.toStringTag]: {
  485. value: "BatteryManager",
  486. configurable: true
  487. }
  488. });
  489. ///
  490. BatteryManager.prototype.charging = true;
  491. BatteryManager.prototype.chargingTime = Infinity;
  492. BatteryManager.prototype.dischargingTime = Infinity;
  493. BatteryManager.prototype.level = 1;
  494. BatteryManager.prototype.onchargingchange = null;
  495. BatteryManager.prototype.onchargingtimechange = null;
  496. BatteryManager.prototype.ondischargingtimechange = null;
  497. BatteryManager.prototype.onlevelchange = null;
  498. BatteryManager.prototype.__proto__ = EventTarget.prototype
  499. /////
  500. catvm.memory.navigator = {}
  501. var HTMLDivElement =function HTMLDivElement() {//构造函数
  502. throw new TypeError("Illegal constructor");
  503. }; catvm.safefunction(HTMLDivElement);
  504. Object.defineProperties(HTMLDivElement.prototype , {
  505. [Symbol.toStringTag]: {
  506. value: "HTMLDivElement",
  507. configurable: true
  508. }
  509. });
  510. HTMLDivElement.prototype.getElementsByTagName = function getElementsByTagName(){
  511. debugger
  512. };catvm.safefunction(HTMLDivElement.prototype.getElementsByTagName);
  513. var HTMLMetaElement =function HTMLMetaElement() {//构造函数
  514. throw new TypeError("Illegal constructor");
  515. }; catvm.safefunction(HTMLMetaElement);
  516. Object.defineProperties(HTMLMetaElement.prototype , {
  517. [Symbol.toStringTag]: {
  518. value: "HTMLMetaElement",
  519. configurable: true
  520. }
  521. });
  522. var HTMLHtmlElement =function HTMLHtmlElement() {//构造函数
  523. throw new TypeError("Illegal constructor");
  524. }; catvm.safefunction(HTMLHtmlElement);
  525. Object.defineProperties(HTMLHtmlElement.prototype , {
  526. [Symbol.toStringTag]: {
  527. value: "HTMLHtmlElement",
  528. configurable: true
  529. }
  530. });
  531. var Document = function Document(){
  532. }; catvm.safefunction(Document);
  533. Object.defineProperties(Document.prototype , {
  534. [Symbol.toStringTag]: {
  535. value: "Document",
  536. configurable: true
  537. }
  538. });
  539. document = {};
  540. document.__proto__ = Document.prototype;
  541. //////
  542. document.characterSet = 'UTF-8'
  543. document.charset = 'UTF-8'
  544. //没问题
  545. document.getElementById = function getElementById(id){
  546. debugger;
  547. return null;
  548. };catvm.safefunction(document.getElementById);
  549. //没问题
  550. document.addEventListener = function addEventListener(type,listener,options,useCapture){
  551. debugger;
  552. if(catvm.memory.doc_addEventListen[type.toString()] == undefined){
  553. catvm.memory.doc_addEventListen[type.toString()] = [];
  554. }
  555. catvm.memory.doc_addEventListen[type.toString()].push(listener);
  556. };catvm.safefunction(document.addEventListener);
  557. document.exitFullscreen = function exitFullscreen(){debugger;};catvm.safefunction(document.exitFullscreen);
  558. //没问题
  559. document.createElement = function createElement(x){
  560. debugger;
  561. if(x=="div"){
  562. let div = class div{};
  563. div.localName = `<${x}></${x}>`;
  564. div.getElementsByTagName = function(){
  565. var i = class i{};
  566. i.length = 0;
  567. return catvm.proxy(i);
  568. };catvm.safefunction(div.getElementsByTagName);
  569. div.style = {
  570. "accentColor": "",
  571. "additiveSymbols": "",
  572. "alignContent": "",
  573. "alignItems": "",
  574. "alignSelf": "",
  575. "alignmentBaseline": "",
  576. "all": "",
  577. "animation": "",
  578. "animationDelay": "",
  579. "animationDirection": "",
  580. "animationDuration": "",
  581. "animationFillMode": "",
  582. "animationIterationCount": "",
  583. "animationName": "",
  584. "animationPlayState": "",
  585. "animationTimingFunction": "",
  586. "appRegion": "",
  587. "appearance": "",
  588. "ascentOverride": "",
  589. "aspectRatio": "",
  590. "backdropFilter": "",
  591. "backfaceVisibility": "",
  592. "background": "",
  593. "backgroundAttachment": "",
  594. "backgroundBlendMode": "",
  595. "backgroundClip": "",
  596. "backgroundColor": "",
  597. "backgroundImage": "",
  598. "backgroundOrigin": "",
  599. "backgroundPosition": "",
  600. "backgroundPositionX": "",
  601. "backgroundPositionY": "",
  602. "backgroundRepeat": "",
  603. "backgroundRepeatX": "",
  604. "backgroundRepeatY": "",
  605. "backgroundSize": "",
  606. "baselineShift": "",
  607. "blockSize": "",
  608. "border": "",
  609. "borderBlock": "",
  610. "borderBlockColor": "",
  611. "borderBlockEnd": "",
  612. "borderBlockEndColor": "",
  613. "borderBlockEndStyle": "",
  614. "borderBlockEndWidth": "",
  615. "borderBlockStart": "",
  616. "borderBlockStartColor": "",
  617. "borderBlockStartStyle": "",
  618. "borderBlockStartWidth": "",
  619. "borderBlockStyle": "",
  620. "borderBlockWidth": "",
  621. "borderBottom": "",
  622. "borderBottomColor": "",
  623. "borderBottomLeftRadius": "",
  624. "borderBottomRightRadius": "",
  625. "borderBottomStyle": "",
  626. "borderBottomWidth": "",
  627. "borderCollapse": "",
  628. "borderColor": "",
  629. "borderEndEndRadius": "",
  630. "borderEndStartRadius": "",
  631. "borderImage": "",
  632. "borderImageOutset": "",
  633. "borderImageRepeat": "",
  634. "borderImageSlice": "",
  635. "borderImageSource": "",
  636. "borderImageWidth": "",
  637. "borderInline": "",
  638. "borderInlineColor": "",
  639. "borderInlineEnd": "",
  640. "borderInlineEndColor": "",
  641. "borderInlineEndStyle": "",
  642. "borderInlineEndWidth": "",
  643. "borderInlineStart": "",
  644. "borderInlineStartColor": "",
  645. "borderInlineStartStyle": "",
  646. "borderInlineStartWidth": "",
  647. "borderInlineStyle": "",
  648. "borderInlineWidth": "",
  649. "borderLeft": "",
  650. "borderLeftColor": "",
  651. "borderLeftStyle": "",
  652. "borderLeftWidth": "",
  653. "borderRadius": "",
  654. "borderRight": "",
  655. "borderRightColor": "",
  656. "borderRightStyle": "",
  657. "borderRightWidth": "",
  658. "borderSpacing": "",
  659. "borderStartEndRadius": "",
  660. "borderStartStartRadius": "",
  661. "borderStyle": "",
  662. "borderTop": "",
  663. "borderTopColor": "",
  664. "borderTopLeftRadius": "",
  665. "borderTopRightRadius": "",
  666. "borderTopStyle": "",
  667. "borderTopWidth": "",
  668. "borderWidth": "",
  669. "bottom": "",
  670. "boxShadow": "",
  671. "boxSizing": "",
  672. "breakAfter": "",
  673. "breakBefore": "",
  674. "breakInside": "",
  675. "bufferedRendering": "",
  676. "captionSide": "",
  677. "caretColor": "",
  678. "clear": "",
  679. "clip": "",
  680. "clipPath": "",
  681. "clipRule": "",
  682. "color": "",
  683. "colorInterpolation": "",
  684. "colorInterpolationFilters": "",
  685. "colorRendering": "",
  686. "colorScheme": "",
  687. "columnCount": "",
  688. "columnFill": "",
  689. "columnGap": "",
  690. "columnRule": "",
  691. "columnRuleColor": "",
  692. "columnRuleStyle": "",
  693. "columnRuleWidth": "",
  694. "columnSpan": "",
  695. "columnWidth": "",
  696. "columns": "",
  697. "contain": "",
  698. "containIntrinsicBlockSize": "",
  699. "containIntrinsicHeight": "",
  700. "containIntrinsicInlineSize": "",
  701. "containIntrinsicSize": "",
  702. "containIntrinsicWidth": "",
  703. "content": "",
  704. "contentVisibility": "",
  705. "counterIncrement": "",
  706. "counterReset": "",
  707. "counterSet": "",
  708. "cursor": "",
  709. "cx": "",
  710. "cy": "",
  711. "d": "",
  712. "descentOverride": "",
  713. "direction": "",
  714. "display": "",
  715. "dominantBaseline": "",
  716. "emptyCells": "",
  717. "fallback": "",
  718. "fill": "",
  719. "fillOpacity": "",
  720. "fillRule": "",
  721. "filter": "",
  722. "flex": "",
  723. "flexBasis": "",
  724. "flexDirection": "",
  725. "flexFlow": "",
  726. "flexGrow": "",
  727. "flexShrink": "",
  728. "flexWrap": "",
  729. "float": "",
  730. "floodColor": "",
  731. "floodOpacity": "",
  732. "font": "",
  733. "fontDisplay": "",
  734. "fontFamily": "",
  735. "fontFeatureSettings": "",
  736. "fontKerning": "",
  737. "fontOpticalSizing": "",
  738. "fontSize": "",
  739. "fontStretch": "",
  740. "fontStyle": "",
  741. "fontVariant": "",
  742. "fontVariantCaps": "",
  743. "fontVariantEastAsian": "",
  744. "fontVariantLigatures": "",
  745. "fontVariantNumeric": "",
  746. "fontVariationSettings": "",
  747. "fontWeight": "",
  748. "forcedColorAdjust": "",
  749. "gap": "",
  750. "grid": "",
  751. "gridArea": "",
  752. "gridAutoColumns": "",
  753. "gridAutoFlow": "",
  754. "gridAutoRows": "",
  755. "gridColumn": "",
  756. "gridColumnEnd": "",
  757. "gridColumnGap": "",
  758. "gridColumnStart": "",
  759. "gridGap": "",
  760. "gridRow": "",
  761. "gridRowEnd": "",
  762. "gridRowGap": "",
  763. "gridRowStart": "",
  764. "gridTemplate": "",
  765. "gridTemplateAreas": "",
  766. "gridTemplateColumns": "",
  767. "gridTemplateRows": "",
  768. "height": "",
  769. "hyphens": "",
  770. "imageOrientation": "",
  771. "imageRendering": "",
  772. "inherits": "",
  773. "initialValue": "",
  774. "inlineSize": "",
  775. "inset": "",
  776. "insetBlock": "",
  777. "insetBlockEnd": "",
  778. "insetBlockStart": "",
  779. "insetInline": "",
  780. "insetInlineEnd": "",
  781. "insetInlineStart": "",
  782. "isolation": "",
  783. "justifyContent": "",
  784. "justifyItems": "",
  785. "justifySelf": "",
  786. "left": "",
  787. "letterSpacing": "",
  788. "lightingColor": "",
  789. "lineBreak": "",
  790. "lineGapOverride": "",
  791. "lineHeight": "",
  792. "listStyle": "",
  793. "listStyleImage": "",
  794. "listStylePosition": "",
  795. "listStyleType": "",
  796. "margin": "",
  797. "marginBlock": "",
  798. "marginBlockEnd": "",
  799. "marginBlockStart": "",
  800. "marginBottom": "",
  801. "marginInline": "",
  802. "marginInlineEnd": "",
  803. "marginInlineStart": "",
  804. "marginLeft": "",
  805. "marginRight": "",
  806. "marginTop": "",
  807. "marker": "",
  808. "markerEnd": "",
  809. "markerMid": "",
  810. "markerStart": "",
  811. "mask": "",
  812. "maskType": "",
  813. "maxBlockSize": "",
  814. "maxHeight": "",
  815. "maxInlineSize": "",
  816. "maxWidth": "",
  817. "maxZoom": "",
  818. "minBlockSize": "",
  819. "minHeight": "",
  820. "minInlineSize": "",
  821. "minWidth": "",
  822. "minZoom": "",
  823. "mixBlendMode": "",
  824. "negative": "",
  825. "objectFit": "",
  826. "objectPosition": "",
  827. "offset": "",
  828. "offsetDistance": "",
  829. "offsetPath": "",
  830. "offsetRotate": "",
  831. "opacity": "",
  832. "order": "",
  833. "orientation": "",
  834. "orphans": "",
  835. "outline": "",
  836. "outlineColor": "",
  837. "outlineOffset": "",
  838. "outlineStyle": "",
  839. "outlineWidth": "",
  840. "overflow": "",
  841. "overflowAnchor": "",
  842. "overflowClipMargin": "",
  843. "overflowWrap": "",
  844. "overflowX": "",
  845. "overflowY": "",
  846. "overscrollBehavior": "",
  847. "overscrollBehaviorBlock": "",
  848. "overscrollBehaviorInline": "",
  849. "overscrollBehaviorX": "",
  850. "overscrollBehaviorY": "",
  851. "pad": "",
  852. "padding": "",
  853. "paddingBlock": "",
  854. "paddingBlockEnd": "",
  855. "paddingBlockStart": "",
  856. "paddingBottom": "",
  857. "paddingInline": "",
  858. "paddingInlineEnd": "",
  859. "paddingInlineStart": "",
  860. "paddingLeft": "",
  861. "paddingRight": "",
  862. "paddingTop": "",
  863. "page": "",
  864. "pageBreakAfter": "",
  865. "pageBreakBefore": "",
  866. "pageBreakInside": "",
  867. "pageOrientation": "",
  868. "paintOrder": "",
  869. "perspective": "",
  870. "perspectiveOrigin": "",
  871. "placeContent": "",
  872. "placeItems": "",
  873. "placeSelf": "",
  874. "pointerEvents": "",
  875. "position": "",
  876. "prefix": "",
  877. "quotes": "",
  878. "r": "",
  879. "range": "",
  880. "resize": "",
  881. "right": "",
  882. "rowGap": "",
  883. "rubyPosition": "",
  884. "rx": "",
  885. "ry": "",
  886. "scrollBehavior": "",
  887. "scrollMargin": "",
  888. "scrollMarginBlock": "",
  889. "scrollMarginBlockEnd": "",
  890. "scrollMarginBlockStart": "",
  891. "scrollMarginBottom": "",
  892. "scrollMarginInline": "",
  893. "scrollMarginInlineEnd": "",
  894. "scrollMarginInlineStart": "",
  895. "scrollMarginLeft": "",
  896. "scrollMarginRight": "",
  897. "scrollMarginTop": "",
  898. "scrollPadding": "",
  899. "scrollPaddingBlock": "",
  900. "scrollPaddingBlockEnd": "",
  901. "scrollPaddingBlockStart": "",
  902. "scrollPaddingBottom": "",
  903. "scrollPaddingInline": "",
  904. "scrollPaddingInlineEnd": "",
  905. "scrollPaddingInlineStart": "",
  906. "scrollPaddingLeft": "",
  907. "scrollPaddingRight": "",
  908. "scrollPaddingTop": "",
  909. "scrollSnapAlign": "",
  910. "scrollSnapStop": "",
  911. "scrollSnapType": "",
  912. "scrollbarGutter": "",
  913. "shapeImageThreshold": "",
  914. "shapeMargin": "",
  915. "shapeOutside": "",
  916. "shapeRendering": "",
  917. "size": "",
  918. "sizeAdjust": "",
  919. "speak": "",
  920. "speakAs": "",
  921. "src": "",
  922. "stopColor": "",
  923. "stopOpacity": "",
  924. "stroke": "",
  925. "strokeDasharray": "",
  926. "strokeDashoffset": "",
  927. "strokeLinecap": "",
  928. "strokeLinejoin": "",
  929. "strokeMiterlimit": "",
  930. "strokeOpacity": "",
  931. "strokeWidth": "",
  932. "suffix": "",
  933. "symbols": "",
  934. "syntax": "",
  935. "system": "",
  936. "tabSize": "",
  937. "tableLayout": "",
  938. "textAlign": "",
  939. "textAlignLast": "",
  940. "textAnchor": "",
  941. "textCombineUpright": "",
  942. "textDecoration": "",
  943. "textDecorationColor": "",
  944. "textDecorationLine": "",
  945. "textDecorationSkipInk": "",
  946. "textDecorationStyle": "",
  947. "textDecorationThickness": "",
  948. "textIndent": "",
  949. "textOrientation": "",
  950. "textOverflow": "",
  951. "textRendering": "",
  952. "textShadow": "",
  953. "textSizeAdjust": "",
  954. "textTransform": "",
  955. "textUnderlineOffset": "",
  956. "textUnderlinePosition": "",
  957. "top": "",
  958. "touchAction": "",
  959. "transform": "",
  960. "transformBox": "",
  961. "transformOrigin": "",
  962. "transformStyle": "",
  963. "transition": "",
  964. "transitionDelay": "",
  965. "transitionDuration": "",
  966. "transitionProperty": "",
  967. "transitionTimingFunction": "",
  968. "unicodeBidi": "",
  969. "unicodeRange": "",
  970. "userSelect": "",
  971. "userZoom": "",
  972. "vectorEffect": "",
  973. "verticalAlign": "",
  974. "visibility": "",
  975. "webkitAlignContent": "",
  976. "webkitAlignItems": "",
  977. "webkitAlignSelf": "",
  978. "webkitAnimation": "",
  979. "webkitAnimationDelay": "",
  980. "webkitAnimationDirection": "",
  981. "webkitAnimationDuration": "",
  982. "webkitAnimationFillMode": "",
  983. "webkitAnimationIterationCount": "",
  984. "webkitAnimationName": "",
  985. "webkitAnimationPlayState": "",
  986. "webkitAnimationTimingFunction": "",
  987. "webkitAppRegion": "",
  988. "webkitAppearance": "",
  989. "webkitBackfaceVisibility": "",
  990. "webkitBackgroundClip": "",
  991. "webkitBackgroundOrigin": "",
  992. "webkitBackgroundSize": "",
  993. "webkitBorderAfter": "",
  994. "webkitBorderAfterColor": "",
  995. "webkitBorderAfterStyle": "",
  996. "webkitBorderAfterWidth": "",
  997. "webkitBorderBefore": "",
  998. "webkitBorderBeforeColor": "",
  999. "webkitBorderBeforeStyle": "",
  1000. "webkitBorderBeforeWidth": "",
  1001. "webkitBorderBottomLeftRadius": "",
  1002. "webkitBorderBottomRightRadius": "",
  1003. "webkitBorderEnd": "",
  1004. "webkitBorderEndColor": "",
  1005. "webkitBorderEndStyle": "",
  1006. "webkitBorderEndWidth": "",
  1007. "webkitBorderHorizontalSpacing": "",
  1008. "webkitBorderImage": "",
  1009. "webkitBorderRadius": "",
  1010. "webkitBorderStart": "",
  1011. "webkitBorderStartColor": "",
  1012. "webkitBorderStartStyle": "",
  1013. "webkitBorderStartWidth": "",
  1014. "webkitBorderTopLeftRadius": "",
  1015. "webkitBorderTopRightRadius": "",
  1016. "webkitBorderVerticalSpacing": "",
  1017. "webkitBoxAlign": "",
  1018. "webkitBoxDecorationBreak": "",
  1019. "webkitBoxDirection": "",
  1020. "webkitBoxFlex": "",
  1021. "webkitBoxOrdinalGroup": "",
  1022. "webkitBoxOrient": "",
  1023. "webkitBoxPack": "",
  1024. "webkitBoxReflect": "",
  1025. "webkitBoxShadow": "",
  1026. "webkitBoxSizing": "",
  1027. "webkitClipPath": "",
  1028. "webkitColumnBreakAfter": "",
  1029. "webkitColumnBreakBefore": "",
  1030. "webkitColumnBreakInside": "",
  1031. "webkitColumnCount": "",
  1032. "webkitColumnGap": "",
  1033. "webkitColumnRule": "",
  1034. "webkitColumnRuleColor": "",
  1035. "webkitColumnRuleStyle": "",
  1036. "webkitColumnRuleWidth": "",
  1037. "webkitColumnSpan": "",
  1038. "webkitColumnWidth": "",
  1039. "webkitColumns": "",
  1040. "webkitFilter": "",
  1041. "webkitFlex": "",
  1042. "webkitFlexBasis": "",
  1043. "webkitFlexDirection": "",
  1044. "webkitFlexFlow": "",
  1045. "webkitFlexGrow": "",
  1046. "webkitFlexShrink": "",
  1047. "webkitFlexWrap": "",
  1048. "webkitFontFeatureSettings": "",
  1049. "webkitFontSmoothing": "",
  1050. "webkitHighlight": "",
  1051. "webkitHyphenateCharacter": "",
  1052. "webkitJustifyContent": "",
  1053. "webkitLineBreak": "",
  1054. "webkitLineClamp": "",
  1055. "webkitLocale": "",
  1056. "webkitLogicalHeight": "",
  1057. "webkitLogicalWidth": "",
  1058. "webkitMarginAfter": "",
  1059. "webkitMarginBefore": "",
  1060. "webkitMarginEnd": "",
  1061. "webkitMarginStart": "",
  1062. "webkitMask": "",
  1063. "webkitMaskBoxImage": "",
  1064. "webkitMaskBoxImageOutset": "",
  1065. "webkitMaskBoxImageRepeat": "",
  1066. "webkitMaskBoxImageSlice": "",
  1067. "webkitMaskBoxImageSource": "",
  1068. "webkitMaskBoxImageWidth": "",
  1069. "webkitMaskClip": "",
  1070. "webkitMaskComposite": "",
  1071. "webkitMaskImage": "",
  1072. "webkitMaskOrigin": "",
  1073. "webkitMaskPosition": "",
  1074. "webkitMaskPositionX": "",
  1075. "webkitMaskPositionY": "",
  1076. "webkitMaskRepeat": "",
  1077. "webkitMaskRepeatX": "",
  1078. "webkitMaskRepeatY": "",
  1079. "webkitMaskSize": "",
  1080. "webkitMaxLogicalHeight": "",
  1081. "webkitMaxLogicalWidth": "",
  1082. "webkitMinLogicalHeight": "",
  1083. "webkitMinLogicalWidth": "",
  1084. "webkitOpacity": "",
  1085. "webkitOrder": "",
  1086. "webkitPaddingAfter": "",
  1087. "webkitPaddingBefore": "",
  1088. "webkitPaddingEnd": "",
  1089. "webkitPaddingStart": "",
  1090. "webkitPerspective": "",
  1091. "webkitPerspectiveOrigin": "",
  1092. "webkitPerspectiveOriginX": "",
  1093. "webkitPerspectiveOriginY": "",
  1094. "webkitPrintColorAdjust": "",
  1095. "webkitRtlOrdering": "",
  1096. "webkitRubyPosition": "",
  1097. "webkitShapeImageThreshold": "",
  1098. "webkitShapeMargin": "",
  1099. "webkitShapeOutside": "",
  1100. "webkitTapHighlightColor": "",
  1101. "webkitTextCombine": "",
  1102. "webkitTextDecorationsInEffect": "",
  1103. "webkitTextEmphasis": "",
  1104. "webkitTextEmphasisColor": "",
  1105. "webkitTextEmphasisPosition": "",
  1106. "webkitTextEmphasisStyle": "",
  1107. "webkitTextFillColor": "",
  1108. "webkitTextOrientation": "",
  1109. "webkitTextSecurity": "",
  1110. "webkitTextSizeAdjust": "",
  1111. "webkitTextStroke": "",
  1112. "webkitTextStrokeColor": "",
  1113. "webkitTextStrokeWidth": "",
  1114. "webkitTransform": "",
  1115. "webkitTransformOrigin": "",
  1116. "webkitTransformOriginX": "",
  1117. "webkitTransformOriginY": "",
  1118. "webkitTransformOriginZ": "",
  1119. "webkitTransformStyle": "",
  1120. "webkitTransition": "",
  1121. "webkitTransitionDelay": "",
  1122. "webkitTransitionDuration": "",
  1123. "webkitTransitionProperty": "",
  1124. "webkitTransitionTimingFunction": "",
  1125. "webkitUserDrag": "",
  1126. "webkitUserModify": "",
  1127. "webkitUserSelect": "",
  1128. "webkitWritingMode": "",
  1129. "whiteSpace": "",
  1130. "widows": "",
  1131. "width": "",
  1132. "willChange": "",
  1133. "wordBreak": "",
  1134. "wordSpacing": "",
  1135. "wordWrap": "",
  1136. "writingMode": "",
  1137. "x": "",
  1138. "y": "",
  1139. "zIndex": "",
  1140. "zoom": ""
  1141. }
  1142. div.innerHTML = '<\!--[if gt IE 4]><i></i><![endif]-->';
  1143. return catvm.proxy(div);
  1144. }
  1145. if(x=="form"){
  1146. let iframe = class iframe{};
  1147. return catvm.proxy(iframe)
  1148. }
  1149. if(x=='a'){
  1150. return {};
  1151. }
  1152. debugger;
  1153. };catvm.safefunction(document.createElement);
  1154. //没问题
  1155. document.getElementsByTagName = function getElementsByTagName(name){ //返回HTMLCollection
  1156. debugger;
  1157. //没问题
  1158. if(name=='meta'){
  1159. debugger;
  1160. var meta0 = {
  1161. parentNode:{
  1162. removeChild : function(){debugger;}
  1163. },
  1164. getAttribute:function(){debugger;return null}
  1165. }
  1166. catvm.safefunction(meta0.getAttribute);
  1167. catvm.safefunction(meta0.parentNode.removeChild);
  1168. meta0.__proto__ = HTMLMetaElement.prototype;
  1169. meta0 = catvm.proxy(meta0)
  1170. var meta1 = {
  1171. content:window.content,
  1172. parentNode:{
  1173. removeChild : function(){debugger;}
  1174. },
  1175. getAttribute:function(){debugger;return "m"}
  1176. }
  1177. catvm.safefunction(meta1.getAttribute);
  1178. catvm.safefunction(meta1.parentNode);
  1179. meta1.__proto__ = HTMLMetaElement.prototype;
  1180. meta1 = catvm.proxy(meta1)
  1181. var obj = {
  1182. length:2,
  1183. 0:meta0,
  1184. 1:meta1,
  1185. }
  1186. obj = catvm.proxy(obj)
  1187. return obj
  1188. }
  1189. //没问题
  1190. if(name=="script"){ //没问题
  1191. debugger;
  1192. function getAttribute(name){
  1193. debugger;
  1194. if(name=='r'){
  1195. return 'm'
  1196. }
  1197. return null
  1198. };catvm.safefunction(getAttribute);
  1199. function removeChild(name){
  1200. debugger;
  1201. };catvm.safefunction(removeChild);
  1202. var script1 = {
  1203. "getAttribute" : getAttribute,
  1204. "parentElement":{
  1205. removeChild : removeChild
  1206. }
  1207. };
  1208. script1 = catvm.proxy(script1);
  1209. var script2 = {
  1210. "getAttribute" : getAttribute,
  1211. "parentElement":{
  1212. removeChild : removeChild
  1213. }
  1214. };
  1215. script2 = catvm.proxy(script2);
  1216. // var script3 = {
  1217. // "getAttribute" : getAttribute,
  1218. // "parentElement":{
  1219. // removeChild : removeChild
  1220. // }
  1221. // };
  1222. // script3 = catvm.proxy(script3);
  1223. var obj = {
  1224. 0 : script1,
  1225. 1 : script2,
  1226. length : 2,
  1227. }
  1228. obj = catvm.proxy(obj);
  1229. return obj
  1230. }
  1231. if(name=="base"){
  1232. var base = class base{};
  1233. base.length = 0;
  1234. return catvm.proxy(base)
  1235. }
  1236. };catvm.safefunction(document.getElementsByTagName);
  1237. var html = class html{};
  1238. html.style = {
  1239. "accentColor": "",
  1240. "additiveSymbols": "",
  1241. "alignContent": "",
  1242. "alignItems": "",
  1243. "alignSelf": "",
  1244. "alignmentBaseline": "",
  1245. "all": "",
  1246. "animation": "",
  1247. "animationDelay": "",
  1248. "animationDirection": "",
  1249. "animationDuration": "",
  1250. "animationFillMode": "",
  1251. "animationIterationCount": "",
  1252. "animationName": "",
  1253. "animationPlayState": "",
  1254. "animationTimingFunction": "",
  1255. "appRegion": "",
  1256. "appearance": "",
  1257. "ascentOverride": "",
  1258. "aspectRatio": "",
  1259. "backdropFilter": "",
  1260. "backfaceVisibility": "",
  1261. "background": "",
  1262. "backgroundAttachment": "",
  1263. "backgroundBlendMode": "",
  1264. "backgroundClip": "",
  1265. "backgroundColor": "",
  1266. "backgroundImage": "",
  1267. "backgroundOrigin": "",
  1268. "backgroundPosition": "",
  1269. "backgroundPositionX": "",
  1270. "backgroundPositionY": "",
  1271. "backgroundRepeat": "",
  1272. "backgroundRepeatX": "",
  1273. "backgroundRepeatY": "",
  1274. "backgroundSize": "",
  1275. "baselineShift": "",
  1276. "blockSize": "",
  1277. "border": "",
  1278. "borderBlock": "",
  1279. "borderBlockColor": "",
  1280. "borderBlockEnd": "",
  1281. "borderBlockEndColor": "",
  1282. "borderBlockEndStyle": "",
  1283. "borderBlockEndWidth": "",
  1284. "borderBlockStart": "",
  1285. "borderBlockStartColor": "",
  1286. "borderBlockStartStyle": "",
  1287. "borderBlockStartWidth": "",
  1288. "borderBlockStyle": "",
  1289. "borderBlockWidth": "",
  1290. "borderBottom": "",
  1291. "borderBottomColor": "",
  1292. "borderBottomLeftRadius": "",
  1293. "borderBottomRightRadius": "",
  1294. "borderBottomStyle": "",
  1295. "borderBottomWidth": "",
  1296. "borderCollapse": "",
  1297. "borderColor": "",
  1298. "borderEndEndRadius": "",
  1299. "borderEndStartRadius": "",
  1300. "borderImage": "",
  1301. "borderImageOutset": "",
  1302. "borderImageRepeat": "",
  1303. "borderImageSlice": "",
  1304. "borderImageSource": "",
  1305. "borderImageWidth": "",
  1306. "borderInline": "",
  1307. "borderInlineColor": "",
  1308. "borderInlineEnd": "",
  1309. "borderInlineEndColor": "",
  1310. "borderInlineEndStyle": "",
  1311. "borderInlineEndWidth": "",
  1312. "borderInlineStart": "",
  1313. "borderInlineStartColor": "",
  1314. "borderInlineStartStyle": "",
  1315. "borderInlineStartWidth": "",
  1316. "borderInlineStyle": "",
  1317. "borderInlineWidth": "",
  1318. "borderLeft": "",
  1319. "borderLeftColor": "",
  1320. "borderLeftStyle": "",
  1321. "borderLeftWidth": "",
  1322. "borderRadius": "",
  1323. "borderRight": "",
  1324. "borderRightColor": "",
  1325. "borderRightStyle": "",
  1326. "borderRightWidth": "",
  1327. "borderSpacing": "",
  1328. "borderStartEndRadius": "",
  1329. "borderStartStartRadius": "",
  1330. "borderStyle": "",
  1331. "borderTop": "",
  1332. "borderTopColor": "",
  1333. "borderTopLeftRadius": "",
  1334. "borderTopRightRadius": "",
  1335. "borderTopStyle": "",
  1336. "borderTopWidth": "",
  1337. "borderWidth": "",
  1338. "bottom": "",
  1339. "boxShadow": "",
  1340. "boxSizing": "",
  1341. "breakAfter": "",
  1342. "breakBefore": "",
  1343. "breakInside": "",
  1344. "bufferedRendering": "",
  1345. "captionSide": "",
  1346. "caretColor": "",
  1347. "clear": "",
  1348. "clip": "",
  1349. "clipPath": "",
  1350. "clipRule": "",
  1351. "color": "",
  1352. "colorInterpolation": "",
  1353. "colorInterpolationFilters": "",
  1354. "colorRendering": "",
  1355. "colorScheme": "",
  1356. "columnCount": "",
  1357. "columnFill": "",
  1358. "columnGap": "",
  1359. "columnRule": "",
  1360. "columnRuleColor": "",
  1361. "columnRuleStyle": "",
  1362. "columnRuleWidth": "",
  1363. "columnSpan": "",
  1364. "columnWidth": "",
  1365. "columns": "",
  1366. "contain": "",
  1367. "containIntrinsicBlockSize": "",
  1368. "containIntrinsicHeight": "",
  1369. "containIntrinsicInlineSize": "",
  1370. "containIntrinsicSize": "",
  1371. "containIntrinsicWidth": "",
  1372. "content": "",
  1373. "contentVisibility": "",
  1374. "counterIncrement": "",
  1375. "counterReset": "",
  1376. "counterSet": "",
  1377. "cursor": "",
  1378. "cx": "",
  1379. "cy": "",
  1380. "d": "",
  1381. "descentOverride": "",
  1382. "direction": "",
  1383. "display": "",
  1384. "dominantBaseline": "",
  1385. "emptyCells": "",
  1386. "fallback": "",
  1387. "fill": "",
  1388. "fillOpacity": "",
  1389. "fillRule": "",
  1390. "filter": "",
  1391. "flex": "",
  1392. "flexBasis": "",
  1393. "flexDirection": "",
  1394. "flexFlow": "",
  1395. "flexGrow": "",
  1396. "flexShrink": "",
  1397. "flexWrap": "",
  1398. "float": "",
  1399. "floodColor": "",
  1400. "floodOpacity": "",
  1401. "font": "",
  1402. "fontDisplay": "",
  1403. "fontFamily": "",
  1404. "fontFeatureSettings": "",
  1405. "fontKerning": "",
  1406. "fontOpticalSizing": "",
  1407. "fontSize": "",
  1408. "fontStretch": "",
  1409. "fontStyle": "",
  1410. "fontVariant": "",
  1411. "fontVariantCaps": "",
  1412. "fontVariantEastAsian": "",
  1413. "fontVariantLigatures": "",
  1414. "fontVariantNumeric": "",
  1415. "fontVariationSettings": "",
  1416. "fontWeight": "",
  1417. "forcedColorAdjust": "",
  1418. "gap": "",
  1419. "grid": "",
  1420. "gridArea": "",
  1421. "gridAutoColumns": "",
  1422. "gridAutoFlow": "",
  1423. "gridAutoRows": "",
  1424. "gridColumn": "",
  1425. "gridColumnEnd": "",
  1426. "gridColumnGap": "",
  1427. "gridColumnStart": "",
  1428. "gridGap": "",
  1429. "gridRow": "",
  1430. "gridRowEnd": "",
  1431. "gridRowGap": "",
  1432. "gridRowStart": "",
  1433. "gridTemplate": "",
  1434. "gridTemplateAreas": "",
  1435. "gridTemplateColumns": "",
  1436. "gridTemplateRows": "",
  1437. "height": "",
  1438. "hyphens": "",
  1439. "imageOrientation": "",
  1440. "imageRendering": "",
  1441. "inherits": "",
  1442. "initialValue": "",
  1443. "inlineSize": "",
  1444. "inset": "",
  1445. "insetBlock": "",
  1446. "insetBlockEnd": "",
  1447. "insetBlockStart": "",
  1448. "insetInline": "",
  1449. "insetInlineEnd": "",
  1450. "insetInlineStart": "",
  1451. "isolation": "",
  1452. "justifyContent": "",
  1453. "justifyItems": "",
  1454. "justifySelf": "",
  1455. "left": "",
  1456. "letterSpacing": "",
  1457. "lightingColor": "",
  1458. "lineBreak": "",
  1459. "lineGapOverride": "",
  1460. "lineHeight": "",
  1461. "listStyle": "",
  1462. "listStyleImage": "",
  1463. "listStylePosition": "",
  1464. "listStyleType": "",
  1465. "margin": "",
  1466. "marginBlock": "",
  1467. "marginBlockEnd": "",
  1468. "marginBlockStart": "",
  1469. "marginBottom": "",
  1470. "marginInline": "",
  1471. "marginInlineEnd": "",
  1472. "marginInlineStart": "",
  1473. "marginLeft": "",
  1474. "marginRight": "",
  1475. "marginTop": "",
  1476. "marker": "",
  1477. "markerEnd": "",
  1478. "markerMid": "",
  1479. "markerStart": "",
  1480. "mask": "",
  1481. "maskType": "",
  1482. "maxBlockSize": "",
  1483. "maxHeight": "",
  1484. "maxInlineSize": "",
  1485. "maxWidth": "",
  1486. "maxZoom": "",
  1487. "minBlockSize": "",
  1488. "minHeight": "",
  1489. "minInlineSize": "",
  1490. "minWidth": "",
  1491. "minZoom": "",
  1492. "mixBlendMode": "",
  1493. "negative": "",
  1494. "objectFit": "",
  1495. "objectPosition": "",
  1496. "offset": "",
  1497. "offsetDistance": "",
  1498. "offsetPath": "",
  1499. "offsetRotate": "",
  1500. "opacity": "",
  1501. "order": "",
  1502. "orientation": "",
  1503. "orphans": "",
  1504. "outline": "",
  1505. "outlineColor": "",
  1506. "outlineOffset": "",
  1507. "outlineStyle": "",
  1508. "outlineWidth": "",
  1509. "overflow": "",
  1510. "overflowAnchor": "",
  1511. "overflowClipMargin": "",
  1512. "overflowWrap": "",
  1513. "overflowX": "",
  1514. "overflowY": "",
  1515. "overscrollBehavior": "",
  1516. "overscrollBehaviorBlock": "",
  1517. "overscrollBehaviorInline": "",
  1518. "overscrollBehaviorX": "",
  1519. "overscrollBehaviorY": "",
  1520. "pad": "",
  1521. "padding": "",
  1522. "paddingBlock": "",
  1523. "paddingBlockEnd": "",
  1524. "paddingBlockStart": "",
  1525. "paddingBottom": "",
  1526. "paddingInline": "",
  1527. "paddingInlineEnd": "",
  1528. "paddingInlineStart": "",
  1529. "paddingLeft": "",
  1530. "paddingRight": "",
  1531. "paddingTop": "",
  1532. "page": "",
  1533. "pageBreakAfter": "",
  1534. "pageBreakBefore": "",
  1535. "pageBreakInside": "",
  1536. "pageOrientation": "",
  1537. "paintOrder": "",
  1538. "perspective": "",
  1539. "perspectiveOrigin": "",
  1540. "placeContent": "",
  1541. "placeItems": "",
  1542. "placeSelf": "",
  1543. "pointerEvents": "",
  1544. "position": "",
  1545. "prefix": "",
  1546. "quotes": "",
  1547. "r": "",
  1548. "range": "",
  1549. "resize": "",
  1550. "right": "",
  1551. "rowGap": "",
  1552. "rubyPosition": "",
  1553. "rx": "",
  1554. "ry": "",
  1555. "scrollBehavior": "",
  1556. "scrollMargin": "",
  1557. "scrollMarginBlock": "",
  1558. "scrollMarginBlockEnd": "",
  1559. "scrollMarginBlockStart": "",
  1560. "scrollMarginBottom": "",
  1561. "scrollMarginInline": "",
  1562. "scrollMarginInlineEnd": "",
  1563. "scrollMarginInlineStart": "",
  1564. "scrollMarginLeft": "",
  1565. "scrollMarginRight": "",
  1566. "scrollMarginTop": "",
  1567. "scrollPadding": "",
  1568. "scrollPaddingBlock": "",
  1569. "scrollPaddingBlockEnd": "",
  1570. "scrollPaddingBlockStart": "",
  1571. "scrollPaddingBottom": "",
  1572. "scrollPaddingInline": "",
  1573. "scrollPaddingInlineEnd": "",
  1574. "scrollPaddingInlineStart": "",
  1575. "scrollPaddingLeft": "",
  1576. "scrollPaddingRight": "",
  1577. "scrollPaddingTop": "",
  1578. "scrollSnapAlign": "",
  1579. "scrollSnapStop": "",
  1580. "scrollSnapType": "",
  1581. "scrollbarGutter": "",
  1582. "shapeImageThreshold": "",
  1583. "shapeMargin": "",
  1584. "shapeOutside": "",
  1585. "shapeRendering": "",
  1586. "size": "",
  1587. "sizeAdjust": "",
  1588. "speak": "",
  1589. "speakAs": "",
  1590. "src": "",
  1591. "stopColor": "",
  1592. "stopOpacity": "",
  1593. "stroke": "",
  1594. "strokeDasharray": "",
  1595. "strokeDashoffset": "",
  1596. "strokeLinecap": "",
  1597. "strokeLinejoin": "",
  1598. "strokeMiterlimit": "",
  1599. "strokeOpacity": "",
  1600. "strokeWidth": "",
  1601. "suffix": "",
  1602. "symbols": "",
  1603. "syntax": "",
  1604. "system": "",
  1605. "tabSize": "",
  1606. "tableLayout": "",
  1607. "textAlign": "",
  1608. "textAlignLast": "",
  1609. "textAnchor": "",
  1610. "textCombineUpright": "",
  1611. "textDecoration": "",
  1612. "textDecorationColor": "",
  1613. "textDecorationLine": "",
  1614. "textDecorationSkipInk": "",
  1615. "textDecorationStyle": "",
  1616. "textDecorationThickness": "",
  1617. "textIndent": "",
  1618. "textOrientation": "",
  1619. "textOverflow": "",
  1620. "textRendering": "",
  1621. "textShadow": "",
  1622. "textSizeAdjust": "",
  1623. "textTransform": "",
  1624. "textUnderlineOffset": "",
  1625. "textUnderlinePosition": "",
  1626. "top": "",
  1627. "touchAction": "",
  1628. "transform": "",
  1629. "transformBox": "",
  1630. "transformOrigin": "",
  1631. "transformStyle": "",
  1632. "transition": "",
  1633. "transitionDelay": "",
  1634. "transitionDuration": "",
  1635. "transitionProperty": "",
  1636. "transitionTimingFunction": "",
  1637. "unicodeBidi": "",
  1638. "unicodeRange": "",
  1639. "userSelect": "",
  1640. "userZoom": "",
  1641. "vectorEffect": "",
  1642. "verticalAlign": "",
  1643. "visibility": "",
  1644. "webkitAlignContent": "",
  1645. "webkitAlignItems": "",
  1646. "webkitAlignSelf": "",
  1647. "webkitAnimation": "",
  1648. "webkitAnimationDelay": "",
  1649. "webkitAnimationDirection": "",
  1650. "webkitAnimationDuration": "",
  1651. "webkitAnimationFillMode": "",
  1652. "webkitAnimationIterationCount": "",
  1653. "webkitAnimationName": "",
  1654. "webkitAnimationPlayState": "",
  1655. "webkitAnimationTimingFunction": "",
  1656. "webkitAppRegion": "",
  1657. "webkitAppearance": "",
  1658. "webkitBackfaceVisibility": "",
  1659. "webkitBackgroundClip": "",
  1660. "webkitBackgroundOrigin": "",
  1661. "webkitBackgroundSize": "",
  1662. "webkitBorderAfter": "",
  1663. "webkitBorderAfterColor": "",
  1664. "webkitBorderAfterStyle": "",
  1665. "webkitBorderAfterWidth": "",
  1666. "webkitBorderBefore": "",
  1667. "webkitBorderBeforeColor": "",
  1668. "webkitBorderBeforeStyle": "",
  1669. "webkitBorderBeforeWidth": "",
  1670. "webkitBorderBottomLeftRadius": "",
  1671. "webkitBorderBottomRightRadius": "",
  1672. "webkitBorderEnd": "",
  1673. "webkitBorderEndColor": "",
  1674. "webkitBorderEndStyle": "",
  1675. "webkitBorderEndWidth": "",
  1676. "webkitBorderHorizontalSpacing": "",
  1677. "webkitBorderImage": "",
  1678. "webkitBorderRadius": "",
  1679. "webkitBorderStart": "",
  1680. "webkitBorderStartColor": "",
  1681. "webkitBorderStartStyle": "",
  1682. "webkitBorderStartWidth": "",
  1683. "webkitBorderTopLeftRadius": "",
  1684. "webkitBorderTopRightRadius": "",
  1685. "webkitBorderVerticalSpacing": "",
  1686. "webkitBoxAlign": "",
  1687. "webkitBoxDecorationBreak": "",
  1688. "webkitBoxDirection": "",
  1689. "webkitBoxFlex": "",
  1690. "webkitBoxOrdinalGroup": "",
  1691. "webkitBoxOrient": "",
  1692. "webkitBoxPack": "",
  1693. "webkitBoxReflect": "",
  1694. "webkitBoxShadow": "",
  1695. "webkitBoxSizing": "",
  1696. "webkitClipPath": "",
  1697. "webkitColumnBreakAfter": "",
  1698. "webkitColumnBreakBefore": "",
  1699. "webkitColumnBreakInside": "",
  1700. "webkitColumnCount": "",
  1701. "webkitColumnGap": "",
  1702. "webkitColumnRule": "",
  1703. "webkitColumnRuleColor": "",
  1704. "webkitColumnRuleStyle": "",
  1705. "webkitColumnRuleWidth": "",
  1706. "webkitColumnSpan": "",
  1707. "webkitColumnWidth": "",
  1708. "webkitColumns": "",
  1709. "webkitFilter": "",
  1710. "webkitFlex": "",
  1711. "webkitFlexBasis": "",
  1712. "webkitFlexDirection": "",
  1713. "webkitFlexFlow": "",
  1714. "webkitFlexGrow": "",
  1715. "webkitFlexShrink": "",
  1716. "webkitFlexWrap": "",
  1717. "webkitFontFeatureSettings": "",
  1718. "webkitFontSmoothing": "",
  1719. "webkitHighlight": "",
  1720. "webkitHyphenateCharacter": "",
  1721. "webkitJustifyContent": "",
  1722. "webkitLineBreak": "",
  1723. "webkitLineClamp": "",
  1724. "webkitLocale": "",
  1725. "webkitLogicalHeight": "",
  1726. "webkitLogicalWidth": "",
  1727. "webkitMarginAfter": "",
  1728. "webkitMarginBefore": "",
  1729. "webkitMarginEnd": "",
  1730. "webkitMarginStart": "",
  1731. "webkitMask": "",
  1732. "webkitMaskBoxImage": "",
  1733. "webkitMaskBoxImageOutset": "",
  1734. "webkitMaskBoxImageRepeat": "",
  1735. "webkitMaskBoxImageSlice": "",
  1736. "webkitMaskBoxImageSource": "",
  1737. "webkitMaskBoxImageWidth": "",
  1738. "webkitMaskClip": "",
  1739. "webkitMaskComposite": "",
  1740. "webkitMaskImage": "",
  1741. "webkitMaskOrigin": "",
  1742. "webkitMaskPosition": "",
  1743. "webkitMaskPositionX": "",
  1744. "webkitMaskPositionY": "",
  1745. "webkitMaskRepeat": "",
  1746. "webkitMaskRepeatX": "",
  1747. "webkitMaskRepeatY": "",
  1748. "webkitMaskSize": "",
  1749. "webkitMaxLogicalHeight": "",
  1750. "webkitMaxLogicalWidth": "",
  1751. "webkitMinLogicalHeight": "",
  1752. "webkitMinLogicalWidth": "",
  1753. "webkitOpacity": "",
  1754. "webkitOrder": "",
  1755. "webkitPaddingAfter": "",
  1756. "webkitPaddingBefore": "",
  1757. "webkitPaddingEnd": "",
  1758. "webkitPaddingStart": "",
  1759. "webkitPerspective": "",
  1760. "webkitPerspectiveOrigin": "",
  1761. "webkitPerspectiveOriginX": "",
  1762. "webkitPerspectiveOriginY": "",
  1763. "webkitPrintColorAdjust": "",
  1764. "webkitRtlOrdering": "",
  1765. "webkitRubyPosition": "",
  1766. "webkitShapeImageThreshold": "",
  1767. "webkitShapeMargin": "",
  1768. "webkitShapeOutside": "",
  1769. "webkitTapHighlightColor": "",
  1770. "webkitTextCombine": "",
  1771. "webkitTextDecorationsInEffect": "",
  1772. "webkitTextEmphasis": "",
  1773. "webkitTextEmphasisColor": "",
  1774. "webkitTextEmphasisPosition": "",
  1775. "webkitTextEmphasisStyle": "",
  1776. "webkitTextFillColor": "",
  1777. "webkitTextOrientation": "",
  1778. "webkitTextSecurity": "",
  1779. "webkitTextSizeAdjust": "",
  1780. "webkitTextStroke": "",
  1781. "webkitTextStrokeColor": "",
  1782. "webkitTextStrokeWidth": "",
  1783. "webkitTransform": "",
  1784. "webkitTransformOrigin": "",
  1785. "webkitTransformOriginX": "",
  1786. "webkitTransformOriginY": "",
  1787. "webkitTransformOriginZ": "",
  1788. "webkitTransformStyle": "",
  1789. "webkitTransition": "",
  1790. "webkitTransitionDelay": "",
  1791. "webkitTransitionDuration": "",
  1792. "webkitTransitionProperty": "",
  1793. "webkitTransitionTimingFunction": "",
  1794. "webkitUserDrag": "",
  1795. "webkitUserModify": "",
  1796. "webkitUserSelect": "",
  1797. "webkitWritingMode": "",
  1798. "whiteSpace": "",
  1799. "widows": "",
  1800. "width": "",
  1801. "willChange": "",
  1802. "wordBreak": "",
  1803. "wordSpacing": "",
  1804. "wordWrap": "",
  1805. "writingMode": "",
  1806. "x": "",
  1807. "y": "",
  1808. "zIndex": "",
  1809. "zoom": ""
  1810. };
  1811. html.addEventListener = function addEventListener(type,listener){
  1812. debugger;
  1813. if(catvm.memory.html_addEventListen[type] == undefined){
  1814. catvm.memory.html_addEventListen[type] = []
  1815. }
  1816. catvm.memory.html_addEventListen[type].push(listener);
  1817. return undefined
  1818. };catvm.safefunction(html.addEventListener);
  1819. //没问题
  1820. html.getAttribute = function getAttribute(){
  1821. debugger;
  1822. return null
  1823. };catvm.safefunction(html.getAttribute);
  1824. document.documentElement = catvm.proxy(html)
  1825. var HTMLAnchorElement = function HTMLAnchorElement() {
  1826. throw new TypeError("Illegal constructor")
  1827. };
  1828. document.documentElement.__proto__ = HTMLHtmlElement.prototype;
  1829. document = catvm.proxy(document)
  1830. catvm.print.open=true;
  1831. // window.win_ts;
  1832. // window.zhiyuan;
  1833. //
  1834. // console.log(document.cookie)
  1835. // debugger;
  1836. // catvm.memory.setTimeout_func[0]() //执行定时器
  1837. function update_cookie(){
  1838. return document.cookie
  1839. }
  1840. function get_cookie(win_ts,innerjs,content){
  1841. eval(win_ts);
  1842. eval(innerjs);
  1843. window.content = content;
  1844. catvm.memory.setTimeout_func[0]()
  1845. return document.cookie
  1846. }