NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name wikihow hide side panels
// @description Hide the featured and trending articles which distract me
// @version 2025-08-24
// @namespace aland
// @author aland
// @updateURL https://openuserjs.org/install/aland/wikihow_hide_side_panels.user.js
// @downloadURL https://openuserjs.org/install/aland/wikihow_hide_side_panels.user.js
// @include http*://www.wikihow.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=wikihow.com
// @grant none
// @license MIT
// ==/UserScript==
function toggle_visibility(element, id) {
if(id) {
let el = document.getElementById(element);
if (el) {
el.style.display = 'none';
}
}
else {
let elements = document.getElementsByClassName(element);
let n = elements.length;
if(n > 0) {
for (var i = 0; i < n; i++) {
elements[i].style.display = 'none';
}
}
}
}
toggle_visibility('sidebox-articles', false);
toggle_visibility('related_articles', false);
// extreme
//toggle_visibility('sidebar', true);