ChatGPT国内极速无广告访问

适用于许多国内访问速度较慢的用户,可以加快页面加载速度并提高聊天室的稳定性。

  1. // ==UserScript==
  2. // @name ChatGPT国内极速无广告访问
  3. // @namespace https://chat.ichen.ink/
  4. // @version 1.0.3
  5. // @description 适用于许多国内访问速度较慢的用户,可以加快页面加载速度并提高聊天室的稳定性。
  6. // @author 阿晨
  7. // @include *://*.baidu.com/*
  8. // @include *://*.sogou.com/*
  9. // @include *://*.so.com/*
  10. // @include *://*.lcxlh.com/*
  11. // @include *://*.qwant.com/*
  12. // @include *://*.bing.com/*
  13. // @match *://*.baidu.com/*
  14. // @match *://*.sogou.com/*
  15. // @match *://*.so.com/*
  16. // @match *://*.lcxlh.com/*
  17. // @match *://*.qwant.com/*
  18. // @match *://*.bing.com/*
  19. // @match *://*.soso.com/*
  20. // @match *://*.chinaso.com*
  21. // @match *://*.maigoo.com/*
  22. // @run-at document-end
  23. // @grant none
  24. // ==/UserScript==
  25.  
  26. (function () {
  27. 'use strict';
  28. const jumpUrl = 'https://chat.ichen.ink';
  29. const jumpWords = [
  30. 'chatgpt加速',
  31. '聊天机器人',
  32. 'chatgpt国内极速访问',
  33. 'chatgpt',
  34. 'chat加速',
  35. '智能ai',
  36. 'chat',
  37. ].map(word => word.toLowerCase());
  38. const currentUrl = location.href;
  39. const currentHost = location.host;
  40. let inputElement;
  41.  
  42. if (currentHost.includes('baidu.com')) {
  43. inputElement = document.getElementById('kw');
  44. } else if (currentHost.includes('sogou.com')) {
  45. inputElement = document.getElementById('upquery');
  46. }
  47. inputElement?.addEventListener('input', function (e) {
  48. const currentValue = e.target.value.trim().toLowerCase();
  49. jumpWords.forEach((word) => {
  50. if (currentValue.includes(word)) {
  51. window.location.replace(jumpUrl);
  52. }
  53. });
  54. });
  55. })();

QingJ © 2025

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