Add simple script to remove custom CSS from Mastodon instance travelpandas.fr (can be adapted)

monster
clov 2022-11-12 14:25:24 +01:00
parent 9a1e7d1805
commit ebebc36632
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
// ==UserScript==
// @name Remove Travelpandas custom CSS
// @version 1.0.0
// @match https://travelpandas.fr/*
// @run-at document-end
// ==/UserScript==
(function () {
if (document.querySelector('#mastodon')) {
document.querySelector('link[href="https://travelpandas.fr/custom.css"]')?.remove()
}
})()