Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

353
Visualizações
How can remove the right rail of the fandom

I'm trying to use Tampermonkey to remove the right rail of a page. Every page in the fandom.com wikis, contains a right rail, which is usually distracting me from focusing on the main content.

The element, according to DevTools looks like this:

<div class="page has-right-rail">
  <main class="page__main" lang="en"> *content* </main>
  <aside class="page__right-rail">*content to be removed*</aside>
</div>

I usually delete it manually (it's the <aside class="page__right-rail>...</aside>" element).

Here is an example page that has the thing. If possible, I'd like the script to work on *something.*fandom.com/wiki/*something*.

Here is the current version of my script:

// ==UserScript==
// @name         Remove Right Rail from Fandom
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        http://*.fandom.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    document.querySelector('aside.page__right-rail').remove();

})();
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda