From c027bc5edec6505da95490ab1acefe5cd6c35359 Mon Sep 17 00:00:00 2001 From: axtlos Date: Fri, 29 Dec 2023 23:17:21 +0100 Subject: Add anti chrome and brave detection --- generate.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'generate.sh') diff --git a/generate.sh b/generate.sh index a55f299..99944c4 100755 --- a/generate.sh +++ b/generate.sh @@ -3,6 +3,9 @@ set -e echo "Generate axtlos(7)" mandoc -T html -O style=./style.css axtlos.7 > axtlos.7.html +echo "Add anti Chrome and Brave JS" +sed 's||\n|g' axtlos.7.html > axtlos.7.html.tmp +mv axtlos.7.html.tmp axtlos.7.html echo "Add favicon" sed 's|media="all"/>|media="all"/>\n|' axtlos.7.html > axtlos.7.html.tmp mv axtlos.7.html.tmp axtlos.7.html @@ -23,6 +26,9 @@ echo "Succesfully generated axtlos(7)" echo "Generate specs(7)" mandoc -T html -O style=./style.css specs.7 > specs.7.html +echo "Add anti Chrome and Brave JS" +sed 's||\n|g' specs.7.html > specs.7.html.tmp +mv specs.7.html.tmp specs.7.html echo "Change header" sed 's|computers(7)|technological|g' specs.7.html > specs.7.html.tmp mv specs.7.html.tmp specs.7.html @@ -40,6 +46,9 @@ echo "Successfully generated specs(7)" echo "Generate shards(1)" mandoc -T html -O style=./style.css shards.1 > shards.1.html +echo "Add anti Chrome and Brave JS" +sed 's||\n|g' shards.1.html > shards.1.html.tmp +mv shards.1.html.tmp shards.1.html echo "Replace date with license" sed 's||c\ CC BY-SA 4.0|g' shards.1.html > shards.1.html.tmp mv shards.1.html.tmp shards.1.html @@ -52,6 +61,9 @@ echo "Succesfully generated shards(1)" echo "Generate crystal(1)" mandoc -T html -O style=./style.css crystal.1 > crystal.1.html +echo "Add anti Chrome and Brave JS" +sed 's||\n|g' crystal.1.html > crystal.1.html.tmp +mv crystal.1.html.tmp crystal.1.html echo "Change OS" sed 's|Linux 6.2.6-arch1-1|FreeBSD 13.1-RELEASE-p6|g' crystal.1.html > crystal.1.html.tmp mv crystal.1.html.tmp crystal.1.html @@ -65,6 +77,9 @@ echo "Succesfully generated crystal(1)" echo "Generate Linux Immutability Tools(7)" mandoc -T html -O style=./style.css lit.7 > lit.7.html +echo "Add anti Chrome and Brave JS" +sed 's||\n|g' lit.7.html > lit.7.html.tmp +mv lit.7.html.tmp lit.7.html echo "Replace dat with license" sed '//c\ CC BY-SA 4.0' lit.7.html > lit.7.html.tmp mv lit.7.html.tmp lit.7.html -- cgit v1.2.3