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.

ts_dev.js 683B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // browser_tag
  2. // browser_tag
  3. if (typeof(window.isonfocus) == "undefined"){
  4. window.isonfocus=true
  5. }
  6. // var isonfocus=true;
  7. window.onblur = function(){
  8. clog("onblur")
  9. isonfocus=false;
  10. }
  11. window.onfocus = function(){
  12. clog("onfocus")
  13. isonfocus=true;
  14. }
  15. function isviv(){
  16. if (localStorage.browser_tag == "Vivaldi"){
  17. clog("isviv")
  18. $("body").addClass("vivaldi")
  19. } else {
  20. clog("!isviv")
  21. }
  22. }
  23. isviv()
  24. function sv_trc(o){
  25. let cnick = ""
  26. if (o.cname == "SharedVideoManager"){
  27. cnick = "svm"
  28. } else if (o.cname == "SharedVideoContainer") {
  29. cnick = "svc"
  30. }
  31. // SharedVideoManager
  32. // SharedVideoContainer
  33. clog("sv_trc",cnick,o.fn_name,[o])
  34. }