Advertisement
Guest User

kalambury patent

a guest
Apr 24th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var text = $('html body #appcont #precont div div div.ctcont.cttac.ctstgs div.ctpan div.fb.nowrel');
  2. text.style.display = 'block';
  3.  
  4. function hideWord(){
  5.  if(event.keyCode == 72){
  6.     var disp = text.style.display;
  7.  
  8.     if(disp == 'block')
  9.         text.style.display = 'none';
  10.     else
  11.         text.style.display = 'block';
  12.  }
  13. }
  14.  
  15. $('html').addEventListener('keydown', hideWord);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement