Google utm 14 for iOS default search

Try to add utm 14 for google search only for iOS default search engine

// ==UserScript==
// @name         Google utm 14 for iOS default search
// @namespace    http://saru.moe/
// @version      2025-07-03
// @description  Try to add utm 14 for google search only for iOS default search engine
// @author       DannyAAM
// @license      MIT
// @match        https://www.google.com/search*
// @icon         https://www.gstatic.com/images/branding/searchlogo/ico/favicon.ico
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    const url = new URL(window.location.href);
    if (url.searchParams.get("client") != "safari") return;
    if (url.searchParams.get("udm")) return;
    url.searchParams.set("udm", "14");
    window.location.replace(url);
})();