Skip to content

Instantly share code, notes, and snippets.

@kowith337
Last active September 30, 2016 11:11
Show Gist options
  • Save kowith337/54c072b3dbb66862ee5ac1110e7e402a to your computer and use it in GitHub Desktop.
Save kowith337/54c072b3dbb66862ee5ac1110e7e402a to your computer and use it in GitHub Desktop.
Lubricant of Gel
[Adblock Plus 2.0]
[uBlock Origin 1.2.0]
! Title: Lubricant of Gel (Gist)
! Version: 201609301811
! Author: kowith337
! Expires: 1 day
! 1. This rules will not automatically updated.
! 2. This rules not completely to hide ads and collapse space, but it still remove ads and unwanted resources.
! (e.g. subdocuments and other scripts file that use to load ads from ExoClick)
! 3. They will frequently update their sites to keep ads appear.
! 4. for uB0 1.2.0 + Firefox 42 (and/or both newer) inline-script support can able to collaps space that caused
! from immune ads (from document, use noscript)
! Block external hyperlinks, include CCBill ads and Patreon.
gelbooru.com##a.ext
gelbooru.com##a#ext
gelbooru.com##a[href*="patreon"]
! Block ExoClick iFrame (Not sure is it still exist?)
gelbooru.com##iframe[src*="exoclick"]
! Block NoScript (They use this function to stil serve ads, if you refuse to load JavaScript.)
gelbooru.com##noscript
! Block Announcement (Now they use to promote patreon, mostly about advertisement removal campaign, nor for server status)
gelbooru.com##.noticeError
! Third party their use to serve ads and track users.
! Note: If you want to allow Twitter, you can disable it. (Only ABP)
||4uvjosuc.com$domain=gelbooru.com
||ccbill.com$domain=gelbooru.com
||exoclick.com$domain=gelbooru.com
||google-analytics.com$domain=gelbooru.com
||twitter.com$domain=gelbooru.com
! Block Every resources (See Unbreak for exception)
||gelbooru.com$media,script,subdocument
! Unbreak (e.g. Legit WebM Posts, Translation Notes)
@@||gelbooru.com/images$media
@@||gelbooru.com/script/application.js$script
! Only uBlock0 1.2.0 + Firefox 42+ (Fennec F-Droid also work, Not sure for IceCat and Pale Moon because it based on ESR build)
! I can confirmed these inline script filter rules below can collaps space that caused from every immoral ads, for now.
gelbooru.com##script:contains(exoclick)
gelbooru.com##script:contains(ExoLoader)
gelbooru.com##script:contains(GoogleAnalyticsObject)
gelbooru.com##script:contains(trw_domain)
gelbooru.com##script:contains(ad_idzone)
gelbooru.com##script:contains(adnOpt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment