nekolink

throw download link instead of ads

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         nekolink
// @namespace    nekolink
// @version      0.2
// @description  throw download link instead of ads
// @author       Reissfeld
// @match        https://nekolink.site/*
// @icon         https://nekolink.site/asset/default/img/favicon.ico?v=1553817714
// @run-at document-end
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    if(location.pathname.startsWith('/f/')){
        document.querySelector('#download').onclick = function(){
            setTimeout(function(){
                document.querySelector('div[style="position:fixed;inset:0px;z-index:2147483647;background:black;opacity:0.01;height:695px;width:1366px"').remove()
            }, 9000);
        }
    }else{
        setTimeout(function(){
            var getLink = location.href.replace('/v/','/f/')
            for(var i = 0;i<10;i++){
                document.querySelector('a[href^="https://beshucklean.com/"]').setAttribute('href',getLink)
            }
        }, 4000);
    }
    // Your code here...
})();