Add stackexchange filters and generator script
This commit is contained in:
parent
c96d03e73a
commit
5e62d9beae
2 changed files with 129 additions and 0 deletions
33
stackexchange/generator.sh
Executable file
33
stackexchange/generator.sh
Executable file
|
@ -0,0 +1,33 @@
|
|||
#!/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"
|
||||
"##.comments"
|
||||
"##.comments-link"
|
||||
"###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