2025/05/20

Firefox: Prevent Google AI on web search

 grab Greasymonkey or similar

// ==UserScript==
// @name         Google Web tab redirect
// @match        https://www.google.com/search*
// @run-at       document-start
// ==/UserScript==

(function() {
    let url = new URL(location.href);
    if (!url.searchParams.has("udm")) {
        url.searchParams.set("udm", "14");
        location.replace(url.toString());
    }
})();

 

what it does: it automatically selects the "Web" option.

If tomorrow they change/remover the attribute one could simply hide it using uBlockOrigin.