Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@JohnDDuncanIII
Last active May 4, 2021 00:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnDDuncanIII/094fa83c87f5a836cc1255c4b08be33b to your computer and use it in GitHub Desktop.
Save JohnDDuncanIII/094fa83c87f5a836cc1255c4b08be33b to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<iframe src="data:text/html,
<!DOCTYPE html>
<script>
const d = new Date();
const year = d.getFullYear();
const month = `${d.getMonth() + 1}`.padStart(2, '0');
const day = `${d.getDate()}`.padStart(2, '0');
location.href=`https://www.washingtonpost.com/wp-stat/tablet/v1.1/${year}${month}${day}/A01_SU_EZ_DAILY_${year}${month}${day}.pdf`;
</script>
" height="3000px" width="100%"></iframe>
<iframe src="data:text/html,
<!DOCTYPE html>
<script>
const d = new Date();
const year = d.getFullYear();
const month = `${d.getMonth() + 1}`.padStart(2, '0');
const day = `${d.getDate()}`.padStart(2, '0');
location.href=`https://static01.nyt.com/images/${year}/${month}/${day}/nytfrontpage/INYT_frontpage_global.${year}${month}${day}.pdf`;
// location.href=`https://static01.nyt.com/images/${year}/${month}/${day}/nytfrontpage/scan.pdf`;
</script>
" height="3000px" width="100%"></iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment