Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



Alas, that 12ft.io URL requires JS for redirection.

Also, FT requires cookies to be enabled in the browser to remove the FT cookie banner, but the user cannot disable cookies on ft.com without enabling cookies in the browser and letting ft.com set a cookie.

A solution for user who disable Javascript and cookies

   echo https://www.ft.com/content/328853e8-c493-4e87-b80f-cbc02be6510c \
   1.sh > 1.htm
   firefox ./1.htm
or

   list-of-ft-urls < 1.sh > 1.htm
   firefox ./1.htm
1.sh:

    #!/bin/sh

    sed -e '/www.ft.com\/content/s>.*>url=https://12ft.io/api/proxy?ref=\&q=&>' -e 's/:/%3A/2' -e:a -e 's>/>%2F>5;ta' \
    |curl -K /dev/stdin -H "accept-encoding: gzip" -o /dev/stdout \
    |gzip -dc \
    |sed 's/div data-o-component=.o-cookie-message/!--&/'




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: