Skip to content
This repository was archived by the owner on Sep 19, 2020. It is now read-only.

Examples of useful rulesets

いっぺん、死んでみる edited this page Dec 10, 2017 · 16 revisions

Assuming that you start with out of the box ruleset.

To copy a specific ruleset below into your own ruleset, go to "My rules" in the dashboard. When you click Edit, you will be able to freely edit your rules, so from there it is just a matter of copying any specific ruleset below and pasting at the end of your list of rules, then click Save.

facebook.* ONLY on Facebook, blocked everywhere else

* facebook.com * block
* facebook.net * block
facebook.com facebook.com * allow
facebook.com fbstatic-a.akamaihd.net * allow

Probably needs more rules, but I don't have a Facebook account, can't tell. But for those without a Facebook account, this worked good enough to browse Facebook pages.

github.com

github.com ghconduit.com xhr allow
github.com githubapp.com * allow
github.com raw.githubusercontent.com * allow
github.com render.githubusercontent.com * allow
github.com render.githubusercontent.com frame allow
github.com s3.amazonaws.com other allow
github.com s3.amazonaws.com xhr allow

skyscraperlive.com

skyscraperlive.com brightcove.com plugin allow
skyscraperlive.com brightcove.com script allow
skyscraperlive.com c.brightcove.com plugin allow
skyscraperlive.com connect.facebook.net script allow
skyscraperlive.com discintlhdflash-f.akamaihd.net plugin allow
skyscraperlive.com platform.twitter.com script allow
skyscraperlive.com ustream.tv plugin allow
skyscraperlive.com ustream.tv script allow
skyscraperlive.com www.ustream.tv frame allow

stackoveflow.com

stackoverflow.com ajax.googleapis.com script allow
stackoverflow.com sstatic.net image allow
stackoverflow.com sstatic.net script allow

twitch.tv

twitch.tv api.swiftype.com script allow
twitch.tv web-cdn.ttvnw.net script allow
twitch.tv jtvnw.net plugin allow
twitch.tv jtvnw.net script allow

youtube.com

This worked for me:

youtube.com apis.google.com * allow
youtube.com apis.google.com frame allow
youtube.com googlevideo.com * allow
youtube.com plus.google.com * allow
youtube.com plus.google.com frame allow
youtube.com plus.googleapis.com * allow
youtube.com plus.googleapis.com frame allow
youtube.com ytimg.com * allow

Even if you blocked all things Google in the global scope, Youtube will work just fine with these rules.

youtube-nocookie.com

This one is useful when you click on a blocked Youtube embedded in a frame on a 3rd-party page (click the label). It worked for me.

youtube-nocookie.com googlevideo.com xhr allow
youtube-nocookie.com ytimg.com * allow

Third-party rules:

Clone this wiki locally