Skip to content

Instantly share code, notes, and snippets.

@Craftplacer
Last active April 27, 2024 07:18
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Craftplacer/04089c2c666c89e10818124c92d9c65b to your computer and use it in GitHub Desktop.
Save Craftplacer/04089c2c666c89e10818124c92d9c65b to your computer and use it in GitHub Desktop.
Filter for uBlock Origin that removes most of Fandom's elements from a wiki.

FuckFandom

Filter for uBlock Origin that removes most of Fandom's elements from a wiki.

How to import

  1. Open uBlock Origin's menu
  2. Click the cog ("Open the dashboard")
  3. Go to "Filter lists"
  4. Scroll down to "Custom" and check import
  5. Paste this Gist's raw URL:
https://gist.githubusercontent.com/Craftplacer/04089c2c666c89e10818124c92d9c65b/raw/FuckFandom.txt
![Adblock Plus 2.0]
! Title: FuckFandom
! Expires: 30 days (update frequency)
! Homepage: https://gist.github.com/Craftplacer/04089c2c666c89e10818124c92d9c65b
fandom.com##.mcf-wrapper
fandom.com##.wds-global-footer
fandom.com##.global-navigation
fandom.com##.top-ads-container
! fix hardcoded layout
fandom.com##.main-container:style(width: 100% !important; margin-left: 0 !important)
fandom.com##.fandom-sticky-header:style(left:0 !important)
fandom.com##.search-modal:style(left:0 !important)
! remove related communities from search
fandom.com##.unified-search__layout__right-rail
fandom.com##.unified-search__layout:style(grid-template-areas: "left left main main main main main main main main main main" !important)
! remove right page rail, "popular pages"
fandom.com##.page__right-rail
! remove bottom social media bar
fandom.com###WikiaBar
! remove footer
fandom.com##.global-footer
! remove popup when highlighting
fandom.com##.highlight__action-wrapper
! remove sticky header
fandom.com##.fandom-sticky-header
fandom.com###highlight__main-container
! Remove "More Fandoms" footer
fandom.com###mw-data-after-content
! Remove Side Tools
fandom.com##.page-side-tools
Copy link

ghost commented Jan 9, 2024

!  remove bottom social media bar
fandom.com###WikiaBar

image

@Craftplacer
Copy link
Author

!  remove bottom social media bar
fandom.com###WikiaBar

image

Added

@nukeop
Copy link

nukeop commented Jan 30, 2024

fandom.com##.highlight__action-wrapper

Removes the crap that pops up whenever you higlight something.

@nukeop
Copy link

nukeop commented Jan 30, 2024

fandom.com##.fandom-sticky-header

Removes the obnoxious sticky header.

@CatarinaPBressan
Copy link

fandom.com###highlight__main-container

Removes the leftover caret of the highlight popup

@VictoriaSilver
Copy link

! Remove "More Fandoms" footer
fandom.com###mw-data-after-content

msedge_2024-04-08-210129459-Chirasu__Forgotten_Realms_Wiki__Fandom_and_6_more_pages_-Personal-_Mic

! Remove Side Tools
fandom.com##.page-side-tools

msedge_2024-04-08-205945393-Chirasu__Forgotten_Realms_Wiki__Fandom_and_6_more_pages_-Personal-_Mic
My more opinionated filters;

! Disable background image
fandom.com##.fandom-community-header__background

! Content fills width
fandom.com##.main-container:style(margin-left:0 !important; width: 100% !important;)
fandom.com##.resizable-container:style(max-width: none !important; width: calc(100% - 66px) !important;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment