#userscript — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #userscript, aggregated by home.social.
-
EvaTeam Workflow Enhancer — userscript для нормального отображения процессов
Сталкивались уже с EvaTeam (российский аналог Jira)? Чувствуете боль при работе с бизнес-процессами (workflow)? Думаю я могу вам немного помочь
https://habr.com/ru/articles/1015656/
#userscript #userscripts #tampermonkey #greasemonkey #eva #evateam #workflow #svelte #sveltejs #sveltekit
-
#fediverse_ppl #смищно #Firefox #addons #ТрудностиПеревода #NeuralNetwork #userscript #Mastodon #MastodonTools
Лол, кек. Удивительно непонятное, но от этого иещеболее занятное взаимодействие переводчика, который (каюсь, грешен) иногда включаю в ленте, и юзерскрипта, чтобы комментировать кого-то вот прямо в ленте.
В комментарии — только 🚫 🤖— как напоминание о том, что @iron_bug не приемлет генерацию. Уважаю, позывы сдерживаю. Откуда берется такая интерпретация — совершенно непонятно. Пробовал добавлять тот же комментарий другим пользователям — не работает.
P.S. Сейчас у кого-то, кажется, подгорит на тему «мои посты отправляются на сервера гугла без моего ведома, а я всего-то хотела посрать на площади, прикрываяь ладошкой».
Блок через 5-4-3-2...
-
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.
-
I give up! I tried everything I could think of to put the embedded (in an #iframe) #vhx / #VimeoOTT video player in #fullscreen #programatically (without a click or keypress) in a #userscript via #FireMonkey and either the script is blocked by #CORS or the fullscreen request fails or nothing happens.
I have tried adding the script to the website (www.dropout.tv), to the iframe (embed.vhx.tv with @allFrames), using the player API or vanilla JavaScript, directly in the userscript or by appending a <script> element.
The furthest I got was running the focus() method of the iframe so I can press "f" without having to click on the player first. -
I give up! I tried everything I could think of to put the embedded (in an #iframe) #vhx / #VimeoOTT video player in #fullscreen #programatically (without a click or keypress) in a #userscript via #FireMonkey and either the script is blocked by #CORS or the fullscreen request fails or nothing happens.
I have tried adding the script to the website (www.dropout.tv), to the iframe (embed.vhx.tv with @allFrames), using the player API or vanilla JavaScript, directly in the userscript or by appending a <script> element.
The furthest I got was running the focus() method of the iframe so I can press "f" without having to click on the player first. -
I give up! I tried everything I could think of to put the embedded (in an #iframe) #vhx / #VimeoOTT video player in #fullscreen #programatically (without a click or keypress) in a #userscript via #FireMonkey and either the script is blocked by #CORS or the fullscreen request fails or nothing happens.
I have tried adding the script to the website (www.dropout.tv), to the iframe (embed.vhx.tv with @allFrames), using the player API or vanilla JavaScript, directly in the userscript or by appending a <script> element.
The furthest I got was running the focus() method of the iframe so I can press "f" without having to click on the player first. -
I give up! I tried everything I could think of to put the embedded (in an #iframe) #vhx / #VimeoOTT video player in #fullscreen #programatically (without a click or keypress) in a #userscript via #FireMonkey and either the script is blocked by #CORS or the fullscreen request fails or nothing happens.
I have tried adding the script to the website (www.dropout.tv), to the iframe (embed.vhx.tv with @allFrames), using the player API or vanilla JavaScript, directly in the userscript or by appending a <script> element.
The furthest I got was running the focus() method of the iframe so I can press "f" without having to click on the player first. -
I don't know if that's due to #FireMonkey or #Firefox's underlying #UserscriptsAPI but it seems like a #userscript will be prevented from accessing the content of an #iframe by the third party domain #CSP even though a script element added to the page DOM by the same userscript can access that very same iframe content. 😕
-
Oeps, ik ben erachter gekomen dat #nextcloud met #vue is geschreven. En dan voldoet het simpel zetten van de .value property niet om een invoerveld een waarde te geven.
Ik heb nu wat extra statements toe gevoegd in het #userscript: https://github.com/technetium/user-scripts/blob/master/nextCloudCalendar.user.js nu werkt het zoals ik wil
-
Omdat ik toch op de een of andere manier moet aangeven wat mijn #NextCloud server is en ik dacht dat ik dat wel met een #GreaseMonkey script zou kunnen regelen.
Heb ik dit maar helemaal geregeld in een #UserScript : https://github.com/technetium/user-scripts/blob/master/nextCloudCalendar.user.js (1/2)
#DeGoogle -
MALSync / #MALSync : Integrates #MyAnimeList / #AniList / #Kitsu / #Simkl into various sites, with auto episode tracking.
MAL-Sync is a powerful #extension and #userscript, which enables automatic episode tracking between MyAnimeList/Anilist/Kitsu/Simkl and multiple anime streaming websites.Makes it possible to use your MyAnimeList/Anilist/Kitsu/Simkl anime/mangalist as a centralized bookmarks system for all supported pages.
-
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-100Cursortasten links / rechts: 10 Sekunden zurück und vorspringen.
p - play oder pause
f - full screen#ZDFMediathek #Streaming #Fernsehen #Tampermonkey #Firefox #LibreWolf
-
For anyone who has experience with #Userscript 's :
is there a proper way to store secrets? Like If you hade a userscript that had to interact with a certain api, you'd probably not want to store that API key in the JS itself. But are secrets manager in #ViolentMonkey and such? -
📢 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
-
GitHub - violentmonkey/violentmonkey: Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support. https://github.com/violentmonkey/violentmonkey #greasemonkey #OpenSource #userscript #Firefox #browser #GitHub #chrome #plugin #script #addon #edge
-
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!!! 🤬🤬🤬
#FckSAP #Greasemonkey #Tampermonkey #Violentmonkey #WebDevelopment
-
A quality of life improvement I have been enjoying since #AI got better at writing #Code : Making a number of nifty #userscript to be used with the #violentmonkey extension to improve the experience on certain websites.
These scripts can themselves call a free #llm (via #openrouter).
Fascinating dynamic this is though: I as an expert, am willing to trust AI that I control, rather than other expert humans because of the harms they can cause because of #anonymity.
-
Ecco stavolta un vero #progetto secondario, iniziato stamattina e finito minuti fa: una paginetta sul mio #sito che elenca i miei #userscript. Infatti boh, avendone già creati ben 2 diversi nel giro di qualche giorno, e chissà se e quando ne farò uscire degli altri, è buona cosa non lasciarli sparsi per l’Internet, ma tenerli con lo stesso principio di #organizzazione che uso per le mie piccole webapp, e a cui posso puntare chiunque. https://hub.octt.eu.org/Userscripts/ 🫣
In realtà la #pagina per ora usa semplicemente #JavaScript per pescare i dati da siti esterni (tra cui #GreasyFork), che non sono direttamente hostati da me, infatti dovrò poi valutare le opzioni possibili per preservarli ma senza impazzire… pare che su questi siti di raccolta di #script si possano settare webhook per aggiornare quantomeno il codice tramite Git (peccato non il README), quella sarebbe una #soluzione.https://octospacc.altervista.org/2024/03/15/paginetta-userscritti/
#GreasyFork #JavaScript #organizzazione #pagina #progetto #script #sito #soluzione #userscript
-
### MALSync / #MALSync: Integrates #MyAnimeList / #AniList / #Kitsu / #Simkl into various sites, with auto episode tracking.
> MAL-Sync is a powerful #extension and #userscript, which enables automatic episode tracking between MyAnimeList/Anilist/Kitsu/Simkl and multiple anime streaming websites.
>
> Makes it possible to use your MyAnimeList/Anilist/Kitsu/Simkl anime/mangalist as a centralized bookmarks system for all supported pages. -
[⤴️ https://octospacc.altervista.org/2024/02/01/emmebi-telegrammico/]
L’ultimissimo miglioramento che ho in ogni caso poi fatto ad #MBViewer è stato l’aggiunta di una funzione per importare codice #CSS e #JavaScript, per modificare come i post possono essere visualizzati. Entrambi funzionano allo stesso modo, con i relativi parametri URL che accettano sia #URL esterni che data URI. Niente di particolare per gli stili, semplicemente importo nella pagina la qualunque cosa venga data lì, ma per gli #userscripts è stato leggermente più #complicato. 😕️
Il punto sta nel voler evitare che #script essenzialmente non affidabili siano iniettati nel contesto della pagina semplicemente da URL, perché potrebbero fare tante cosine cattive; prima fra tutte, rubare #dati dall’archiviazione del #browser del mio dominio, cosa che è un #problema, perché gli utenti inesperti che aprono la app da #link non andranno a cercare di investigare cosa accade dietro le quinte (e, molto probabilmente, non lo farei realisticamente nemmeno io, seguendo la logica del “i miei siti sono miei e li conosco, sui siti altrui ho le protezioni del browser attive“). E quindi inizio a scendere in un rabbithole… ☠️
- #Iframe? Hmm… non so, non è il caso, sarebbero insicuri, ci sono alcuni modi in cui una pagina in frame può fare robe fastidiose. Non può essere assolutamente un’idea, proprio mai (foreshadowing). 🪟️
- Trovo un bel po’ di #librerie vecchie che ricompilano codice #JS per rimuovere pericoli, o lo analizzano preventivamente per la presenza di operazioni dannose così che possa non essere mai eseguito… praticamente tutte abbandonate, qualcuna esplicitamente dichiarata insicura e non patchata, e per qualcun’altra lo possiamo dare per scontato. 🐛️
- Forse questa libreria più recente, jailed, che sfrutta un iframe assieme ad un Web Worker per creare una sandbox forte e bloccare tutte le #API eccetto alcune che si decidono… No, l’ho provata e non va bene, non si riescono a passare alla sandbox oggetti complessi, tra cui i costruttori, è impossibile far funzionare API tipo quella del DOM. 🚧️
- Sarebbe stata un’idea usare qualche reimplementazione del #DOM per NodeJS tramite browserify, tipo Cheerio, ma farla anche solo girare lì dentro è un altro casino allucinante. 🥴️
- WASM tecnicamente è una #sandbox a sua volta, e non accede alle API del browser se non con codice colla, quindi magari… teoricamente ok, ma nella pratica non ho trovato nessuna soluzione già bella e pronta che potessi usare per questo specifico scopo. 🕳️
- La pazzia: PyScript… sarebbe quasi già pronto, ma avrei dovuto comunque modificarlo per bloccare tutte le API insicure (rimuovere #codice), e poi richiede 15+ MB di dipendenze di runtime… non ideale. 🗿️
Alla fine ci ho pensato meglio, e sono arrivata alla conclusione che è abbastanza sicuro far girare gli script in un iframe con proprietà
Ecco un esempio di tutto, alla fine: questo URL carica il mio MicroBlog, importa un foglio di #stile che mette questo font buffo, e uno script che colora le parole dei #messaggi in base a come si ripetono man mano (inutile, ma serve giusto per dare idea delle potenzialità)…src="data:[...]"esandbox="allow-scripts"(che significa, “blocca tutte le proprietà sensibili eccetto gli script”)… voglio dire, nel visualizzare il contenuto dei siti, già permetto eventuali iframe provenienti dai post, e quelli teoricamente possono già fare quello che vogliono eccetto accedere ai dati della finestra root. Nella pratica, i programmini degli utenti quindi hanno accesso a (quasi) l’intera API JavaScript senza poter fare cose bruttissime. 🎉️https://hub.octt.eu.org/MBViewer/#/siteUrl=https://octospacc.altervista.org|platform=wordpress.org|includeStyle=[...]|includeScript=[...](il link con tutta quella roba messa inline è una stringa di quasi 1 KB!). Userò tutta la cosa per rendere gli hashtag nel testo meno intrusivi per il mio sito anche lì, oltre che sul dominio originale. 👋️Finisco con dati ancora più tecnici, per chi non ha una vita: con questo #design, ogni #userscript deve provvedere ad esporre una funzione che, tramite la Channel Messaging API, viene richiamata dalla #app per ogni messaggio appena questo viene aggiunto al documento visibile; questa funzione riceve dati utili (per ora, solo l’HTML del contenuto; oltre a dati come l’id del messaggio nel flusso, che non sono granché utili all’utente ma devono essere restituiti alla app) e può rimandare nuovi dati indietro richiamando una funzione che è invece l’applicazione ad esporre allo script. Tutto questo ambaradan permetterebbe agli script di effettuare anche operazioni asincrone, comunque, non per forza di dover agire immediatamente alla chiamata. 🤓️
https://octospacc.altervista.org/2024/02/01/emmebi-javascriptico/
#API #app #browser #codice #complicato #CSS #dati #design #DOM #JavaScript #JS #librerie #link #MBViewer #messaggi #problema #sandbox #script #stile #URL #userscript #userscripts
-
J'ai écrit un #userscript et l'ai publié sur #GreasyFork (sous licence AGPLv3+) pour que vous puissiez l'installer simplement en utilisant une des extensions disponibles pour votre navigateur web, comme #Greasemonkey, #Tampermonkey, #Violentmonkey ou #Usescripts.
Il place les langues de votre choix en première dans le menu de l'éditeur de #Mastodon dans l'ordre que vous voulez, retire toutes les autres langues, ou les deux.
https://greasyfork.org/fr/scripts/454602-improve-language-selection-in-mastodon-editor
-
Nytt anti-blink-script, denne gangen for Nettavisen. Om du har Greasemonkey installert kan du installere direkte ved å klikke på plain lenken over koden.
#norsk #norge #nettavisen #antiblink #userscript -
Did some more #coding on my #Oglaf #userScript, since I wanted to add a sort of #KioskMode as well, that showed just the current image as well as the image alt/title.
Ended up adding the page title as well to the list of image descriptions, and a history of the last 2 comic's descriptions, as I noticed I sometimes didn't realise I forgot to actually read them till I was one or two comics further along.
Should perhaps add a thumbnail next to each of them too.
Cw image: (body) horror, cursed