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.8KB

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