You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

conn.native.js 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. import _ from 'lodash';
  2. function nop(){}
  3. window.nop = nop
  4. window.oclog = console.log
  5. window.clog = console.log
  6. window._ = _
  7. window.glob_vhook = {
  8. nodes:{},
  9. rndr_nodes:{},
  10. }
  11. clog("CONN.NATIVE")
  12. window.trc_vs += "_conn_"
  13. console.log("zzzzz?//////////////////\n")
  14. {
  15. // var host_tmp="jinnace.com"
  16. var host_tmp="vb.videocorners.com"
  17. var host=host_tmp
  18. window.glob_const = {
  19. host:host_tmp,
  20. full:`https://${host_tmp}`,
  21. origin:`https://${host_tmp}`,
  22. }
  23. }
  24. function rexe(file) {
  25. var mlog = clog
  26. if (typeof(file) == "string"){
  27. file = {
  28. // url:file||"https://jinnace.com/ign/rf/av_shared/xf.js",
  29. url:file,
  30. }
  31. }
  32. var url = file.url
  33. var xhttp = new XMLHttpRequest();
  34. xhttp.onreadystatechange = function() {
  35. if (this.readyState == 4 && this.status == 200) {
  36. try {
  37. var mlog0 = mlog
  38. var mx = eval(this.responseText)
  39. mlog(mx)
  40. } catch (err){
  41. mlog("EVL ERR")
  42. mlog(err +"")
  43. }
  44. // global
  45. // fn1()
  46. // send_ws_event("ajx",{responseText:this.responseText})
  47. // document.getElementById("demo").innerHTML = this.responseText;
  48. }
  49. };
  50. xhttp.open("GET", url, true);
  51. xhttp.send();
  52. }
  53. // C:\bspace\repos\jc4\ign4\j8\ac0\rld\r0.js
  54. // proto_ext.js?c=00x
  55. // https://av.videocorners.com/ign/rf/u/proto_ext.js?c=00x
  56. rexe(`${glob_const.full}/ign/j8/ac0/rld/mrld.js`)
  57. rexe(`${glob_const.full}/ign/j8/ac0/rld/r0.js`)
  58. rexe(`${glob_const.full}/ign/rf/u/proto_ext.js`)
  59. // ign/xf/inspect/owalk.js
  60. // rexe(`${glob_const.full}/ign/xf/inspect/owalk.js`)
  61. // rexe(`${glob_const.full}/ign/xf/inspect/owalk2.js`)
  62. // rexe(`${glob_const.full}/ign/xf/inspect/owalk3.js`)
  63. // rexe(`${glob_const.full}/ign/xf/inspect/owalk4.js`)
  64. // rexe(`${glob_const.full}/ign/xf/inspect/owalk5.js`)