fix the remaining simplex chat invite links to the webpage that lists them

This commit is contained in:
nihilist 2025-03-31 21:25:08 +02:00
parent 8fbd7ee702
commit 476b853168
12 changed files with 12 additions and 784 deletions

6
sed.sh
View file

@ -8,5 +8,9 @@
#sudo sed -i 's/<li><a\ href="https:\/\/blog.nowhere.moe\/donate.html">Donate<\/a><\/li>//gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html
sudo sed -i 's/<a target="_blank" rel="noopener noreferrer" href="https:\/\/simplex.chat\/.*">SimpleX Chat<\/a>/<a target="_blank" rel="noopener noreferrer" href="http:\/\/nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion\/simplex.html">SimpleX Chatrooms<\/a>/gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html
#sudo sed -i 's/<a target="_blank" rel="noopener noreferrer" href="https:\/\/simplex.chat\/.*">SimpleX Chat<\/a>/<a target="_blank" rel="noopener noreferrer" href="http:\/\/nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion\/simplex.html">SimpleX Chatrooms<\/a>/gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html
#grep -ri 'https:\/\/simplex.chat\/contact#.*%22%3A%22G3yklv9753AcNA7lGV3FBw%3D%3D%22%7'
sudo sed -i 's/https:\/\/simplex.chat\/contact#.*%22%3A%22G3yklv9753AcNA7lGV3FBw%3D%3D%22%7D/http:\/\/nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion\/simplex.html/gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html