#Touhou Attribution #Userscript update: (1) Album soundtrack data is preloaded and cached, it's no longer calling one API per track. (2) Switched from Notification() to GreaseMonkey's GM.notification(), so I don't have to approve Notification on a million Bandcamp subdomains. The funny monkey icon is also a plus during development. ​
I finally understand why I keep getting mysterious undefined variable errors in my Userscript - the top-level Userscript and the injected in-page monkey-patch script run in different environments. The correct solution is to pass messages from the page to the top-level Userscript. I now have a fully-functional and super-overkilled #Userscript powered by OOP, npm, and webpack. ​

Hab ein UserScript für die Firefox-Erweiterung GreaseMonkey geschrieben, das im 39C3 Fahrplan Security Talks filtern kann.

P.S. Die zwei Menüs habe ich nicht synchronisiert.

https://addons.mozilla.org/de/firefox/addon/greasemonkey/

https://greasyfork.org/de/scripts/558148-39c3-fahrplan-event-filter

https://fahrplan.events.ccc.de/congress/2025/fahrplan/
#39c3 #userScript #Greasemonkey #Tampermonkey #Fahrplan #ccc

SoundCloud - Auto Redirect to now playing song!

Auto-jump to the now playing track on SoundCloud.

#BitWarden has now irritating zero delay and zero helpful tool tips. I use the #Firefox add-on. With this #userScript you can disable these tool tips. Don't think the overlay is used for anything else.

#Mastodon #MastodonTools #виброкодинг #userscript #NeuralNetwork #Grok #ЯСделяль

Вотх, навиброкодил с помощью Grok (гопота не осилила, заковырявшись в простейшем алгоритме) юзерскрипет для #tampermonkey.

Алгоритм примерно такой: если вы смотрите на пост больше секунды (настраивается) — при прокрутке за границы экрана он скрывается.

Добавляется кнопочка показа / скрытия просмотренных постов.

ID 1000 последних постов запоминаются в локальном хранилище (после перезагрузки страницы всё равно не видны).

Потратил на пинание искусственных идиотов более шести часов (!). Подозреваю, что если бы знал жаваскрипт, управился бы за полтора, но поскольку кроме меня эта идея никому не пришла... Имеем то, что имеем. Пользуйтесь.

Userscript для скрытия просмотренных постов.

GitHub - Johan-foreva/Mastodon-Hide-Read-Posts: Hide posts after reading, persistent storage, toggle button in drawer

Hide posts after reading, persistent storage, toggle button in drawer - Johan-foreva/Mastodon-Hide-Read-Posts

GitHub
Это, блядь, нормально, что я ни в одном поисковике не могу найти #userscript для отображения древовидных каментов в #Mastodon, ни в репозиториях предположительной автор(ки), ни по строкам кода ваще? Он у меня что ли только остался в единственном экземпляре во всём ебучем интернете? 😲

YouTube có script nguồn mở nhỏ giúp chặn video xem trước tự động phát (thumbnail động, trailer kênh) trên mọi trang. Cài qua Tampermonkey, Violentmonkey. Giúp trải nghiệm xem YouTube đỡ phân tâm!

#YouTube #opensource #userscript #privacy #tiendung #nguonmo #congnghe

https://www.reddit.com/r/opensource/comments/1ozx4hn/youtube_block_autoplay_preview_thumbnail_channel/

There's a lot of hate for the new #BOM page, but having used the beta version for ages I'm not feeling it personally. One gripe I do have is that the price tag didn't include a dark mode setting. Really?
Since I use the #DarkReader extension for #Librewolf it's not a huge issue, except that the page has background mages that make it unreadable in dark mode. So it looks like the before picture. So I got out the screwdriver, took the back off and jiggled some wires. So if anyone wants a #userScript that fixes bom.gov.au for Darkreader it's at https://codeberg.org/stib/userscripts/src/branch/main/bom_no_BG.user.js
#IMadeAThing #HackTheWeb

Hey #webdev thing-knowers, I'm writing a userscript for the bom.gov.au site that removes the background image on part of the page, because it doesn't play well with Darkreader. The image is set with an inline style tag: `<div style="background-image: url(&quot;/themes/custom/bom_theme/bom-react/dist/weather-moods/showers-day.webp&quot;), ...`
I'm just brute-forcing the style to nothing, using this script:
```(function() {
'use strict';
let mood = document.getElementsByClassName("weather-mood")[0];
mood.style = "";
})();```

It works at first, but then the page seems to do some post loading thing, and the style gets reverted. The userscript is set to run once the page is idle using `//@run-at = document-idle`.
Is there a way to override the style once the page refreshes itself?
#userScript #bom #DarkMode