Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save danny8376/2909942248fe7f6ac354f032005ba032 to your computer and use it in GitHub Desktop.
Save danny8376/2909942248fe7f6ac354f032005ba032 to your computer and use it in GitHub Desktop.
Google utm 14 for iOS default search
// ==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);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment