Add generator script
This commit is contained in:
parent
f5df5d68f3
commit
65fc8e14c5
1 changed files with 34 additions and 0 deletions
34
generator.sh
Executable file
34
generator.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue