@doeidag Nog een ideetje voor #DoeiDag
Het is een onbegonnen zaak om iedereen die een website heeft over te halen om te linken naar #OpenStreetMap i.p.v. Google.
Maar met #GreaseMonkey https://www.greasespot.net/ of #TamperMonkey https://www.tampermonkey.net/ kun je zelf webpagina's aanpassen.
Onderstaand script veranderd links naar Google route beschrijvingen naar OpenStreetMap routes:
Suggesties, verbeteringen en ander commentaar welkom.

// ==UserScript==
// @name OSM Directions
// @namespace http://technetium.be
// @version 1.4
// @description Replaces the links to GoogleDirections to OpenStreetMap directions
// @author technetium
// @match *://*
// ==/UserScript==

(function() {
'use strict';

function main() {
window.addEventListener('click', function(e) {
if ('A' != e.target.tagName) { return; }
if (e.target.href.startsWith('https://maps.google.com/maps?f=d')) {
e.preventDefault();
const orig = e.target.href.replace(/.*saddr=/, '').replace(/%20.*/, '');
const dest = e.target.href.replace(/.*daddr=/, '').replace(/%20.*/, '');
location.href = 'https://www.openstreetmap.org/directions?route='+orig+'%3B'+dest;
}
});
}
main();
})();

Greasespot

The weblog about greasemonkey

Sigh, Tampermonkey adding MCP support was not on my bingo card.
Time to find a replacement.

"Model Context Protocol (MCP) support for AI tools
Note: requires Tampermonkey Editors browser extension (Firefox|Chrome) and a user action to enable it"

https://www.tampermonkey.net/changelog.php?locale=en&show=fire#v5.5.0

#Tampermonkey

Changes | Tampermonkey

Changes

#userscript #Tampermonkey #виброкодинг #addons #типографика #ТакЛучше

Вот, кстати, по поводу вот этого скриншота: у меня стоял какой-то аддон для включения переносов, который делал «This extension consists of CSS hyphens code converted into javascript so pages are injected with hyphens». — И это не очень правильно, потому что попячивал и заголовки тоже. #ChatGPT предложил замену:

// ==UserScript==
// @name Smart Hyphenation by ChatGPT
// @namespace local
// @version 1.0
// @description Adds sane hyphenation to text content
// @match *://*/*
// @grant none
// @run-at document-start
// ==/UserScript==

(function () {
'use strict';

const style = document.createElement('style');

style.textContent = `
/* Основной текст */
p,
li,
blockquote,
article,
section,
div {
hyphens: auto !important;
-webkit-hyphens: auto !important;
overflow-wrap: break-word;
}

/* Не ломаем заголовки */
h1, h2, h3, h4, h5, h6 {
hyphens: manual !important;
-webkit-hyphens: manual !important;
}

/* Не трогаем интерфейс */
button,
input,
textarea,
select,
nav,
menu,
.menu,
.button,
.btn {
hyphens: manual !important;
-webkit-hyphens: manual !important;
}

/* Код и pre никогда не переносим */
code,
pre,
kbd,
samp {
hyphens: none !important;
-webkit-hyphens: none !important;
overflow-wrap: normal !important;
word-break: normal !important;
}

/* Таблицы часто ломаются */
table,
th,
td {
hyphens: manual !important;
-webkit-hyphens: manual !important;
}
`;

document.documentElement.appendChild(style);
})();

Пользовайтесь 😉

Just dropped a #Tampermonkey script that hides non-media posts in your Lists on #mastodon. An absolute wonder for people who follow a lot of artists.

Works real well for me on my instance on #MacOS for #Firefox, but please test.

...Should probably include a link, huh?
https://github.com/Shanesan/tampermonkey-mastodon-lists-imageonly

🚀 Level up your experience with Fellow Enhanced!

Complete UI overhaul for a faster, sleeker, and modern look:
💎 Liquid Dark Mode
📊 Interactive User Dashboard
💬 Revamped Chat Architecture
⚙️ Multiskin (Romeo, Tinder, Scruff styles)
🔐 Local-first Privacy

https://www.patreon.com/posts/157119585

#OpenSource #Tampermonkey #UserScript #WebDesign #UXUI #DarkMode #Frontend #Javascript #Coding #IndieDev #WebDev #Tech

X to Nitter Redirect

In the last few months, I’ve intermittently seen colleagues at work mention in Slack that they can’t view tweets because they don’t have a X (née Twitter) account. I also learned that XCancel and Nitter exists, which gave me the idea to make a Tampermonkey script to make viewing tweets within XCancel automatic (instead of copying the tweet URL, then manually changing the domain…like an animal). 😆 Here’s the description from the GitHub repo: [X to Nitter Redirect is a] […]

https://allnarfedup.blog/2026/04/24/x-to-nitter-redirect/

X to Nitter Redirect

In the last few months, I’ve intermittently seen colleagues at work mention in Slack that they can’t view tweets because they don’t have a X (née Twitter) account. I also learned that XCancel and N…

All Narfed Up

Use Tampermonkey to play sounds when LeetCode tests pass.

#tampermonkey #chrome #leetcode

@johan I was thinking of #tampermonkey too. Don't know about a #fediverse connection though.

Ah, #noob mistake: need to look into #tampermonkey

Is there a #tampermonkey community in the #fediverse? Who to follow?

#indieweb #malleable

@FediTips

You can go further if you use the web interface + #Tampermonkey #userscripts. You can catch literally any unwanted posts according to the criteria that you set yourself. Yes, this is not at the server level, but just filtering in your view, crooked, askew, but it works 😉