Skip to content

Instantly share code, notes, and snippets.

@FabianPastor
Created October 18, 2015 03:31
Show Gist options
  • Save FabianPastor/62e373bbc7e90a49862f to your computer and use it in GitHub Desktop.
Save FabianPastor/62e373bbc7e90a49862f to your computer and use it in GitHub Desktop.
Abre todos los spoilers de mediavida
// ==UserScript==
// @name Mediavida Abrir Spoilers
// @description Abre todos los spoilers de mediavida
// @namespace FabianPastor
// @include http://www.mediavida.com/foro/*/*
// @run-at document-end
// @version 1.0.0
// @grant none
// ==/UserScript==
var i=0;
var spoilers=setInterval(function(){
$(".spoiler").not(".less").click();
if(i++>4) clearInterval(spoilers);
},2000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment