Empornium Show All Spoilers

Show all spoilers on the page all the time

  1. // ==UserScript==
  2. // @name Empornium Show All Spoilers
  3. // @description Show all spoilers on the page all the time
  4. // @version 1.2
  5. // @author Monkeys
  6. // @namespace empornium.me
  7. // @include *.empornium.me/torrents.php?id=*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12. (function(){
  13.  
  14. var spoilers = document.getElementsByClassName('spoiler');
  15. while (spoilers.length > 0)
  16. {
  17. spoilers[0].className = ''; //spoilers updates every time, so [0] is always the next class
  18. }
  19. })();