koc chatv2

tester

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greatest.deepsurf.us/scripts/534027/1596714/koc%20chatv2.js

  1. Tabs.kocchat = {
  2. tabOrder : 8001,
  3. tabLabel : 'Koc Chat',
  4. tabColor : 'blue',
  5. myDiv : null,
  6. Options : {
  7. Counter : 0,
  8. },
  9. init : function (div){
  10. var t = Tabs.kocchat;
  11. t.myDiv = div;
  12. if (!Options.kocchat) {
  13. Options.kocchat = t.Options;
  14. }
  15. else {
  16. for (var y in t.Options) {
  17. if (!Options.kocchat.hasOwnProperty(y)) {
  18. Options.kocchat[y] = t.Options[y];
  19. }
  20. }
  21. }
  22. },
  23. hide : function (){
  24. var t = Tabs.kocchat;
  25. },
  26. show : function (){
  27. var t = Tabs.kocchat;
  28. var m = 'http://koc-chat.chatango.com/';
  29. t.myDiv.innerHTML = '<iframe src="' + m + '" style="width:100%; height:500px; border:none;"></iframe>';
  30. },
  31. }
  32.