#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 😉

In the last year I've more intensively used the Scouts NSW "ScoutHub" member management system, backed by Revolutionise.com.au.

There is a lot of things missing which would make the life of every leader in Scouts NSW happier, and in the last two weeks I've dived into Greasemonkey/Tampermonkey again to regain these features.

If you look at https://greasyfork.org/en/scripts?q=scouthub, you will see four scripts now:

- Two to add the age in years and months of the members to the overviews, instead of only years.

- One to also show the members who did not yet respond to an event invitation (long story, serious lack of functionality in the product, everybody is complaining about it)

- One to remove cruft from events pages when you print them.

The revolutionise backend generates none of the HTML elements with an id attribute, so I'm afraid I will be back in the future counting elements.............

#scouts #scoutsnsw #scouthub #revolutionise #greasemonkey #tampermonkey

User scripts

@marcogom Have you tried blocking the tab entirely with #uBlock or something similar? That's what I've been doing haha. Or maybe you could swap them with #Tampermonkey or such.