Skip to content

Instantly share code, notes, and snippets.

@vekvoid
Last active October 11, 2015 10:26

Revisions

  1. vektrom renamed this gist Oct 11, 2015. 1 changed file with 0 additions and 0 deletions.
  2. vektrom created this gist Oct 11, 2015.
    19 changes: 19 additions & 0 deletions SeriesYonkisEpisodesLinks
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    // ==UserScript==
    // @name seriesyonkis.sx episodes Links
    // @namespace https://github.com/vektrom/
    // @version 0.1
    // @description Create normal links in seriesyonkis.sx chapters.
    // @author Vektrom
    // @match *://www.seriesyonkis.sx/serie/*
    // @grant none
    // ==/UserScript==

    $(function() {
    var $episodeLink = $('.episode-title a.episodeLink');

    $episodeLink.each(function() {
    var $this = $(this);
    $this.attr('href', $this.attr('link')).attr('target', '_blank').removeClass('p1');
    });

    });