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

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