wikipedia: also hide inline banner
This commit is contained in:
parent
ed8cde4bfb
commit
fe7a72dff4
|
@ -4,9 +4,9 @@
|
||||||
// @description A script to remove the fundraising banner.
|
// @description A script to remove the fundraising banner.
|
||||||
// @match https://*.wikipedia.org/*
|
// @match https://*.wikipedia.org/*
|
||||||
// @icon https://en.wikipedia.org/static/favicon/wikipedia.ico
|
// @icon https://en.wikipedia.org/static/favicon/wikipedia.ico
|
||||||
// @version 2022.08.24.113914
|
// @version 2022.11.09.154900
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
const style = document.createElement('style');
|
const style = document.createElement('style');
|
||||||
style.textContent = '#frb-main { display: none !important; }';
|
style.textContent = '#frb-main, #frb-inline { display: none !important; }';
|
||||||
document.body.appendChild(style);
|
document.body.appendChild(style);
|
||||||
|
|
Loading…
Reference in New Issue