And here we have the script to focus on the search field for
@LandesarchivBW
https://github.com/FlominatorTM/greasemonkey/blob/main/Landesarchiv-BW.js
And here we have the script to focus on the search field for
@LandesarchivBW
https://github.com/FlominatorTM/greasemonkey/blob/main/Landesarchiv-BW.js
I was too annoyed by having to click the search field at @LEOBW every time I visit the site before being able to write my search term. Therefore I created a #GreaseMonkey script, that will automatically click the search field when visiting the site, so I could type right away, without my hands having to leave keyboard. Probably next: @LandesarchivBW
https://github.com/FlominatorTM/greasemonkey/blob/main/LEO-BW.js
Neues Userscript: **Mastodon Hide Interacted Posts**
Blendet Beiträge aus, die ihr schon geliked oder
geboostet habt – automatisch & mit UI-Schalter (persistierend). Hilft bei Fokus & Übersicht, v. a. bei Endlos-Scroll.
Feedback willkommen und erwünscht!
So halte ich im #Browser meine #MultiColumn-Ansicht clean und sauber:
Wenn eine Spalte gelesen, dann einfach auf den Tropfen drücken und die Spalte ist leer.
From left to right: #violentmonkey #greasemonkey #firemonkey #tampermonkey
You can read more about all the differences between #userscript managers here: https://erosman.github.io/firemonkey/src/content/help.html
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:
https://greasyfork.org/de/scripts/460318-zdf-player-with-keyboard
Beispiel für ein Video, das mit dem #UserScript funktioniert:
https://www.zdf.de/play/shows/bares-fuer-rares-104/bares-fuer-rares-vom-18-maerz-2025-100
Cursortasten links / rechts: 10 Sekunden zurück und vorspringen.
p - play oder pause
f - full screen
I guess this is the perfect time for some self-promotion.
#amazon is removing the possibility of downloading _your_ #kindle books on February 26th.
I wrote a simple #tampermonkey script a few years ago to help in backing up my books.
It does this by utilizing the *Download & transfer via USB* feature.
In case you have a few books you want to back up before the deadline, here is a writeup, with a video and my github repository.
I bought some hard drives from #Newegg yesterday and once again fell into the trap of forgetting to uncheck the subscribe checkbox they check by default and starting to get #spam from them within minutes of checking out.
No more! Now #Tampermonkey will uncheck the box for me:
https://blog.kamens.us/2025/02/11/tampermonkey-script-no-newegg-i-dont-freakin-want-to-subscribe/
@didathingclub #DidAThingClub #DarkPatterns
I got tired of Google Contacts sending me to Gmail when I clicked on an email link instead of opening a new message in my default email app, so I wrote a #TamperMonkey script to fix it:
https://blog.kamens.us/2025/02/02/tampermonkey-script-to-un-gmail-google-contacts/
#DidAThingClub @didathingclub
For those of you who use Google Contacts but not Gmail and don't want Contacts to open a Gmail compose window when you click on an email address for one of your contacts, I have a solution:
https://blog.kamens.us/2025/02/02/tampermonkey-script-to-un-gmail-google-contacts/
#FOSS #Google #GoogleContacts #Gmail #Tampermonkey
Tampermonkey script to un-Gmail Google Contacts
When you click on a contact’s email address in the Google Contacts web app, instead of opening a new draft in your default email app with the “To” field populated with that email address, which is what it should do, Google Contacts opens a Gmail compose window.
I hate this behavior. While I do have a Gmail account, it is not my default email account, and I hardly ever use it. I want email addresses in Google Contacts to do what they do on every other web page: open a new draft in my default email app.
So I wrote a Tampermonkey script to implement that behavior. You can find it here. And the code is also below, in case you prefer to just copy and paste it from here.
Share and enjoy!
// ==UserScript==// @name un-Gmail Google Contacts// @copyright Copyright 2025 Jonathan Kamens// @license GPL// @namespace http://tampermonkey.net/// @version 2025-02-03// @description change gmail links in Google Contacts to mailto: links// @author Jonathan Kamens <jik@kamens.us>// @match https://contacts.google.com/*// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com// @grant none// ==/UserScript==// Instead of displaying email addresses as mailto: links as it rightfully// should, the Google Contacts web app sends you to Gmail when you click on// them. This script changes the email addresses back into mailto: links so// that when you click on them they open in your configured email app.//// Uses a mutation observer because the Contacts app dynamically inserts content// into the page after the browser thinks the page is finished loading.(function() { 'use strict'; let callback = (mutationList, observer) => { let addresses = document.evaluate( "//span[starts-with(@href,'mailto:') or " + "starts-with(@data-href,'mailto:')]", document); let addressElement; while (addressElement = addresses.iterateNext()) { let href = addressElement.getAttribute("href") || addressElement.getAttribute("data-href"); let addressString = href.substring(7); let anchor = document.createElement("a") anchor.setAttribute("href", `mailto:${addressString}`); anchor.innerText = addressString; addressElement.replaceWith(anchor); } }; let observer = new MutationObserver(callback); observer.observe(document, {subtree: true, childList: true});})();
#today I need to call #Alpinestars about buying a spare pair of batteries for my heated gloves so I can use them on longer winter #motorcycle trips. I know where on their website their c.s. phone number is located, so I visit the site to look it up.
The site was working fine yesterday, but unfortunately today it's reloading over and over ad infinitum without fully displaying, so the phone number is inaccessible.
#tech #WebDev #curl #TamperMonkey #BurpSuite (hashtag foreshadowing!)1/8
Holy I just discovered you can drag scripts into #TamperMonkey from the finder to install them. It'll open up a preview window where you can click install / cancel.
As a geek, it's my go-to tool for fixing large font #accessibility issues.
Ihr braucht die Browsererweiterung #Tampermonkey um Javascript in die #Amazon Seite einzuschleusen. Diese gibt es für alle Desktop Browser und Firefox auf dem #Android Smartphone.
https://www.tampermonkey.net/faq.php#Q406
Wenn ihr die Tampermonkey Erweiterung installiert habt, könnt ihr die Skripte über diese Links installieren:
I've just released a user-script that fixes the issue of Firefox (sometimes) not displaying Chinese text in the right font:
https://greasyfork.org/en/scripts/514177-improve-chinese-text-on-firefox
Ich habe ein #tampermonkey #Skript erstellt, mit dem ich in der #Mastodon-Webui einzelne gelesene #Spalten mit einem Klick (oben in der Menüleiste) leeren kann.
Before and after. I'm happy to report that I sill know enough CSS to take a page that has a fetish for lovely design over quantity of content and update it to favour content instead.
Best part is this works well with three or four feed columns.
User scripts for the win!
#Tampermonkey to the rescue.
GM.xmlHttpRequest({But that's more of a workaround. E.g. I don't always have "my" browser with me
method: 'GET',
url: 'https://codeberg.org/voron/snac-style/raw/branch/master/modern-dark.css',
onload: function(response) {
if (response.readyState == 4 && response.status == 200) {
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = response.responseText;
document.getElementsByTagName('style')[0].replaceWith(style);
}
}
});