Add simple script to remove custom CSS from Mastodon instance travelpandas.fr (can be adapted)
parent
9a1e7d1805
commit
ebebc36632
|
@ -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()
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
})()
|
Loading…
Reference in New Issue