Make Tsumanne links open in self window

tsumanne.

  1. // ==UserScript==
  2. // @name Make Tsumanne links open in self window
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description tsumanne.
  6. // @author eggplants
  7. // @homepage https://github.com/eggplants
  8. // @include https://tsumanne.net/si/*
  9. // @include https://tsumanne.net/my/*
  10. // @include https://tsumanne.net/tj/*
  11. // @include https://tsumanne.net/my/*
  12. // @include https://tsumanne.net/sp/*
  13. // @include https://tsumanne.net/si/*/*
  14. // @include https://tsumanne.net/my/*/*
  15. // @include https://tsumanne.net/tj/*/*
  16. // @include https://tsumanne.net/my/*/*
  17. // @include https://tsumanne.net/sp/*/*
  18. // @exclude https://tsumanne.net/*/data/*/*/*/*/*
  19. // @grant none
  20. // @esversion 6
  21. // @license MIT
  22. // ==/UserScript==
  23.  
  24. /* jshint esversion: 6 */
  25.  
  26. (function() {
  27. 'use strict';
  28. Array.from(
  29. document.querySelectorAll("a[target=t]")
  30. ).map(n=>n.target="_self");
  31. })();

QingJ © 2025

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