nekolink

throw download link instead of ads

当前为 2021-11-02 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name nekolink
  3. // @namespace nekolink
  4. // @version 0.1
  5. // @description throw download link instead of ads
  6. // @author Reissfeld
  7. // @match https://nekolink.site/*
  8. // @icon https://www.google.com/s2/favicons?domain=nekolink.site
  9. // @run-at document-end
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. setTimeout(function(){
  16. var getLink = location.href.replace('/v/','/f/')
  17. for(var i = 0;i<10;i++){
  18. document.querySelector('a[href^="https://beshucklean.com/"]').setAttribute('href',getLink)
  19. }
  20. }, 4000);
  21. // Your code here...
  22. })();