jet.txt

(3 KB) Pobierz
jetpack.statusBar.append({
  html: "Boom<i>!</i>",
  width: 45,
  onReady: function(widget){
    $(widget).click(function(){
      $.each(jetpack.tabs, function(i) {
                doc = $(jetpack.tabs[i].contentDocument);
                doc.find("embed").each(function() {
                   jetpack.notifications.show($(this).attr("src"));
                });
            });
        
       

    });
  }
});



/////////////////////////////////////
jetpack.statusBar.append({
  html: "Boom<i>!</i>",
  width: 45,
  onReady: function(widget){
    $(widget).click(function(){
      
                doc = $(jetpack.tabs.focused.contentDocument);
                doc.find("embed").each(function() {
                   jetpack.notifications.show($(this).attr("src"));
                });
           
        
       

    });
  }
});

///////////////////////////////

jetpack.statusBar.append({
  html: "Boom<i>!</i>",
  width: 45,
  onReady: function(widget){
    $(widget).click(function(){
      
                doc = $(jetpack.tabs.focused.contentDocument);
               
                   jetpack.notifications.show( doc.find("embed").attr("src"));
               
           
        
       

    });
  }
});
////////////////////////////////////

jetpack.statusBar.append({
  html: "Boom<i>!</i>",
  width: 45,
  onReady: function(widget){
    $(widget).click(function(){
      
                doc = $(jetpack.tabs.focused.contentDocument);
                var Wyrazenie = /megavideo/;
                text = doc.find("embed").attr("src");
                text = text.replace("megavideo","megaporn");
                doc.find("embed").attr("src",text);
                doc.find("param").attr("value",text);
                jetpack.notifications.show(text);
        
       

    });
  }

/////////////////////////////
<object width="640" height="480"><param name="movie" value="http://www.megavideo.com/v/VWSY06DOdcb98295a0f92a697974c052deff0f32"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.megavideo.com/v/VWSY06DOdcb98295a0f92a697974c052deff0f32" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="480"></embed></object>
jetpack.tabs.OnFocus(function() {
      
       var doc = jetpack.tabs.focused.contentDocument;
       $(doc).find("body").prepend("aaa");
      }); 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


jetpack.statusBar.append({
  html: "Boom<i>!</i>",
  width: 45,

  onReady: function(widget){
    $(widget).click(function(){
       jetpack.tabs.open();
       jetpack.tabs.focus();
      
    });

  jetpack.tabs.onFocus(function() { 
      var doc = jetpack.tabs.focused.contentDocument;
      $(doc).find("body").prepend("aaa");
  });

  }
});

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

jetpack.statusBar.append({
  html: "<input type=button value=dodaj>",
  width: 100,

  onReady: function(widget){
    var d = false;
    $(widget).click(function(){
       d = true;
       jetpack.tabs.open();
       jetpack.tabs[jetpack.tabs.length-1].focus();
      
    });

  jetpack.tabs.onReady(function() {
      if (d ==true)
      {
      var doc = jetpack.tabs.focused.contentDocument;
      $(doc).find("body").prepend("Witamy!");
      d = false;
      }
  });

  }
});
Zgłoś jeśli naruszono regulamin