Add channels and sites
This commit is contained in:
parent
5db068133a
commit
4590c736c7
24
build.sh
Executable file
24
build.sh
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
truncate -s 0 build/YT-LIST
|
||||||
|
|
||||||
|
while read -r channel; do
|
||||||
|
cat <<-EOF >> build/YT-LIST
|
||||||
|
# Blocking youtube channel: ${channel}
|
||||||
|
www.youtube.com##a[href*="/${channel}"]:upward(5)
|
||||||
|
www.youtube.com##.yt-formatted-string.style-scope.yt-simple-endpoint[href="/${channel}"]:upward(8)
|
||||||
|
|
||||||
|
EOF
|
||||||
|
done < yt-channels
|
||||||
|
|
||||||
|
truncate -s 0 build/SITES-LIST
|
||||||
|
|
||||||
|
while read -r hostname; do
|
||||||
|
cat <<-EOF >> build/SITES-LIST
|
||||||
|
# Blocking site ${hostname} from google search
|
||||||
|
www.google.*##.g:has(a[href*="${hostname}"])
|
||||||
|
www.google.*##a[href*="${hostname}"]:upward(1)
|
||||||
|
|
||||||
|
EOF
|
||||||
|
done < sites
|
4
build/SITES-LIST
Normal file
4
build/SITES-LIST
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Blocking site itslinuxfoss.com from google search
|
||||||
|
www.google.*##.g:has(a[href*="itslinuxfoss.com"])
|
||||||
|
www.google.*##a[href*="itslinuxfoss.com"]:upward(1)
|
||||||
|
|
24
build/YT-LIST
Normal file
24
build/YT-LIST
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Blocking youtube channel: @F1vision
|
||||||
|
www.youtube.com##a[href*="/@F1vision"]:upward(5)
|
||||||
|
www.youtube.com##.yt-formatted-string.style-scope.yt-simple-endpoint[href="/@F1vision"]:upward(8)
|
||||||
|
|
||||||
|
# Blocking youtube channel: @SunnyV2
|
||||||
|
www.youtube.com##a[href*="/@SunnyV2"]:upward(5)
|
||||||
|
www.youtube.com##.yt-formatted-string.style-scope.yt-simple-endpoint[href="/@SunnyV2"]:upward(8)
|
||||||
|
|
||||||
|
# Blocking youtube channel: @coreygiant
|
||||||
|
www.youtube.com##a[href*="/@coreygiant"]:upward(5)
|
||||||
|
www.youtube.com##.yt-formatted-string.style-scope.yt-simple-endpoint[href="/@coreygiant"]:upward(8)
|
||||||
|
|
||||||
|
# Blocking youtube channel: @XList
|
||||||
|
www.youtube.com##a[href*="/@XList"]:upward(5)
|
||||||
|
www.youtube.com##.yt-formatted-string.style-scope.yt-simple-endpoint[href="/@XList"]:upward(8)
|
||||||
|
|
||||||
|
# Blocking youtube channel: @BanijayDocumentaries
|
||||||
|
www.youtube.com##a[href*="/@BanijayDocumentaries"]:upward(5)
|
||||||
|
www.youtube.com##.yt-formatted-string.style-scope.yt-simple-endpoint[href="/@BanijayDocumentaries"]:upward(8)
|
||||||
|
|
||||||
|
# Blocking youtube channel: @thefilmy2986
|
||||||
|
www.youtube.com##a[href*="/@thefilmy2986"]:upward(5)
|
||||||
|
www.youtube.com##.yt-formatted-string.style-scope.yt-simple-endpoint[href="/@thefilmy2986"]:upward(8)
|
||||||
|
|
6
yt-channels
Normal file
6
yt-channels
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
@F1vision
|
||||||
|
@SunnyV2
|
||||||
|
@coreygiant
|
||||||
|
@XList
|
||||||
|
@BanijayDocumentaries
|
||||||
|
@thefilmy2986
|
Loading…
Reference in New Issue
Block a user