logoalt Hacker News

1vuio0pswjnm7today at 2:57 AM0 repliesview on HN

Alternative to archive.ph and "unlocked article" tracking code

Works where archive.ph is blocked

Text-only

   view-source:https://www.nytimes.com/2026/05/19/business/google-seach-bar-ai-gemini.html
   Save as 1.htm
Something like

   egrep -o "(\"text\":\"[^\"]+)|(\"textAlign\":\"LEFT\")|(\"url\":\"[^\"]+)|(\"__typename\":\"TextInline\")" 1.htm \
   |sed '/\"url\":\"/{s/??.*//;s/$/\">/;s/.\{7\}/<a href=\"/;};
         /\"__typename\":\"TextInline\"/{s/\"$/<\/a>/;s/.\{24\}//;};
         s/\"textAlign\":\"LEFT\"/<p>/g;/\"text\":\"/s/.\{8\}//' \
   |sed '1s/^/<meta charset=utf-8><meta name=viewport content=width=device-width>/' > 2.htm
   rm 1.htm
   firefox ./2.htm
NB. Javascript and CSS interpreters are needed only for Datadome CAPTCHA. The following DNS data is required

   ct.captcha-delivery.com
   geo.captcha-delivery.com
   www.nytimes.com
   g1.nyt.com 
No other DNS data is required