Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var text = $('html body #appcont #precont div div div.ctcont.cttac.ctstgs div.ctpan div.fb.nowrel');
- text.style.display = 'block';
- function hideWord(){
- if(event.keyCode == 72){
- var disp = text.style.display;
- if(disp == 'block')
- text.style.display = 'none';
- else
- text.style.display = 'block';
- }
- }
- $('html').addEventListener('keydown', hideWord);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement