File: offblocklist.py

package info (click to toggle)
offpunk 3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,040 kB
  • sloc: python: 6,437; sh: 117; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 991 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# The following are the default redirections from Offpunk
# Those are by default because they should make sens with offpunk

redirects = {
    "*reddit.com"  : "teddit.net",
    "*medium.com"  : "scribe.rip",
    }


#following are blocked URLs. Visiting them with offpunk doesn’t make sense.
#Blocking them will save a lot of bandwidth

blocked = {
    "twitter.com",
    "x.com",
#    "youtube.com",
#    "youtu.be",
    "facebook.com",
    "facebook.net",
    "fbcdn.net",
    "linkedin.com",
    "*licdn.com",
    "*admanager.google.com",
    "*google-health-ads.blogspot.com",
    "*firebase.google.com",
    "*google-webfonts-helper.herokuapp.com",
    "*tiktok.com"   ,
    "*doubleclick.net",
    "*google-analytics.com" ,
    "*ads.yahoo.com",
    "*advertising.amazon.com",
    "*advertising.theguardian.com",
    "*advertise.newrepublic.com",
}

## Whitelisted URL will always be displayed "fully". Readability will not be used

whitelisted = {
        "offpunk.net",
        }