// ==UserScript== // @name British Converter // @match *://*.uk/* // @match *://*.co.uk/* // @description Replaces 'cookie' with 'biscuit' on UK sites // @version 0.1 // @grant none // @namespace https://elouan.xyz/biscuit // @license MIT // @downloadURL none // ==/UserScript== (function() { 'use strict'; const hostname = window.location.hostname; if (hostname.includes(".uk")) { document.body.innerHTML = document.body.innerHTML.replace(/cookie/gi, "biscuit"); document.body.innerHTML = document.body.innerHTML.replace(/cookies/gi, "biscuits"); } })();