Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1.  
  2. /*
  3. $("#messages").bind("DOMSubtreeModified", function() {
  4. var msgD=$("#messages > ol > li:nth-child(1) > span").split(" ");
  5. console.log("Got first msg");
  6. for(i=0; i<bydloMsg.length();i++){
  7. console.log("searching in bydlo messages"+i);
  8. for(j=0; j<msgD.length;j++){
  9. */
  10.  
  11. /*
  12. console.log("searching in text"+j);
  13. if( msgD[j]==bydloMsg[i]){console.log("found bmsg");disconnectButton.click();}
  14. }}});
  15. $("#messages").bind("DOMSubtreeModified", function() {
  16. var disconnectButton = $("#chat_close");
  17. if( $("#messages > ol > li:nth-child(1) > span").text()=="М"){disconnectButton.click();}
  18. });
  19. */
  20. alert('id='+Math.floor(Math.random()*198047774)+'end')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement