Skip to content

Instantly share code, notes, and snippets.

@anna-oake
Created December 3, 2025 12:59
Show Gist options
  • Select an option

  • Save anna-oake/9d82df0e2b200fd4f210d7d08d3ba97a to your computer and use it in GitHub Desktop.

Select an option

Save anna-oake/9d82df0e2b200fd4f210d7d08d3ba97a to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Tap Strip
// @version 1.0
// @match *://apple.com/*
// @match *://*.apple.com/*
// @run-at document-end
// @grant none
// ==/UserScript==
(function () {
"use strict";
const word1 = [
"Tap",
"Magic",
"Finger",
"Tickle",
"Poke",
"Swipe",
"Gesture",
"Pixel",
"Touch",
"Fidget",
"Function",
"Command",
"Button",
"Control",
"Glass",
"Tappy"
];
const word2 = [
"Bar",
"Strip",
"Rail",
"Shelf",
"Line",
"Row",
"Band",
"Ribbon",
"Screen",
"Keys",
"Lane",
"Ledge",
"Slab",
"Zone",
"Edge"
];
function randomFrom(arr) {
return arr[Math.floor(Math.random() * arr.length)];
}
const replacementName = `${randomFrom(word1)} ${randomFrom(word2)}`;
document.documentElement.innerHTML =
document.documentElement.innerHTML.replace(/Touch Bar/g, replacementName);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment