您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
throw download link instead of ads
当前为
- // ==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...
- })();