Google - AI Free Search

Adds '&udm=14' parameter to Google URLs

  1. // ==UserScript==
  2. // @name Google - AI Free Search
  3. // @description Adds '&udm=14' parameter to Google URLs
  4. // @author TheRealHawk
  5. // @license MIT
  6. // @namespace https://gf.qytechs.cn/en/users/18936-therealhawk
  7. // @include https://www.google.tld/search*
  8. // @version 1.1
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. const url = new URL(window.location.href);
  14. const udmParam = url.searchParams.get('udm');
  15. if (udmParam === null) {
  16. url.searchParams.append('udm', '14');
  17. window.location.replace(url.href);
  18. } else if (udmParam !== '2' && udmParam !== '14') {
  19. url.searchParams.set('udm', '14');
  20. window.location.replace(url.href);
  21. }
  22. })();

QingJ © 2025

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