去你妈的复制链接跳转

简书不复制跳转

  1. // ==UserScript==
  2. // @name 去你妈的复制链接跳转
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description 简书不复制跳转
  6. // @author 阿土
  7. // @require https://cdn.jsdelivr.net/npm/jquery@3.4.0/dist/jquery.min.js
  8. // @match *://*.jianshu.com/*
  9. // @match *://*.mcbbs.net/*
  10. // @grant none
  11. // @license GPL License
  12. // ==/UserScript==
  13. //<a href="https://links.jianshu.com/go?to=https%3A%2F%2Fanaconda.org%2Fbioconda%2Frepo" target="_blank" one-link-mark="yes">https://anaconda.org/bioconda/repo</a>
  14. (function() {
  15. 'use strict';
  16. $(".ouvJEz a").attr("href", function(i,origValue){
  17. console.log(origValue);
  18. return unescape(origValue.replace("https://links.jianshu.com/go?to=",""));
  19. });
  20. $(".plhin a").attr("href", function(i,origValue){
  21. console.log(origValue);
  22. return unescape(origValue.replace("https://www.mcbbs.net/plugin.php?id=link_redirect&target=",""));
  23. });
  24. // Your code here...
  25. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址