NGA domain redirect

Automatically redirect NGA domains to bbs.nga.cn

  1. // ==UserScript==
  2. // @name NGA domain redirect
  3. // @name:zh-CN NGA 域名重定向
  4. // @namespace nga-redirect
  5. // @version 2025.01.30
  6. // @description Automatically redirect NGA domains to bbs.nga.cn
  7. // @description:zh-CN 自动重定向 NGA 域名到 bbs.nga.cn
  8. // @author Amelia
  9. // @license MIT
  10. // @run-at document-start
  11. // @match *://g.nga.cn/*
  12. // @match *://nga.178.com/*
  13. // @match *://ngabbs.com/*
  14. // @match *://ngacn.cc/*
  15. // @icon https://bbs.nga.cn/favicon.ico
  16. // @grant none
  17. // ==/UserScript==
  18.  
  19. (function() {
  20. 'use strict';
  21.  
  22. if (location.hostname != "bbs.nga.cn") {
  23. window.location.hostname = "bbs.nga.cn";
  24. }
  25. })();

QingJ © 2025

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