From 28ae7dd791c92ca6b657e160f56904762f90fa34 Mon Sep 17 00:00:00 2001 From: name Date: Sat, 30 Sep 2023 13:37:56 +0000 Subject: enhance security by blocking Wolfram's tracker --- docusaurus/static/js/3.0.0/wal.js | 0 rust/wolfree_sed_in_place/src/main.rs | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 docusaurus/static/js/3.0.0/wal.js diff --git a/docusaurus/static/js/3.0.0/wal.js b/docusaurus/static/js/3.0.0/wal.js new file mode 100644 index 0000000..e69de29 diff --git a/rust/wolfree_sed_in_place/src/main.rs b/rust/wolfree_sed_in_place/src/main.rs index f20393f..4f16a42 100644 --- a/rust/wolfree_sed_in_place/src/main.rs +++ b/rust/wolfree_sed_in_place/src/main.rs @@ -63,6 +63,10 @@ fn main() -> Result<(), Box> { "'www.wolframalpha.com'" )?; + // block Wolfram trackers + // https://wal.wolfram.com/js/3.0.0/wal.js + sed("./docusaurus/static/input/", "wal.wolfram.com", "data:,//")?; + Ok(()) } -- cgit v1.2.3