Add generator script

This commit is contained in:
George Kaklamanos 2018-09-27 12:20:31 +03:00
parent f5df5d68f3
commit 65fc8e14c5

34
generator.sh Executable file
View file

@ -0,0 +1,34 @@
#!/bin/env sh
sites=(
"stackexchange.com"
"stackoverflow.com"
"superuser.com"
"askubuntu.com"
"mathoverflow.net"
"serverfault.com"
"stackapps.com"
)
rules=(
"###left-sidebar"
"###chat-feature"
"###announcement-banner"
"###hot-network-questions"
"##.new-post-login.form-item"
"###post-form"
"##.user-info"
"##.post-layout > div.post-layout--right:nth-of-type(3)"
"##.post-menu"
"###footer"
"###js-gdpr-consent-banner"
"##.js-dismissable-hero._fixed.hero-container.old-hero"
"##.bottom-notice"
"##.js-dismissable-hero.s-hero__dark.s-hero"
)
for site in "${sites[@]}";do
for rule in "${rules[@]}";do
echo "$site$rule"
done
done