>Hide con F2

>Hide con la tecla F2 de la fila superior.

  1. // ==UserScript==
  2. // @name >Hide con F2
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description >Hide con la tecla F2 de la fila superior.
  6. // @author Hhaz
  7. // @match http*://www.voxed.net/*
  8. // ==/UserScript==
  9.  
  10. $(document).on('keydown',function(evt) {
  11. if (evt.keyCode == 113) {
  12. $('#content').val($('#content').val()+'>Hide'); // Agrega el texto '>Hide'.
  13. $(function() {
  14. $("#comText").click(); // Cliquea el botón de Enviar.
  15. $(".icon-lock").click(); // Cliquea 'ocultar'.
  16. });
  17. }
  18. });