yimuhe

hilight yimuhe download links in javlib webset

Från och med 2018-09-26. Se den senaste versionen.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         yimuhe
// @namespace    https://greasyfork.org/zh-CN/scripts/38740-yimuhe
// @version      0.6
// @description  hilight yimuhe download links in javlib webset
// @author       You
// @include      http://*.javlib.com/*
// @include      http:/*.d21b.com/*
// @grant        none
// ==/UserScript==



(function () {
	$.each($("a[href^='redirect.php?url']"),function(index,a){ 
        var host = location.host;
        a.href = decodeURIComponent(a.href.replace("http://"+host+"/cn/redirect.php?url=",""));
        a.text = a.text + "    " + a.href + "      ";
        if(a.href.includes("yimuhe")){
            $(a).parentsUntil("tr").closest('.t').css('background-color', '#6B6C83');
        }
        a.style='font-size:20px;';
    });

}) ();