Message Notify

Flash for Message/Title Edit

  1. // ==UserScript==
  2. // @name Message Notify
  3. // @namespace PXgamer
  4. // @description Flash for Message/Title Edit
  5. // @include *kat.cr/*
  6. // @include *kickass.to/*
  7. // @version 1
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. $('#wrapper').before('<style> '+
  12. '.chat-bar-new {'+
  13. ' width: 100px;'+
  14. ' height: 100px;'+
  15. ' background-color: red;'+
  16. ' -webkit-animation-name: example; /* Chrome, Safari, Opera */'+
  17. ' -webkit-animation-duration: 4s; /* Chrome, Safari, Opera */'+
  18. ' animation-name: example;'+
  19. ' animation-duration: 2s;'+
  20. ' animation-iteration-count: infinite;'+
  21. '}'+
  22. ''+
  23. '/* Chrome, Safari, Opera */'+
  24. '@-webkit-keyframes example {'+
  25. ' 0% {background-color: white;}'+
  26. ' 25% {background-color: green;}'+
  27. ' 50% {background-color: white;}'+
  28. ' 100% {background-color: green;}'+
  29. '}'+
  30. ''+
  31. '/* Standard syntax */'+
  32. '@keyframes example {'+
  33. ' 0% {background-color: white;}'+
  34. ' 25% {background-color: green;}'+
  35. ' 50% {background-color: white;}'+
  36. ' 100% {background-color: green;}'+
  37. '}'+
  38. '</style>');