mastodon.green is one of the many independent Mastodon servers you can use to participate in the fediverse.
Plant trees while you use Mastodon. A server originally for people in the EU, but now open for anyone in the world

Administered by:

Server stats:

1.2K
active users

#greasemonkey

1 post1 participant0 posts today

[FR]
Arrivée ici début 2025, big up aux @admin de Piaille.fr ! #introduction :
Tombée dans la marmite #OpenSource en 2000, je me nourris de commandes #bash. Fichiers texte, #grep et ses jolies #regex, #ansible, #git, #greasemonkey, les tests auto et la supervision sont tes amis.
Cordes frottées, grattées et frappées, sons soufflés, chantés ou beatboxés, sons électro ou scratchés me touchent. Rien de tel qu'une bonne soirée à jammer / à enregistrer pour un beatmaker / à débarquer sur scène pour accompagner quand il manque un instrumentiste / à repiquer des morceaux entiers sur papier à l'ancienne / à improviser avec les enfants
Engagée #AMAP et pro #CNV

Das #ZDF hat seine #Mediathek und URLs aktualisiert.

Daraufhin habe ich jetzt mein #Greasemonkey Skript aktualisiert, mit dem man den ZDF-Player per #Tastatur steuern kann:

greasyfork.org/de/scripts/4603

Beispiel für ein Video, das mit dem #UserScript funktioniert:
zdf.de/play/shows/bares-fuer-r

Cursortasten links / rechts: 10 Sekunden zurück und vorspringen.
p - play oder pause
f - full screen

greasyfork.orgZDF Player With KeyboardPress cursor to skip some seconds back and forth, f fullscreen, p play

Here we go, a very quick-and-dirty userscript for greasemonkey to hide posts in friendica that are filtered...

```
// ==UserScript==
// @name Friendica hide filtered items
// @version 1
// @grant none
// @include friends.chasmcity.net/*
// ==/UserScript==


var snapResults = document.evaluate("//div[@class='media shiny']/div/div/p[starts-with(normalize-space(.),'Filtered by rule: ')]/../../..",
document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = snapResults.snapshotLength - 1; i >= 0; i--) {
var elm = snapResults.snapshotItem(i);
// do stuff with elm
elm.style.display = "none";
}
```

Gah. Failed at downloading Kindle books.

After a small struggle to get #Greasemonkey on Firefox and then look up how to install a script not-from-a-website*, it says the script is loaded, and active on the page, but nothing happens.

Time for a large pot of tea, methinks.

* Yes, I've done it before but that was nearly 20 years ago and Things have Changed.

I hate when the track artist gets scrobbled instead of the album artist. Bilmuri does a bunch of collabs with people so the songs always scrobble as "Bilmuri + Knox", "Bilmuri + Hardy", rather than just Bilmuri. So those scrobbles don't count towards my total listens for Bilmuri.

I found a Greasemonkey script that adds a bulk edit button to my Last.fm library. It lets me edit those collabs and edits them going forward too, so now they all count as just Bilmuri.

NOTE: You do need Last.FM Pro for the ongoing automatic edits feature.

github.com/RudeySH/lastfm-bulk

GitHubGitHub - RudeySH/lastfm-bulk-edit: Bulk edit your scrobbles for any artist, album or track on Last.fm at once.Bulk edit your scrobbles for any artist, album or track on Last.fm at once. - RudeySH/lastfm-bulk-edit

Hab grad versucht eine #SAP #Weboberfläche mit einem #UserScript zu automatisieren.

SAP benutzt dynamische iFrames - muss man erst mal die richtige URL des Frames rausfinden.

Dann mit #Javascript dynamisch generierte Elemente im Frame, so dass das UserScript mit setInterval pollen muss.

Und dann benutzen die Identifier für Tabellenzellen, die sich beim Scrollen ändern!!! Eindeutige IDs - DIE SICH BEIM SCROLLEN ÄNDERN!!! 🤬🤬🤬

Replied in thread

@kuketzblog Beim Beispiel heise (bewusst nicht getagged) als IP-Trackerschleuder bin ich etwas ins Grübeln gekommen.
Adblock geht nicht, da die Einbindung während der Laufzeit geschieht. Also habe ich ein bisschen gesucht und bin auf #Tampermonkey gestoßen. Für heise habe ich ein Script erstellt, dass per Observer das Banner zur Laufzeit entfernt (ohne Zustimmung zum Banner).
pastebin.com/LqWxxQLj

Für #Firefox gibt es auch die #opensource Alternativen #Greasemonkey und #Violentmonkey.

Pastebintampermonkey script - heise.de - remove consent elements - Pastebin.comPastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Some time ago, something about the Embracer Group collapse and the Microsoft acquistion of ActiBlizzard left a rotten taste in my mouth, and I have since wanted a plugin that would effectively "hide" certain games from #Steam.

Months later, I finally took the time to write it up and make a #Greasemonkey script for it. It's a script to disable the purchase buttons on games from publishers with less-than-ideal reputations. Hope somebody else finds this useful.

github.com/sleibrock/steam-fil

GitHubGitHub - sleibrock/steam-filter-crappy-publishers: Blacklist and filter games published by crappy companies.Blacklist and filter games published by crappy companies. - sleibrock/steam-filter-crappy-publishers

Please #help with #CSS and/or #JavaScript. Using #GreaseMonkey #ViolentMonkey #TamperMonkey to change web page fonts to something I find much more legible but wanting to provide character fallback to the fonts specified on the site in the case they're using glyphs not ordinarily available (FontAwesome icons for example). How would I go about this? I know I can specify:

GM_addStyle (`* { font-family: Atkinson Hyperlegible, Sans-Serif !important; }`);

But this doesn't provide fallback to the fonts specified on each site.